<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Hello,<br></div><div class="gmail_extra"><br>Non-broken tcpdump just confirms what was already said based on<br><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
error log: nothing is seen from php after 18:48:45, and<br>
this results in the timeout at 18:50:45.  You have to dig into<br>
your code.<br>
<div class=""><div class="h5"><br></div></div></blockquote><div><br><div class="gmail_default" style="font-size:small;color:rgb(51,51,153);display:inline">​I agree.<br><br>However, if you look at the output, you'll notice that the output is cut in the middle of what is sent at 16:45:43.8 UTC.<br>

The content of the array as printed by PHP in the TCP socket contains 29 elements (numbered from 0 to 28). The output is cut at the 24th.<br><br>All the following content sent by PHP (and... received by Nginx?) are not displayed which produces the faulty browser output.<br>

<br>I understand there is a timeout at some point (PHP runs out of memory). It seems that the error is not sent through the FastCGI tunnel and PHP simply stops answering.<br>But that is another problem, not the main one I wanna outline here.​</div>

 </div></div><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font>
</div></div>