O
O
OneOlOf2021-03-12 05:19:45
Nginx
OneOlOf, 2021-03-12 05:19:45

How to remove nginx freeze when executing long scripts?

Good afternoon. I have enough long-running handlers. The fact is that when I had Apache, everything was super on it. I decided to switch to nginx and when these handlers are launched, after 5 minutes everything freezes, the site does not open until the server reboots, etc.

How can this be corrected? I repeat, the same 1v1 on Apache worked well and the site opened.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2021-03-12
@shambler81

proxy_send_timeout 150;
proxy_read_timeout 150;
increase to the required value
if you do not want to do it for the whole site, then take it to a separate location with the executable file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question