High load problem

ihosting

Verified User
Joined
Aug 25, 2017
Messages
7
Hi, I am Azerbaijani. I don't know good english language, sorry.

I have vps high load problem.

i have vps server.
24 RAM
500 GB HDD
4 cpu Intel Xeon E3 1245
Fransa OVH.

Server load: 15, 18, 10.05, 14 (10-20) avarage.

I optimize myql and nginx_apache but same problem.

Help me please. Thanks.
 

ihosting

Verified User
Joined
Aug 25, 2017
Messages
7
Load

Hi, I am Azerbaijani. I don't know good english language, sorry.

I have vps high load problem.

i have vps server.
24 RAM
500 GB HDD
4 cpu Intel Xeon E3 1245
Fransa OVH.

Server load: 15, 18, 10.05, 14 (10-20) avarage.

I optimize myql and nginx_apache but same problem.

Help me please. Thanks.

at night from 23:00 to 01:50 load problem...
CPU 60-70%
Nginx: 2-3 GB
Httpd: 1-8 GB
 

vlijmenlive

Verified User
Joined
Nov 13, 2013
Messages
64
Location
Belgium
Hi,

A good starting point would be to check the processlist in Directadmin or directly through command line by (h)top.

Without more information it is impossible to guess what is causing the high load.
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,218
Location
Maastricht
Also check your logfiles, like /var/log/messages, /var/log/httpd/access_log and error_log. If you got Wordpress sites on there it could be xlmrpc.php attacks which also causes high cpu load. I still don't understand why Wordpress still does not remove that file or fix it.
OVH... phew... Hetzner is lots better. Also install CSF/LFD if you have not already done that, als Maldetect and Clamav with some extra signatures.
 

ihosting

Verified User
Joined
Aug 25, 2017
Messages
7
Load

Also check your logfiles, like /var/log/messages, /var/log/httpd/access_log and error_log. If you got Wordpress sites on there it could be xlmrpc.php attacks which also causes high cpu load. I still don't understand why Wordpress still does not remove that file or fix it.
OVH... phew... Hetzner is lots better. Also install CSF/LFD if you have not already done that, als Maldetect and Clamav with some extra signatures.
Thanky very much, I installed csf/lfd 4-5 month ago. There are not wordpress sites in vps.
 

ihosting

Verified User
Joined
Aug 25, 2017
Messages
7
Load

Hi,

A good starting point would be to check the processlist in Directadmin or directly through command line by (h)top.

Without more information it is impossible to guess what is causing the high load.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3704 mysql 20 0 3358m 947m 9756 S 48.3 3.9 627:10.91 mysqld
7271 apache 20 0 283m 43m 17m S 9.7 0.2 0:00.31 httpd
7265 apache 20 0 282m 39m 14m S 9.3 0.2 0:00.30 httpd
7052 apache 20 0 491m 63m 21m R 8.3 0.3 0:06.86 httpd
7297 apache 20 0 278m 38m 15m R 8.3 0.2 0:00.25 httpd
6926 apache 20 0 281m 46m 20m S 8.0 0.2 0:11.07 httpd
 

vlijmenlive

Verified User
Joined
Nov 13, 2013
Messages
64
Location
Belgium
Hi,

The provided output from the too command is a bit limited I think. But if it's like that the whole time I would suggest to check your mysql (slow) queries and see if you can optimize them.

The httpd processes don't seem that strange but all depends on the number of visitors your site (s) are having.

What are you serving to your customers exactly and what did you already do to optimize it?
 

ihosting

Verified User
Joined
Aug 25, 2017
Messages
7
Load

Hi,

The provided output from the too command is a bit limited I think. But if it's like that the whole time I would suggest to check your mysql (slow) queries and see if you can optimize them.

The httpd processes don't seem that strange but all depends on the number of visitors your site (s) are having.

What are you serving to your customers exactly and what did you already do to optimize it?
İ optimize /etc/my.cnf and nginx files.

I serving vps, but this vps have very load. If you want, i send to vps information(ssh, directadmin etc.). You see this vps.
 
Top