Tuesday, April 7, 2009

Standard Server Debug Questions

I'm working on a set of standard questions to ask if a server has a problem:
  1. What do the logs say? (check dmesg or /var/log/messages if nothing else)
  2. Is any other process running during the same window?
  3. Is your server dropping packets? (ifconfig eth0, ifconfig eth1, ethtool eth0?)
  4. What type of storage is your server using?
  5. What filesystem and mount options are you using? (output of /bin/mount)
  6. Have you examined the filesystems with iostat?
  7. When was your last fsck?
  8. Have you strace'd the process with a problem?

No comments: