I have a dedicated server at GoDaddy that I bought a month ago. I migrated my website to the server and it's running smooth. Until yesterday, the server is running very slow. Even on a slow traffic. I tried contacting GoDaddy for server support. However, they said that they have limited access to dedicated server because our server admin should be the one checking the issues.
Unfortunately, we don't have any server admin and I am not a Linux expert also. I would like to know if how can I troubleshoot this issue?
What I've done is:
- Rebooting the server (Nothing happen)
- I've found out that the wordpress website I installed was outdated. So removed it from the directory for the mean time to check if it's causing the slowless. I thought it worked because the server back to it's normal speed. But after several hours, The slowness returned.
- Running top command on the terminal to check the IO wait and CPU Idletime(seems normal):
Tasks: 86 total, 1 running, 84 sleeping, 0 stopped, 1 zombie
Cpu(s): 0.3%us, 0.3%sy, 0.0%ni, 74.6%id, 24.8%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 16777216k total, 4227680k used, 12549536k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 3133480k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 20 0 19240 1568 1304 S 0.0 0.0 0:00.15 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd/239127
3 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper/239127
151 root 16 -4 10644 592 324 S 0.0 0.0 0:00.00 udevd
1028 root 20 0 179m 2188 1112 S 0.0 0.0 0:00.90 rsyslogd
1050 named 20 0 382m 19m 2704 S 0.0 0.1 0:00.48 named
1070 dbus 20 0 21444 888 636 S 0.0 0.0 0:00.00 dbus-daemon
1224 cpanelso 20 0 4040m 240m 20m S 0.0 1.5 0:48.75 java
1323 root 20 0 66296 1248 508 S 0.0 0.0 0:00.57 sshd
1334 root 20 0 21720 980 748 S 0.0 0.0 0:00.00 xinetd
1344 root 20 0 105m 1644 1332 S 0.0 0.0 0:00.00 mysqld_safe
1492 mysql 20 0 2412m 214m 8624 S 0.0 1.3 394:53.10 mysqld
1531 root 20 0 20456 1240 872 S 0.0 0.0 0:00.37 dovecot
1543 root 20 0 66564 1036 364 S 0.0 0.0 0:00.00 saslauthd
1556 root 20 0 66564 720 48 S 0.0 0.0 0:00.00 saslauthd
1557 dovenull 20 0 45308 4088 3156 S 0.0 0.0 0:00.04 pop3-login
1558 dovenull 20 0 45308 4080 3160 S 0.0 0.0 0:00.09 imap-login
- I also check the Raw Access Log files and it seems normal too.
- I also check the resources stats on my cPanel to check if my application been hitting resources limit but the it doesn't.
PS. Aside from website. The cPanel is also slow.
What else can I do?
This is a bit of a "How long's a piece of string" question and you really do need a server admin or sysadmin to troubleshoot.
This could be a case of an underpowered host, but I see 16gb of ram which is a LOT for a wordpress VM (2-4 more common) so I'm guessing you've got one of Godaddy's top tiers.
Not all wordpress sites are the same either - some plugins are hugely slow, as are some themes and contents.
Wordpress 'caching' plugins are a thing, and can have some good results, but without knowing a lot more about your particular setup it's hard to be precise with my answers.