Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Very strange error, first I thought it related to PHP settings or nginx (both have all proper settings up to 1G limits and all timeouts are properly set), but then I checked with Ruby (Sinatra), and PHP's internal web server eliminating nginx, and it repeats.

Everything's fine until upload starts, then on 3M file it gets to ~70%, then upload stops, and after around 60 seconds Chrome fails with (Error 101 (net::ERR_CONNECTION_RESET): The connection was reset.) On a 30M files it stops at ~9% and error repeats.

No error logs at all. No error in nginx log, no error in php or sinatra. Nothing.

With small files <2M everything is fine. It's newly installed FreeBSD 9.1, with 16GB Ram, 80% free and 3TB disks 99% free.

Wireshark shows packet with TCP window update, then a lot of TCP Dup ACK and TCP Retransmission which leads to RST.

share|improve this question
Perform a packet capture and examine what's going on. – EEAA May 12 '13 at 2:13
I've added wireshark info to my question. – nateless May 12 '13 at 3:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.