05-25-2015, 03:57 PM #1
How to find out reasons why my VPS is overloaded?
My VPS is overloaded some times recent days because I used more websites on one VPS
from my warning message on my web hosting control panel
Warning: The system load average is 15.89
One Minute - 23.03
Five Minutes - 15.89
Fifteen Minutes - 10.13
top - 20:11:02 up 2 days, 21:34, 0 users, load average: 23.03, 15.89, 10.13
Tasks: 123 total, 9 running, 113 sleeping, 0 stopped, 1 zombie
Cpu(s): 2.8%us, 0.2%sy, 0.0%ni, 96.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2097152k total, 841628k used, 1255524k free, 0k buffers
Swap: 524288k total, 84872k used, 439416k free, 39396k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3978 mysql 20 0 2366m 62m 4048 S 45.4 3.1 3:28.90 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/server.mydomain.com.err --pid-file=/var/lib/mysql/server.mydomain.com.pid
15133 apache 20 0 214m 19m 3732 S 27.6 1.0 0:07.03 /usr/sbin/httpd -k start -DSSL
16436 apache 20 0 210m 14m 3728 S 27.6 0.7 0:03.44 /usr/sbin/httpd -k start -DSSL
16952 apache 20 0 206m 11m 3740 S 27.6 0.5 0:02.12 /usr/sbin/httpd -k start -DSSL
more next lines....
Thanks in advance
05-25-2015, 07:24 PM #2
Depends a bit on which operating system - but try running this:
ps aux | sort -nr | head -n 10
That'll give you the top 10 most memory consuming processes. Depending on how you have it set up, it'll display which user is running which module, and how much it consumes.
You could also install a logging mechanism (if one is not installed already) that logs this.
If you're running a web host, I'd simply switch over to CloudLinux to avoid this issue.
The Following User Says Thank You to MightWeb For This Useful Post:
05-26-2015, 12:33 AM #3
05-26-2015, 04:27 AM #4
It seems that Apache may be overloading your system, have you correctly optimized both Apache and MySQL Configuration Files? I understand you're on a VPS, it could also be that the system has been oversold and your resources have been heavily hit as a result. CloudLinux is an operating system based off of CentOS that allows for more server density and security within a hosting environment, with the capabilities of limiting resources on a per-site basis.
What specifications does your VPS currently have? i.e. RAM & CPU.
When running a hosting based environment with multiple websites it is recommended that you have access to more memory and processing capabilities.
05-26-2015, 04:12 PM #5Originally Posted by steitieh
Originally Posted by steitieh
07-18-2018, 09:55 AM #6
07-24-2018, 09:18 AM #7
It seems you have mysql + apache requesting a lot from your CPU. Did you already optimize the my.cnf and apache configs?
07-24-2018, 01:17 PM #8
In most case someone attack your site.
Did you look at access log? If there are a lot requests from a certain IP address, just block it after investigating that IP.
By edsonbuchanan in forum Special OffersReplies: 0 | Views: 1693Last post by edsonbuchanan, 05-25-2015, 11:56 PM
Replies: 4 | Views: 1497Last post by samng, 05-29-2015, 03:54 PM
By terrellbrewer in forum Search Engine OptimizationReplies: 4 | Views: 1216Last post by edsonbuchanan, 05-27-2015, 10:11 AM
By oldnickb in forum Online Business and eCommerceReplies: 0 | Views: 1024Last post by oldnickb, 05-26-2015, 03:01 AM
Replies: 7 | Views: 1492Last post by orangesweety, 06-05-2015, 11:26 AM
Replies: 3 | Views: 1055Last post by sunimaster, 05-25-2015, 01:02 PM
By Tshepo in forum Online Internet MarketingReplies: 1 | Views: 1920Last post by Nytshade, 05-25-2015, 09:45 AM
Replies: 2 | Views: 1075Last post by SEOPub, 05-25-2015, 02:50 AM
By OnaDavney in forum Online Internet MarketingReplies: 9 | Views: 1832Last post by elcidofaguy, 05-29-2015, 03:11 AM
Replies: 2 | Views: 35Last post by itarachiu, Today, 06:43 AM
Replies: 0 | Views: 32Last post by romanalexeevich198, Yesterday, 02:46 PM
Replies: 0 | Views: 30Last post by denverdonate, Yesterday, 12:42 PM
Replies: 0 | Views: 41Last post by denverdonate, Yesterday, 09:17 AM
Replies: 1 | Views: 39Last post by lauratorgerson, Today, 05:33 AM
By Dopani in forum Content ManagementReplies: 0 | Views: 1489Last post by Dopani, 09-23-2014, 03:25 AM
By richard84 in forum Pay Per Click AdvertisingReplies: 1 | Views: 1744Last post by arronmattwills, 01-10-2014, 05:07 AM
Replies: 2 | Views: 2565Last post by Inquestor, 03-28-2013, 06:21 PM
Replies: 0 | Views: 1141Last post by KellyLC, 02-20-2013, 07:49 AM
Replies: 6 | Views: 3356Last post by Alex_smith, 02-07-2013, 02:56 AM