<div><div dir="auto">Are you seeing any errors in your php log?</div></div><div dir="auto">are you connecting to the hostname or ip?</div><div dir="auto"><br></div><div dir="auto">Also, make sure your interface is connected at full duplex. whats the output of "<span style="color:rgb(34,34,34);font-family:'Open Sans',sans-serif;background-color:rgb(255,255,255)">ethtool eth0" replace eth0 with your nic in use.</span></div><div dir="auto"><span style="color:rgb(34,34,34);font-family:'Open Sans',sans-serif;background-color:rgb(255,255,255)"><br></span></div><div dir="auto"><span style="color:rgb(34,34,34);font-family:'Open Sans',sans-serif;background-color:rgb(255,255,255)">not sure what else really...</span></div><div dir="auto"><span style="color:rgb(34,34,34);font-family:'Open Sans',sans-serif;background-color:rgb(255,255,255)">id say to check dns but its all local to you</span></div><div dir="auto"><span style="color:rgb(34,34,34);font-family:'Open Sans',sans-serif;background-color:rgb(255,255,255)"><br></span></div><div dir="auto"><span style="color:rgb(34,34,34);font-family:'Open Sans',sans-serif;background-color:rgb(255,255,255)">- Payam</span></div><div dir="auto"><br></div><div dir="auto"><br></div><div><div class="gmail_quote"><div>On Wed, Jun 28, 2017 at 9:01 PM Anoop Alias <<a href="mailto:anoopalias01@gmail.com">anoopalias01@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>give a try changing the nameservers in /etc/resolv.conf </div><div class="gmail_extra"></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 29, 2017 at 3:51 AM, Andrea Soracchi <span><<a href="mailto:soracchi@multidialogo.it" target="_blank">soracchi@multidialogo.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000"><div>Hi,<br></div><div><br></div><div><span id="m_-6157745851360504815m_4724472238565423280result_box" class="m_-6157745851360504815m_4724472238565423280short_text" lang="en"><span>I have attached part of the ettercap log</span></span>. <br></div><div><br></div><div>I have posted a test file of 40MB. </div><div><br></div><div>The delay  is 29 second: </div><div><br></div><div> from the last file's chunk at 23:56:06 </div><div> </div><div> to the response of  index2.php at 23:56:35</div><div><br></div><div>The nginx's log show:</div><div><br></div><div>192.168.18.18 - - [28/Jun/2017:23:56:35 +0200] "POST /index2.php HTTP/1.1" 200 37 "-" "Generic Client"</div><div><br></div><div>Nothing retransmits, SElinux isn't installed and apparmor is stopped.<br></div><div><br></div><div>Nothing in dmesg...<br></div><div><br></div><div>Thanks a lot,<br></div><span><div><br></div><div><div style="border-style:none;border-width:1px 0px 0px 0px;display:table;width:260px;font-size:13px;font-family:Arial;color:black"><div style="height:87px;width:90px;background-repeat:no-repeat;background-image:url('')"><br></div><div style="display:table-cell;vertical-align:middle"><p style="margin-bottom:0px;padding-top:0px;padding-bottom:0px;text-align:center;margin-top:0px"><strong style="color:#11254b">ANDREA SORACCHI</strong><br> <strong><a href="tel:+393290512702" style="text-decoration:none;color:#11254b" target="_blank"><span style="text-decoration:none;padding-top:10px;color:#11254b">+39 329 0512704</span></a></strong><br> <span style="font-size:10px;color:#ed5a23">System Engineer<br></span></p><p style="margin-bottom:0;margin-top:8px;padding-top:0px;text-align:center"><span style="font-size:10px;color:#11254b;margin-bottom:0px">+39 0521 24 77 91</span><br> <span style="font-size:10px;color:#11254b"><a href="mailto:soracchi@netbuilder.it" target="_blank">soracchi@netbuilder.it</a></span></p></div></div></div><div><br></div></span><hr id="m_-6157745851360504815m_4724472238565423280zwchr"><div><b>Da: </b>"Payam Chychi" <<a href="mailto:pchychi@gmail.com" target="_blank">pchychi@gmail.com</a>><br><b>A: </b>"nginx" <<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a>><br><b>Inviato: </b>Mercoledì, 28 giugno 2017 19:56:04<br><b>Oggetto: </b>Re: Strange issue after nginx update<br></div><div><br></div><div><div><div dir="auto"><br></div><div class="gmail_quote"><span><div dir="auto">On Wed, Jun 28, 2017 at 8:41 AM Andrea Soracchi <<a href="mailto:soracchi@multidialogo.it" target="_blank">soracchi@multidialogo.it</a>> wrote:<br></div></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-6157745851360504815h5"><div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">Hi,<br>could you please help me solve this issue? I'm getting crazy!<br><br>Before the nginx update my client worked perfectly: it posted files to my website without any delay.<br><br>How, after nginx update (ubuntu 16.04 LTS) I've got this issue:<br><br>- the client posts files successfully but the answer of the post is delayed. The more the file is bigger, the more the answer is delayed.<br><br>I put a sniffer into the website' server and I noticed that the nginx receives the post but it waits to transfer the file to php-fpm process, so also the answer to the client is delayed<br><br>The nginx server is:<br><br>nginx/1.10.0 (Ubuntu) and its conf is:<br><br>-----<br>user www-data;<br>worker_processes auto;<br>pid /run/nginx.pid;<br><br>events {<br>        worker_connections 768;<br>        # multi_accept on;<br>}<br><br>http {<br>        sendfile on;<br>        tcp_nodelay on;<br>        keepalive_timeout 65;<br>        types_hash_max_size 2048;<br>        client_max_body_size 0;<br>        log_not_found off;<br>        server_name_in_redirect off;<br>        client_body_timeout 120s;<br>        autoindex off;<br>        include /etc/nginx/mime.types;<br>        default_type application/octet-stream;<br>        ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE<br>        ssl_prefer_server_ciphers on;<br>        access_log /var/log/nginx/access.log;<br>        error_log /var/log/nginx/error.log info;<br>        gzip on;<br>        gzip_disable "msie6";<br>        gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;<br>        include /etc/nginx/conf.d/*.conf;<br>        include /etc/nginx/sites-enabled/*;<br>---<br><br>and website's php-fpm conf is:<br><br>server {<br>  listen                    80;<br>  server_name               <a href="http://test.it" target="_blank">test.it</a>;<br>  server_name_in_redirect   off;<br>  autoindex                 off;<br>  client_max_body_size      500m;<br>  index                     index.html;<br>  root                      /home/test/test;<br>  location ~ \.(php|html|htm|php3)$ {<br>    try_files     $uri 404;<br>    fastcgi_pass  unix:/run/php/mdtest-fpm.sock;<br>    include       fastcgi_params;<br>  }<br>}<br><br>fastcgi_params config:<br><br>fastcgi_param  QUERY_STRING       $query_string;<br>fastcgi_param  REQUEST_METHOD     $request_method;<br>fastcgi_param  CONTENT_TYPE       $content_type;<br>fastcgi_param  CONTENT_LENGTH     $content_length;<br><br>fastcgi_param  SCRIPT_NAME        $fastcgi_script_name;<br>fastcgi_param  REQUEST_URI        $request_uri;<br>fastcgi_param  DOCUMENT_URI       $document_uri;<br>fastcgi_param  DOCUMENT_ROOT      $document_root;<br>fastcgi_param  SERVER_PROTOCOL    $server_protocol;<br>fastcgi_param  REQUEST_SCHEME     $scheme;<br>fastcgi_param  HTTPS              $https if_not_empty;<br><br>fastcgi_param  GATEWAY_INTERFACE  CGI/1.1;<br>fastcgi_param  SERVER_SOFTWARE    nginx/$nginx_version;<br><br>fastcgi_param  REMOTE_ADDR        $remote_addr;<br>fastcgi_param  REMOTE_PORT        $remote_port;<br>fastcgi_param  SERVER_ADDR        $server_addr;<br>fastcgi_param  SERVER_PORT        $server_port;<br>#fastcgi_param  SERVER_NAME        $server_name;<br>fastcgi_param  SERVER_NAME       $http_host;<br><br># PHP only, required if PHP was built with --enable-force-cgi-redirect<br>fastcgi_param  REDIRECT_STATUS    200;<br><br>fastcgi_param SCRIPT_FILENAME     $document_root$fastcgi_script_name;<br><br><br>Thanks a lot,<br>Andrea<br><br><div><span></span><div style="border-style:none;border-width:1px 0px 0px;display:table;width:260px;font-size:13px;font-family:Arial;color:black"><div style="height:87px;width:90px;background-repeat:no-repeat"><br></div><div style="display:table-cell;vertical-align:middle"><p style="margin-bottom:0px;padding-top:0px;padding-bottom:0px;text-align:center;margin-top:0px"><strong style="color:#11254b">ANDREA SORACCHI</strong><br> <strong><a href="tel:+393290512702" style="text-decoration:none;color:#11254b" target="_blank"><span style="text-decoration:none;padding-top:10px;color:#11254b">+39 329 0512704</span></a></strong><br> <span style="font-size:10px;color:#ed5a23">System Engineer<br></span></p><p style="margin-bottom:0pt;margin-top:8px;padding-top:0px;text-align:center"><span style="font-size:10px;color:#11254b;margin-bottom:0px">+39 0521 24 77 91</span><br> <span style="font-size:10px;color:#11254b"><a href="mailto:soracchi@netbuilder.it" target="_blank">soracchi@netbuilder.it</a></span><br></p></div></div><span></span><br></div></div></div></div></div><span>_______________________________________________<br> nginx mailing list<br> <a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br> <a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/</a>nginx</span></blockquote><span><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote><div dir="auto"><div dir="auto">hi,</div><div dir="auto"><br></div><div dir="auto">can you show the related wireshark data, how long is the response delayed by? and anything else like retransmits or anything else?</div><div dir="auto"><br></div><div dir="auto">any SElinux security throtelling taking place? anything in dmesg?</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote></span></div></div><span><div>-- <br></div><div>Payam Tarverdyan Chychi<br>Network Security Specialist / Network Engineer</div><br>_______________________________________________<br>nginx mailing list<br><a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br><a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></span></div></div></div><br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br><br clear="all"><div><br></div></div><div class="gmail_extra">-- <br><div class="m_-6157745851360504815gmail_signature" data-smartmail="gmail_signature"><div><div><b>Anoop P Alias</b> <div><br></div></div></div></div>
</div>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a></blockquote></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature">Payam Tarverdyan Chychi<br>Network Security Specialist / Network Engineer</div>