<html><head><style type='text/css'>p { margin: 0; }</style></head><body><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               test.it;<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;" data-mce-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("data:image/gif;base64,R0lGODlhWgBXAMQAAM7P1Pr5+ayssYqHimhlaPF2R+jo6vOOaPapjYSOovfVyh8xVUdXdK60v2h1jfjBrPzr5TREZtXX23eCmPzh18PFy5afsPTy83t4e728wN/f4lJgfJ6dnu1aIxElS////yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gP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J7IkJhRDiMcTdJJHvcShDMlHPgEI0CmBzGExeVe/EwaTBGD0Jgr2t0wTPDMAAkwiBTOZkPpl84HTI9wFVCiCUAYxjjMUwf3u+YEaNtOZQFRUKB95SPhpgJR+5OMH3meAY/bEkTZMyQVcmcH9VQ93GhCgoyzKE5VYVjQVMnylASVnwf0ZkY7Se6UJBSjSAUCRmCLFQNZGAFOR8lMFATCA/vJXgdctD1Q3ZQ2uMkBNDvDnAtZ8nwD6+AEA6JB61pPSUzkwU9lZ9apYzapWWRACADs=");" data-mce-style="height: 87px; width: 90px; background-repeat: no-repeat; background-image: url('data:image/gif;base64,R0lGODlhWgBXAMQAAM7P1Pr5+ayssYqHimhlaPF2R+jo6vOOaPapjYSOovfVyh8xVUdXdK60v2h1jfjBrPzr5TREZtXX23eCmPzh18PFy5afsPTy83t4e728wN/f4lJgfJ6dnu1aIxElS////yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4zLWMwMTEgNjYuMTQ1NjYxLCAyMDEyLzAyLzA2LTE0OjU2OjI3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b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PpKAByi5QAxx+DRSDdJbQGkpEQAwCABADwxycAHF/gOOSSiwCABRM4MEECDdQl5f/jhZbueHKWPx55Cak7LvqBsMfOI+Et0H5CALaXgLsJBjye0hMacDDA8AK8OIIAjJOQAa4JccB8CcFjQAAGHBifUAYDSD9ABrQHgL323ItgMgccRISC5dNnTwABHNCIwQAmYICB7uybIMD6HAjAwfrJi2CA9sgbwPQk9z8CDCCA6xuLbvKngdeNAH0ACsD94CeC4V1qfWcqB/USR4D+saZ+/pue9TQgvRcZQIQPkp4BAgCRBmQgg8AAAAEyWAECMM+CJOCA/DiQkA2OQIbPUxcB8CRABxpgAC8qogkCYEAKXS5zD5QhDAVYQQqGEAA15E8AfCgC+aXgfTUigIpSIMP/MeZoiOXInfikmC8CSASHIthfOTrIDC6e0IPKI4AECeDAEuwvd1vkIQsgCD0xfgCOFwDhH3nERQmgEQWONIDwSqCVCljSKdlTARxVQEgpoRGODSCAuGzISEFSyJAokKEk50eCGq5veh/QoQrAOEg25nEscBRg9t7XRA2aMpGmNIEcMyBKYGiAJ7IkJhRDiMcTdJJHvcShDMlHPgEI0CmBzGExeVe/EwaTBGD0Jgr2t0wTPDMAAkwiBTOZkPpl84HTI9wFVCiCUAYxjjMUwf3u+YEaNtOZQFRUKB95SPhpgJR+5OMH3meAY/bEkTZMyQVcmcH9VQ93GhCgoyzKE5VYVjQVMnylASVnwf0ZkY7Se6UJBSjSAUCRmCLFQNZGAFOR8lMFATCA/vJXgdctD1Q3ZQ2uMkBNDvDnAtZ8nwD6+AEA6JB61pPSUzkwU9lZ9apYzapWWRACADs=');"></div><div style="display: table-cell; vertical-align: middle;" data-mce-style="display: table-cell; vertical-align: middle;"><p style="margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; text-align: center; margin-top: 0px;" data-mce-style="margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; text-align: center; margin-top: 0px;"><strong style="color: rgb(17, 37, 75);" data-mce-style="color: #11254b;">ANDREA SORACCHI</strong><br> <strong><a href="tel:+393290512702" style="text-decoration: none; color: rgb(17, 37, 75);" data-mce-href="tel:+393290512702" data-mce-style="text-decoration: none; color: #11254b;"><span style="text-decoration: none; padding-top: 10px; color: rgb(17, 37, 75);" data-mce-style="text-decoration: none; padding-top: 10px; color: #11254b;">+39 329 0512704</span></a></strong><br> <span style="font-size: 10px; color: rgb(237, 90, 35);" data-mce-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;" data-mce-style="margin-bottom: 0; pxline-height: 10px; margin-top: 8px; padding-top: 0px; text-align: center;"><span style="font-size: 10px; color: rgb(17, 37, 75); margin-bottom: 0px;" data-mce-style="font-size: 10px; color: #11254b; margin-bottom: 0px;">+39 0521 24 77 91</span><br> <span style="font-size: 10px; color: rgb(17, 37, 75);" data-mce-style="font-size: 10px; color: #11254b;">soracchi@netbuilder.it</span></p></div></div><span name="x"></span><br></div></div></body></html>