When i run a long running php script on a site it freezes for everyone while the request runs. Other sites running on hestiacp are fine however the site the script is on is frozen for all users until the script finishes. How to fix this?
You provided basically zero technical details.
This could be anything - PHP-FPM limits, locking, resources, or just the application itself.
Without actual data, nobody can diagnose this.
Hi. Sorry its just my first time using the forum. Here is a bit more info:
User A connecting from a different IP with a different PHP session starts a long running request.
User B trys to connect from a different IP with a different PHP sesison to access any .php page on the site. The site hangs and does not send any data until User A’s request finishes.
The script does not include any locking behaviour of its own. It is waiting on an external API request.
Sorry if this is not enougth detail as im not too sure what else to put.
When the request runs for extra long User B gets this error:
Gateway Timeout
The gateway did not receive a timely response from the upstream server or application.