configure whm for 5000 connections

oah

Well-Known Member
Jan 23, 2018
65
10
58
Iraq
cPanel Access Level
Website Owner
Hi
Long story short, we have to run an ec2-instance to serve 5K connections per second. We tried to take bigger and bigger instances but for some reason the vmstat always showing the machine peaking the kernel-time with the CPU cores being at 100% usage.

We are testing with a php script that just does <?php echo "test"';?>

we did increase the php-fpm to 5000 (workers) and the same for apache (we are running apache in event-mode).

Any suggestions on what to tune in the centos-machine itself?


Thx.
 
Last edited by a moderator:

ResellerWiz

Well-Known Member
Mar 24, 2023
150
66
103
USA
cPanel Access Level
Root Administrator
Twitter
LiteSpeed would be best.

Apache at 5000 connections is just going to eat CPU like crazy.
 
  • Like
Reactions: cPRex