The number of apache processes

0 like 0 dislike
5 views
At peak load I have the memory 32 at the same time hanging Apache process on one server, and the second 7.
Where the specified maximum number of processes?

And how to understand what processes are zombies?
And to perform what are they?

Option to throw out apache and put nginx + php-fpm is good, I want to sort out the issue.
by | 5 views

5 Answers

0 like 0 dislike
Where the specified maximum number of processes?

Option
\rServerLimit
in the config of Apache.
\r
And how to understand what processes are zombies?
ps aux | grep apache
\r
PROCESS STATE CODES
Here are the different values that the s, stat and state output specifiers (header "STAT" or "S") will display
to describe the state of a process.
D Uninterruptible sleep (usually IO)
R Running or runnable (on run queue)
S Interruptible sleep (waiting for an event to complete)
T Stopped, either by a job control signal or because it is being traced.
W paging (not valid since the 2.6.xx kernel)
X dead (should never be seen)
\rZ Defunct ("zombie") process, terminated but not reaped by its parent.
\r

\r
And to perform what are they?
This is more difficult, or strace, but you can start to look in server_status
by
0 like 0 dislike
Apache is very fruits under load, when many slow clients (in terms of download speed) trying to get the pages. Therefore, loaded the server, I recommend to put to him the nginx as reverseproxy. He will look to Apache for page, who will quickly work out the process, then slowly "scarmouche" it to the client, not allowing apachesolr process all the time is useless atirat memory.
\r
Guidelines for setting up this outrage in the Internet a great many, so that the links will not lead. ;)
by
0 like 0 dislike
nginx + php-fpm steers really. just try a bunch and use on servers.
well, or at least Apache with mpm-worker + php-fpm / php-fastcgi.
CGI scripts are also possible with nginx to run through the wrapper.
by
0 like 0 dislike
> And for performance what are they?
They are not stuck, and completed work. But their parent does this event is not processed for some reason.
by
0 like 0 dislike
debian.pro/147 read. If nginx won't be screwed, about options specify the number of processes read.
\r
And the process actually can be and working. You never know who is on your website hanging)
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
3 answers
110,608 questions
257,186 answers
0 comments
1,120 users