Need help to creating the best apache configuration

Dec 24, 2021
11
2
3
Sheffield, United Kingdom
cPanel Access Level
Root Administrator
Hi Guys,
I've recently set up a server for a client who receives around 30-80 concurrent viewers on their woo-commerce site. I noticed the website uses quite a lot of CPU usage when people load the website so I've optimised it through wordpress. The server has been overloaded for the past 2 days forcing the server to go offline however there are no logs to support this. I was wondering how I could improve my configuration, i've changed the MPM from event to worker & also enabled some packages in easy apache. Here is some information below. If you need any more do let me know.
Many Thanks

PHP 7.4 with Lsapi

Total processors: 6
Processor #1
Vendor
AuthenticAMD
Name
AMD EPYC 7282 16-Core Processor
Speed
2800.000 MHz
Cache
512 KB

Processor #2
Vendor
AuthenticAMD
Name
AMD EPYC 7282 16-Core Processor
Speed
2800.000 MHz
Cache
512 KB
Processor #3
Vendor
AuthenticAMD
Name
AMD EPYC 7282 16-Core Processor
Speed
2800.000 MHz
Cache
512 KB

Processor #4
Vendor
AuthenticAMD
Name
AMD EPYC 7282 16-Core Processor
Speed
2800.000 MHz
Cache
512 KB

Processor #5
Vendor
AuthenticAMD
Name
AMD EPYC 7282 16-Core Processor
Speed
2800.000 MHz
Cache
512 KB

Processor #6
Vendor
AuthenticAMD
Name
AMD EPYC 7282 16-Core Processor
Speed
2800.000 MHz
Cache
512 KB

Memory Information​
Hardware information is not available inside a container.​

System Information​
Linux server.domain.com 3.10.0 #1 SMP Fri Nov 20 21:47:55 MSK 2020 x86_64 x86_64 x86_64 GNU/Linux

Physical Disks​
Hardware information is not available inside a container.

Current Memory Usage​
total used free shared buff/cache available
Mem: 16777216 1596380 375308 126224 14805528 14950460
Swap: 524288 17844 506444
Total: 17301504 1614224 881752

Current Disk Usage​
Filesystem Size Used Avail Use% Mounted on
/dev/ploop26884p1 250G 56G 184G 24% /
none 8.0G 0 8.0G 0% /sys/fs/cgroup
none 8.0G 0 8.0G 0% /dev
tmpfs 8.0G 0 8.0G 0% /dev/shm
tmpfs 8.0G 412K 8.0G 1% /run
tmpfs 1.7G 0 1.7G 0% /run/user/0​

Server Version: Apache/2.4.52 (cPanel) OpenSSL/1.1.1m mod_bwlimited/1.4 Phusion_Passenger/6.0.7
Server MPM: worker
Server Built: Dec 30 2021 14:32:42
Current Time: Saturday, 01-Jan-2022 10:54:18 GMT
Restart Time: Friday, 31-Dec-2021 23:44:41 GMT
Parent Server Config. Generation: 1
Parent Server MPM Generation: 0
Server uptime: 11 hours 9 minutes 36 seconds
Server load: 0.29 0.27 0.23
Total accesses: 17643 - Total Traffic: 433.7 MB - Total Duration: 8765797
CPU Usage: u58.36 s11.13 cu0 cs0 - .173% CPU load
.439 requests/sec - 11.1 kB/second - 25.2 kB/request - 496.843 ms/request
4 requests currently being processed, 146 idle workers
 

Attachments

Dec 24, 2021
11
2
3
Sheffield, United Kingdom
cPanel Access Level
Root Administrator
try to install imunify360 for the server. that will be helpful to reduce unwanted bot attacks and server load.
Thank you for the reply. I currently have ImunifyAV installed & CSF Firewall for the server then we use Cloudflare for the traffic to the website. Would you say an upgrade to 360 would be worthwhile?
 
  • Like
Reactions: cPanelAnthony