B
B
barl0g2017-09-29 12:05:31
Nginx
barl0g, 2017-09-29 12:05:31

The server (apache+nginx) becomes unavailable while a "long" php script is being executed, how to fix it?

Timeouts have been increased in apache and nginx settings.
While the request is being executed, the site stops responding to the requests of the client that initialized this request.
It is necessary to change the behavior of the server to such that when the request is executed, but in another tab, the site must be available for other requests. What to twist? Where is this setting?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
amorphine, 2017-09-29
@amorphine

The customer had such garbage, until the Ajax page view counter of 15x15 pixels was loaded, the user could not do anything with the site. The reason was named above - session blocking.

E
Evgeny Petrov, 2017-09-29
@EvgenZZ

most likely you will have to rewrite the script (see if it is possible to break it into log blocks), "twisting" will not save, also look at the Apache logs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question