<div dir="ltr">Thanks.<br>I'm not an strace guru but I don't think it shows anything unusual... <br><br><a href="http://paste-it.net/public/mffe731/">http://paste-it.net/public/mffe731/</a><br><br>You can see download starts right at the beginning, and at 02:25:25 you can see the last sendfile64 event. After that, no data was sent and I couldn't find anything related to that in this strace log.<br>
<br>The only thing this strace log is telling me is that nginx knows that there is still more data to send, since it recognized the right size of the file in the beginning (line 13: sendfile64(22, 23, [0], <b>1950230)</b>), and it knows it has more to send by the last sendfile event (line 1173: sendfile64(22, 23, [1618265], <b>331965</b>)).<br>
<br>What stops the sending?<br><br>Thanks again.<br>Yo'av.<br><br><div class="gmail_quote">On Mon, Jan 19, 2009 at 3:09 PM, Just Marc <span dir="ltr"><<a href="mailto:marc@corky.net">marc@corky.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">strace your nginx instance and see what happens exactly when it stops<br>
<br>
<br>
Yo'av Moshe wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
It doesn't fail.<br>
<br>
1904+1 records in<br>
1904+1 records out<br>
1950230 bytes (2.0 MB) copied, 0.0322329 seconds, 60.5 MB/s<br>
<br>
Also, I can fetch the file using SSH and it works fine, but not from HTTP using nginx.<br>
<br>
Yo'av.<br>
<br></div><div class="Ih2E3d">
On Mon, Jan 19, 2009 at 2:24 AM, Dave Cheney <<a href="mailto:dave@cheney.net" target="_blank">dave@cheney.net</a> <mailto:<a href="mailto:dave@cheney.net" target="_blank">dave@cheney.net</a>>> wrote:<br>
<br>
<br>
dd if=/path/to/broken/file of=/dev/null bs=1024<br>
<br>
^ if this fails, maybe there is some underlying filesystem corruption.<br>
<br>
Cheers<br>
<br>
Dave<br>
<br>
On Mon, 19 Jan 2009 01:35:24 +0200, Yo'av Moshe <<a href="mailto:bjesus@gmail.com" target="_blank">bjesus@gmail.com</a><br></div><div class="Ih2E3d">
<mailto:<a href="mailto:bjesus@gmail.com" target="_blank">bjesus@gmail.com</a>>> wrote:<br>
> Hey,<br>
> I talked with my VPS and they say the problem arise from my side.<br>
> It seems that only *some* files cannot be downloaded.<br>
><br>
> <a href="http://www.noal.org.il/static/temp/barvazi.pdf" target="_blank">http://www.noal.org.il/static/temp/barvazi.pdf</a> is a 6.3MB file,<br>
and it<br>
> downloads just fine.<br>
> <a href="http://www.noal.org.il/static/temp/barvazi2.pdf" target="_blank">http://www.noal.org.il/static/temp/barvazi2.pdf</a> is a 1.9MB file,<br>
but it<br>
> stops after 1.5MB.<br>
> Both files are PDF files, and changing their names didn't change<br>
anything.<br>
><br>
> Any idea? Could it still be a VPS issue? It's seems so odd I'm<br>
not sure<br>
> what<br>
> to check...<br>
><br>
> Thanks a lot.<br>
> Yo'av.<br>
><br>
> On Mon, Jan 12, 2009 at 12:29 PM, Igor Sysoev <<a href="mailto:is@rambler-co.ru" target="_blank">is@rambler-co.ru</a><br></div><div class="Ih2E3d">
<mailto:<a href="mailto:is@rambler-co.ru" target="_blank">is@rambler-co.ru</a>>> wrote:<br>
><br>
>> On Sun, Jan 11, 2009 at 08:46:58PM +0200, Yo'av Moshe wrote:<br>
>><br>
>> > Hey,<br>
>> > Well, I am running CentOS 5.2 in a VPS.<br>
>> ><br>
>> > Is there anything I can do about it?<br>
>><br>
>> It looks like VPS issue. In my test the file was being downloaded<br>
>> on good speed and then has stopped:<br>
>><br>
>> fetch<br>
<a href="http://noal.org.il/static/uploads/u-20/%5B1231615256%5Dhozer.pdf" target="_blank">http://noal.org.il/static/uploads/u-20/%5B1231615256%5Dhozer.pdf</a><br>
>> %5B1231615256%5Dhozer.pdf 69% of 1904 kB<br>
384 kBps<br>
>><br>
>> > Thank you.<br>
>> ><br>
>> > On Sun, Jan 11, 2009 at 7:50 PM, Jure Pe??ar<br></div>
<<a href="mailto:pegasus@nerv.eu.org" target="_blank">pegasus@nerv.eu.org</a> <mailto:<a href="mailto:pegasus@nerv.eu.org" target="_blank">pegasus@nerv.eu.org</a>>><div class="Ih2E3d"><br>
>> wrote:<br>
>> ><br>
>> > > On Sun, 11 Jan 2009 15:43:36 +0200<br></div>
>> > > "Yo'av Moshe" <<a href="mailto:bjesus@gmail.com" target="_blank">bjesus@gmail.com</a> <mailto:<a href="mailto:bjesus@gmail.com" target="_blank">bjesus@gmail.com</a>>><div class="Ih2E3d">
<br>
wrote:<br>
>> > ><br>
>> > > > Any idea would be kindly appreciated.<br>
>> > ><br>
>> > > What kind of OS environment are you using?<br>
>> > > I've seen similiar happenings in VPSes where tcp send<br>
buffers run<br>
>> > > out.<br>
>><br>
>><br>
>> --<br>
>> Igor Sysoev<br>
>> <a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
>><br>
>><br>
<br>
<br>
<br>
<br>
-- <br>
Yo'av Moshe<br>
</div></blockquote>
<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Yo'av Moshe<br>
</div>