Welcome! Log In Create A New Profile


sendfile bug

October 04, 2009 10:49AM
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(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

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

sendfile bug

HAZE October 04, 2009 10:49AM

Re: sendfile bug

Igor Sysoev October 04, 2009 03:42PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready