Nginx stops sending file after ~1.5mb ?

Just Marc marc at corky.net
Mon Jan 19 16:09:56 MSK 2009


strace your nginx instance and see what happens exactly when it stops


Yo'av Moshe wrote:
> It doesn't fail.
>
>         1904+1 records in
>         1904+1 records out
>         1950230 bytes (2.0 MB) copied, 0.0322329 seconds, 60.5 MB/s
>
> Also, I can fetch the file using SSH and it works fine, but not from 
> HTTP using nginx.
>
> Yo'av.
>
> On Mon, Jan 19, 2009 at 2:24 AM, Dave Cheney <dave at cheney.net 
> <mailto:dave at cheney.net>> wrote:
>
>
>     dd if=/path/to/broken/file of=/dev/null bs=1024
>
>     ^ if this fails, maybe there is some underlying filesystem corruption.
>
>     Cheers
>
>     Dave
>
>     On Mon, 19 Jan 2009 01:35:24 +0200, Yo'av Moshe <bjesus at gmail.com
>     <mailto:bjesus at gmail.com>> wrote:
>     > Hey,
>     > I talked with my VPS and they say the problem arise from my side.
>     > It seems that only *some* files cannot be downloaded.
>     >
>     > http://www.noal.org.il/static/temp/barvazi.pdf is a 6.3MB file,
>     and it
>     > downloads just fine.
>     > http://www.noal.org.il/static/temp/barvazi2.pdf is a 1.9MB file,
>     but it
>     > stops after 1.5MB.
>     > Both files are PDF files, and changing their names didn't change
>     anything.
>     >
>     > Any idea? Could it still be a VPS issue? It's seems so odd I'm
>     not sure
>     > what
>     > to check...
>     >
>     > Thanks a lot.
>     > Yo'av.
>     >
>     > On Mon, Jan 12, 2009 at 12:29 PM, Igor Sysoev <is at rambler-co.ru
>     <mailto:is at rambler-co.ru>> wrote:
>     >
>     >> On Sun, Jan 11, 2009 at 08:46:58PM +0200, Yo'av Moshe wrote:
>     >>
>     >> > Hey,
>     >> > Well, I am running CentOS 5.2 in a VPS.
>     >> >
>     >> > Is there anything I can do about it?
>     >>
>     >> It looks like VPS issue. In my test the file was being downloaded
>     >> on good speed and then has stopped:
>     >>
>     >> fetch
>     http://noal.org.il/static/uploads/u-20/%5B1231615256%5Dhozer.pdf
>     >> %5B1231615256%5Dhozer.pdf                      69% of 1904 kB
>      384 kBps
>     >>
>     >> > Thank you.
>     >> >
>     >> > On Sun, Jan 11, 2009 at 7:50 PM, Jure Pe??ar
>     <pegasus at nerv.eu.org <mailto:pegasus at nerv.eu.org>>
>     >> wrote:
>     >> >
>     >> > > On Sun, 11 Jan 2009 15:43:36 +0200
>     >> > > "Yo'av Moshe" <bjesus at gmail.com <mailto:bjesus at gmail.com>>
>     wrote:
>     >> > >
>     >> > > > Any idea would be kindly appreciated.
>     >> > >
>     >> > > What kind of OS environment are you using?
>     >> > > I've seen similiar happenings in VPSes where tcp send
>     buffers run
>     >> > > out.
>     >>
>     >>
>     >> --
>     >> Igor Sysoev
>     >> http://sysoev.ru/en/
>     >>
>     >>
>
>
>
>
> -- 
> Yo'av Moshe






More information about the nginx mailing list