Hi,
$ ./apachectl -v
Server version: Apache/2.4.46 (Unix)
Server built: Nov 15 2020 14:32:04
I just accessed /server-status?refresh=5 to regularly refresh the page.
But I think understand the counts better now. My only other question is does the Request column retain the last URL requested or does it clear after an x amount of time when the thread is idle?
I'm referring to the output below:
Srv |
PID |
Acc |
M |
CPU |
SS |
Req |
Dur |
Conn |
Child |
Slot |
Client |
Protocol |
VHost |
Request |
3-0 |
10941 |
0/1/1 |
_ |
0.00 |
695 |
1 |
1 |
0.0 |
0.02 |
0.02 |
192.168.237.61 |
http/1.1 |
app3.mytestapp.net:8080 |
GET /server-status?refresh=30 HTTP/1.1 |
3-0 |
10941 |
0/1/1 |
_ |
0.01 |
404 |
0 |
0 |
0.0 |
0.00 |
0.00 |
127.0.0.1 |
http/1.1 |
app3.mytestapp.net:8080 |
GET /manager/status?XML=true HTTP/1.1 |
Regards,
Norbert E.
From: Rodrigo Cunha <rodrigo.root.rj@xxxxxxxxx>
Sent: Monday, April 26, 2021 11:01 AM
To: users@xxxxxxxxxxxxxxxx <users@xxxxxxxxxxxxxxxx>
Subject: Re: Apache max workers in /server-status not same as MaxWorkers in mpm_event_module
Hi, send the inventory this host with S/O version and Apache version.
Send the command and options used for check status.
Tks.
Hi,
I attempted to tune Apache's configuration, and used below settings:
<IfModule mpm_event_module>
ThreadsPerChild 64
MaxRequestWorkers 1600
MinSpareThreads 800
MaxSpareThreads 1600
ServerLimit 25
MaxConnectionsPerChild 0
</IfModule>
But checking /server-status I only see Max workers up to 1152
- Server uptime: 11 hours 20 minutes 35 seconds
- Server load: 0.15 0.15 0.21
- Total accesses: 57926 - Total Traffic: 279.6 MB - Total Duration: 50642985
- CPU Usage: u35.7 s29.44 cu0 cs0 - .16% CPU load
- 1.42 requests/sec - 7.0 kB/second - 5060 B/request - 874.27 ms/request
- 130 requests currently being processed, 1022 idle workers
Slot |
PID |
Stopping |
Connections |
Threads |
Async connections |
total |
accepting |
busy |
idle |
writing |
keep-alive |
closing |
0 |
22539 |
no |
0 |
yes |
0 |
64 |
0 |
0 |
0 |
1 |
22540 |
no |
0 |
yes |
0 |
64 |
0 |
0 |
0 |
2 |
22541 |
no |
0 |
yes |
0 |
64 |
0 |
0 |
0 |
3 |
22743 |
no |
0 |
yes |
0 |
64 |
0 |
0 |
0 |
4 |
22832 |
no |
0 |
yes |
0 |
64 |
0 |
0 |
0 |
5 |
22833 |
no |
3 |
yes |
3 |
61 |
0 |
0 |
0 |
6 |
22974 |
no |
1 |
yes |
2 |
62 |
0 |
0 |
0 |
7 |
22975 |
no |
3 |
yes |
3 |
61 |
0 |
0 |
0 |
8 |
22976 |
no |
5 |
yes |
4 |
60 |
0 |
0 |
0 |
9 |
22983 |
no |
4 |
yes |
4 |
60 |
0 |
0 |
0 |
10 |
23272 |
no |
2 |
yes |
2 |
62 |
0 |
0 |
0 |
11 |
23273 |
no |
6 |
yes |
5 |
59 |
0 |
0 |
0 |
12 |
23274 |
no |
12 |
yes |
10 |
54 |
0 |
1 |
0 |
13 |
23280 |
no |
12 |
yes |
12 |
52 |
0 |
0 |
0 |
14 |
23288 |
no |
14 |
yes |
13 |
51 |
0 |
0 |
0 |
15 |
23300 |
no |
20 |
yes |
19 |
45 |
0 |
0 |
0 |
16 |
23331 |
no |
54 |
yes |
53 |
11 |
0 |
0 |
0 |
17 |
23370 |
no |
0 |
yes |
0 |
64 |
0 |
0 |
0 |
Sum |
18 |
0 |
136 |
|
130 |
1022 |
0 |
1 |
0 |
Am I reading it incorrectly?
Regards,
Norbert Elbanbuena
--
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil
|