D
D
Dmitry Kulikov2015-03-19 10:39:25
linux
Dmitry Kulikov, 2015-03-19 10:39:25

How to increase number of apach processes?

Recently, problems with connecting to the site began to appear, after looking at what people write, and after doing some analyzes, it turned out that the problems begin when the number of apach processes reaches 202
The number of processes I find out with the team
ps aux | grep httpd |wc -l
And more than 202 has never happened, if there are at least 200 processes, then everything works fine
Decided to increase ServerLimit and MaxClients , but it already says 256
Why doesn't apach spawn more processes? or how else can this constraint be checked?
PS. Perhaps I'm digging in the wrong direction, but still, for the
sake of interest, I put

ServerLimit      150
MaxClients       150

But it still gets to 202 processes

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
polozad, 2015-03-19
@polozad

Put nginx in front of it. Even two workers will unload Apache from the left connections.
What there mpm costs? worker?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question