1. How can you check the maximum Apache workers via command?
- SSH into the server.
- Enter the following command: apachectl fullstatus
Example output is as follows:
=================================
[root@vps logs]# apachectl fullstatus
Apache Server Status for localhost (via ::1)
Server Version: Apache/2.4.48 (cPanel) OpenSSL/1.1.1k Apache
mod_bwlimited/1.4
Server MPM: event
Server Built: Jun 30 2021 17:18:56
--------------------------------------------------------------------------
Current Time: Monday, 12-Jul-2021 21:02:52 +08
Restart Time: Friday, 02-Jul-2021 01:25:55 +08
Parent Server Config. Generation: 2
Parent Server MPM Generation: 1
Server uptime: 10 days 19 hours 36 minutes 56 seconds
Server load: 1.05 0.63 0.57
Total accesses: 549990 - Total Traffic: 27.7 GB - Total Duration:
428883460
CPU Usage: u3069.71 s625.68 cu5001.22 cs1041.73 - 1.04% CPU load
.588 requests/sec - 31.1 kB/second - 52.8 kB/request - 779.802 ms/request
1 request currently being processed, 224 idle workers
=================================
2. How can you check the maximum Apache workers from WHM?
- Log in to WHM.
- Type 'Apache Status' in the search bar