alert: ... pread() read only

Francis Daly francis at
Tue Nov 19 09:37:20 UTC 2013

On Tue, Nov 19, 2013 at 09:19:19AM +0000, Francis Daly wrote:
> On Tue, Nov 19, 2013 at 09:39:44AM +0200, Nikolaos Milas wrote:

Hi there,

Oh, and following Maxim's mail...

> The errors will happen when a file size is changed in-place -- so "mv
> a.html b.html && echo new > a.html" should continue to serve the old
> content of a.html; but just "echo new > a.html" will show something odd
> if the old length of a.html was not exactly 4.

...for later requests, that started after the file was changed. For a
request ongoing while the file is changed, odd things can be shown even
if the file size stays the same.

Francis Daly        francis at

More information about the nginx mailing list