<div><div dir="auto"><br></div><div class="gmail_quote"><div dir="auto">On Wed, Jun 28, 2017 at 8:41 AM Andrea Soracchi <<a href="mailto:soracchi@multidialogo.it">soracchi@multidialogo.it</a>> wrote:<br></div><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: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 name="x"></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;background-image:url("")"></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:rgb(17,37,75)">ANDREA SORACCHI</strong><br> <strong><a href="tel:+393290512702" style="text-decoration:none;color:rgb(17,37,75)" target="_blank"><span style="text-decoration:none;padding-top:10px;color:rgb(17,37,75)">+39 329 0512704</span></a></strong><br> <span style="font-size:10px;color:rgb(237,90,35)">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:rgb(17,37,75);margin-bottom:0px">+39 0521 24 77 91</span><br> <span style="font-size:10px;color:rgb(17,37,75)"><a href="mailto:soracchi@netbuilder.it" target="_blank">soracchi@netbuilder.it</a></span></p></div></div><span name="x"></span><br></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/</a>nginx</blockquote><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></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature">Payam Tarverdyan Chychi<br>Network Security Specialist / Network Engineer</div>