Nginx + PHP Windows Network Sharing Uploads locking/slow load time

c0nw0nk nginx-forum at
Fri Jul 10 18:34:24 UTC 2015

So i have Nginx as a web server with PHP running as fastcgi what nginx
serves traffic via upstreams.

The strange bug i have encountered is the fact when i upload a large file
lets say 2GB and PHP must pass this file to a mapped hard drive via network
sharing. PHP/Nginx does not serve traffic to anyone until that temp(uploaded
file) has been successfully moved to the mapped hard drive.

Does anyone know why it would be locking up like this or how to solve it ? I
don't think it is Nginx i think it is just PHP that is locking up. But it is
a nightmare trying to figure out how to keep it serving traffic since there
will be 60-120 seconds while PHP is pushing this file to the mapped hard
drive that no traffic gets served and everyones pages keep loading (they
don't time out just keep loading / waiting for first byte what is always
sent as soon as the file upload is complete.)

If it helps its latest php builds default production config and itpp2012's
Nginx Build.

Posted at Nginx Forum:,260193,260193#msg-260193

More information about the nginx mailing list