Hyper-V Hard Disk Crashed and Restored Now Sites Load Slow

Bestrafung

Active Member
Apr 2, 2012
42
0
56
cPanel Access Level
Root Administrator
Yesterday the hard drive containing our Hyper-V VM files crashed. I restored the files from a backup to a new hard drive and everything seemed fine. Today all of our websites are loading extremely slowly or not at all. I've run an optimize on all MySQL tables, verified load is low and memory and hard disk usage is low. Doing a 'netstat -n | grep :80' shows only a handful of connections, mostly from my shop. I've tried restarting MySQL and Apache with no change. I'm at a loss as to why this is occurring. Can anyone offer any pointers or advice on what to check? Is there a way to test the databases?
 

Bestrafung

Active Member
Apr 2, 2012
42
0
56
cPanel Access Level
Root Administrator
Ok, I'm nearing the end of what cPanel support is allowed to help with and still haven't determined the issue. Here's a list of everything I've tried so far, I'll edit as needed.
  • Verified low load, memory and hard disk usage
  • Checked for DDOS attack
  • Checked for unusual connections of any kind, especially to sql
  • Optimized and repaired all databases
  • Forced fsck on reboot
  • Tested a website with pingdom.com, results show the DNS and connection are fairly quick but the wait period is close to 60s
  • Forced cPanel update
  • Upgraded MySQL to 5.5
  • Rebuilt Apache with EasyApache
  • Restarted server several times

I can find no reason for the database sites to be loading slowly and cPanel support staff haven't been much help yet either. I'm running out of ideas to try. Any insight would be greatly appreciated.


EDIT: Ok, I had forgotten a very important change that had been made the day before on cPanel staff's approval. I need to migrate my VMs but ran out of IPs. It was confirmed that my cPanel would run on only one nameserver and I could take the second nameserver IP for the new VM for migration purposes. It finally occurred to me that this could be the issue. Added the second nameserver back and everything is fixed.
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

I am happy to hear you were able to resolve the issue. Thank you for updating us with the solution.