Answer the question
In order to leave comments, you need to log in
How to reduce memory consumption of PHP daemons?
On a virtual server (2 cores, 4GB of RAM, CentOS 7), about 100 PHP daemons are running, each of which, as I understand it, takes about 500 MB of memory.
Daemons use several libraries, but they are not that heavy.
Is there any solution to this problem?
Answer the question
In order to leave comments, you need to log in
there most likely a fork is used and the shared memory
500 * 100 is more than 4GB, and does not fall = everything is ok
It also says that they occupy one percent, which is 4 megabytes, where did you get 500 from?
I made demons in PHP, they eat quite well, you need to take care of cleaning up the excess!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question