D
D
DENIS SHELESTOV2015-05-24 21:47:54
Nginx
DENIS SHELESTOV, 2015-05-24 21:47:54

How to set up NGINX so that it does not crash with loads of 100-500 people online?

In general, there is an nginx server, and it crashes when 200-300 people are online, it gives an occurred error
.
,
8gb ram.
Perhaps the memory does not allocate? If yes, how to fix?
Perhaps the system does not allow itself to be loaded? If yes, how to fix?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2015-05-24
@djdeniro

nginx has nothing to do with it - you should
start setting up fpm with this
https://ma.ttias.be/a-better-way-to-run-php-fpm/

[pool_name]
...
pm = ondemand
pm.max_children = 10
pm.process_idle_timeout = 10s
pm.max_requests = 200

and tune max_children

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question