Nginx stops sending file after ~1.5mb ?

Resicow resicow at gmail.com
Wed Jan 21 03:18:18 MSK 2009


I have confirmed this below as well, and yes limiting rate to 
3.5Kbit/sec (so SLOW) does work.

I just want to mention, that for the past 9 months I too have received 
very *random* reports of clients having their files stop downloading 
after 1.5MB from my server.

My server is running on Fedora 9 with 64GB of ram (yes GB) and dual 
Intel 5430's, so I would also say that the issue is not a VPS issue.

Confirmed:

wget -S http://www.noal.org.il/static/temp/barvazi2.pdf
--2009-01-20 19:02:06--  http://www.noal.org.il/static/temp/barvazi2.pdf
Resolving www.noal.org.il... 195.28.180.147
Connecting to www.noal.org.il|195.28.180.147|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Server: nginx/0.7.30
  Date: Wed, 21 Jan 2009 00:01:31 GMT
  Content-Type: application/pdf
  Content-Length: 1950230
  Last-Modified: Thu, 15 Jan 2009 15:55:17 GMT
  Connection: keep-alive
  Expires: Wed, 21 Jan 2009 02:01:31 GMT
  Cache-Control: max-age=7200
  Accept-Ranges: bytes
Length: 1950230 (1.9M) [application/pdf]
Saving to: `barvazi2.pdf.1'

81% [================================================>            ] 
1,596,849   --.-K/s  eta 5s











Yo'av Moshe wrote:
> Igor, here's the new strace.
> http://pastebin.com/m5129c54b
>
> Does the fact it works in low download rates still makes you think 
> it's a kernel issue?
>
> Thank you, really!
> And thanks, Kiril and Jeff, for confirming that!
>
> Yo'av.
>
>
> On Tue, Jan 20, 2009 at 9:39 PM, Kiril Angov <kupokomapa at gmail.com 
> <mailto:kupokomapa at gmail.com>> wrote:
>
>     wget http://www.noal.org.il/static/temp/barvazi2.pdf
>     --2009-01-20 21:36:00--
>      http://www.noal.org.il/static/temp/barvazi2.pdf
>     Resolving www.noal.org.il... 195.28.180.147
>     Connecting to www.noal.org.il
>     <http://www.noal.org.il>|195.28.180.147|:80... connected.
>     HTTP request sent, awaiting response... 200 OK
>     Length: 1950230 (1.9M) [application/pdf]
>     Saving to: `barvazi2.pdf'
>
>     81% [=====================================>         ] 1,596,665
>     --.-K/s  eta 5s
>
>
>     wget -c http://www.noal.org.il/static/temp/barvazi2.pdf
>     --2009-01-20 21:38:28--
>     http://www.noal.org.il/static/temp/barvazi2.pdf
>     Resolving www.noal.org.il... 195.28.180.147
>     Connecting to www.noal.org.il
>     <http://www.noal.org.il>|195.28.180.147|:80... connected.
>     HTTP request sent, awaiting response... 206 Partial Content
>     Length: 1950230 (1.9M), 305960 (299K) remaining [application/pdf]
>     Saving to: `barvazi2.pdf'
>
>     100%[+++++++++++++++++++++++++++++++++++++++=======>] 1,950,230
>     295K/s   in 1.0s
>
>     2009-01-20 21:38:30 (295 KB/s) - `barvazi2.pdf' saved
>     [1950230/1950230]
>
>
>     On Tue, Jan 20, 2009 at 9:31 PM, jeff emminger
>     <jemminger at gmail.com <mailto:jemminger at gmail.com>> wrote:
>     >> Could anyone confirm that this works:
>     >> wget --limit-rate=3500
>     http://www.noal.org.il/static/temp/barvazi2.pdf
>     >> while this doesn't:
>     >> wget http://www.noal.org.il/static/temp/barvazi2.pdf
>     >>
>     >
>     > Confirmed
>     >
>     >
>
>
>
>
> -- 
> Yo'av Moshe






More information about the nginx mailing list