nginx1.0.15 stable, cut off a 16k js static file into 2.03k

Joshua Zhu zhuzhaoyuan at gmail.com
Wed Jun 6 05:04:55 UTC 2012


Hi,

On Wed, Jun 6, 2012 at 12:30 PM, chenmin7249 <nginx-forum at nginx.us> wrote:

> nginx version 1.0.15 stable
> im running into a problem the a 16k static file was cut off into a 2.03k
> incomplete file occasionally, 7 times of 10 will get the incomplete
> file.
> i use the nginx server for pure static file serving
>  sendfile on,
>  tcp_nopush on,
>  tcp_nodelay on,
>  keepalive timeout 0,
>  gzip off
>  open_file_cache on
> using epoll
> no other configurations, what could be the problem? client body size?
>

You could try turning off the 'open_file_cache' directive. The file size
info might not be updated if the file is in file cache then being changed.

Regards,

-- 
Joshua Zhu
Senior Software Engineer
Server Platforms Team at Taobao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120606/0a737baf/attachment.html>


More information about the nginx mailing list