D
D
drunken_ikarus2021-02-04 14:52:43
opencart
drunken_ikarus, 2021-02-04 14:52:43

Why executing a php script blocks the entire server?

There is a site, on opencart if interested, LiteSpeed ​​server, not local
For simple testing, we make a banal script
<?php
sleep(60);
?>
Until a minute has passed the whole site does not respond! Can you please tell me what is related?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Shumov, 2021-02-04
@inoise

There is a set of parameters - the number of either simultaneous connections, or workers ... or child processes. First of all, you need to look at the php-fpm config, and as a last resort, at php and nginx itself (if there is such a bunch)

N
nokimaro, 2021-02-04
@nokimaro

Obviously, it 's about blocking sessions
Read https : //rmcreative.ru/blog/post/blokirovanie-sessi... - memcached, but you need to set memcached.sess_locking=Off - redis

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question