sendfile bug

Igor Sysoev is at rambler-co.ru
Sun Oct 4 23:38:55 MSD 2009


On Sun, Oct 04, 2009 at 10:49:10AM -0400, HAZE wrote:

> We run a site that delivers large files and has many transfers going at the same time and we have noticed nginx slowing down and causing high iowait times. After running a strace we have seen this
> 
> stat("/var/www/slavefilestore/8f/1o3VKtKeim", 0x7fffda168490) = -1 ENOENT (No such file or directory)
> open("/var/www/slave/filestore/8f/1o3VKtKeim", O_RDONLY) = 79
> 
> as you can see the stat line is missing a slash.
> Could this be causing our problems ?

Could you show nginx configuraiton ?

> Here is the config
> 
> Debian Linux 5.0
> ntel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz
> 4 Gig Ram
> Files hosted on raid0 array with over 200 MB/s read
> 
> nginx 0.7.62 using sendfile to deliver content

The high iowait may be caused by many concurrent connections.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list