Welcome! Log In Create A New Profile

Advanced

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

July 10, 2015 02:34PM
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.
Subject Author Posted

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

c0nw0nk July 10, 2015 02:34PM

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

itpp2012 July 10, 2015 03:06PM

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

c0nw0nk July 10, 2015 03:17PM

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

itpp2012 July 10, 2015 03:48PM

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

c0nw0nk July 10, 2015 04:21PM

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

itpp2012 July 10, 2015 04:40PM

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

c0nw0nk July 10, 2015 05:06PM

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

Richard Stanway July 11, 2015 12:48PM

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

c0nw0nk July 11, 2015 03:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 248
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready