Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: NGX on July 21, 2021, 07:50:59 PM

Title: Apache killing my system
Post by: NGX on July 21, 2021, 07:50:59 PM
So apache is creating so many processes of itself that its making my server completely time out.
I have tried remaking all accounts, rebuilding apache and php-fpm but nothing fixes it.
What should I do?
Title: Re: Apache killing my system
Post by: Igor S. on July 24, 2021, 08:50:03 AM
Hi, you have to find the reason. Probably a website has DDoS attack
Title: Re: Apache killing my system
Post by: zainhosting on July 27, 2021, 03:47:17 PM
You should use ps -aux | grep apache to find out the number of processes that apache is running on. And lookout for the "RSS" column which gives an estimate of the memory used by each process. Alternatively, you can use "top", where you shift + f and then select the %MEM column to sort the processes by memory usage.