Sendfile bug

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 ?

Here is the config

Debian Linux 5.0
ntel(R) Core™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

Edited 1 time(s). Last edit at 10/04/2009 02:05AM by HAZE.

Posted at Nginx Forum:

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® Core™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.