The last few lines before hanging in auth.log are:
Code:
Feb 14 23:55:19 seafalcon sudo: pam_unix(sudo:session): session opened for user root by jake(uid=0)
Feb 14 23:55:19 seafalcon sudo: pam_unix(sudo:session): session closed for user root
Feb 14 23:58:37 seafalcon sshd[15792]: Disabling protocol version 1. Could not load host key
Feb 14 23:58:48 seafalcon sshd[15792]: Accepted publickey for jake from 129.210.138.200 port 65294 ssh2
Feb 14 23:58:48 seafalcon sshd[15795]: pam_unix(sshd:session): session opened for user jake by (uid=0)
and in syslog:
Code:
Feb 14 23:45:01 seafalcon /USR/SBIN/CRON[15497]: (www-data) CMD (php usr/share/cacti/site/poller.php >/dev/null 2>/var/log/cacti/poller-error.log)
Feb 14 23:50:01 seafalcon /USR/SBIN/CRON[15602]: (www-data) CMD (php /usr/share/cacti/site/poller.php >/dev/null 2>/var/log/cacti/poller-error.log)
Feb 14 23:55:01 seafalcon /USR/SBIN/CRON[15667]: (www-data) CMD (php /usr/share/cacti/site/poller.php >/dev/null 2>/var/log/cacti/poller-error.log)
Feb 14 23:55:54 seafalcon nmbd[6299]: [2011/02/14 23:55:54, 0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail( 351)
Feb 14 23:55:54 seafalcon nmbd[6299]: find_domain_master_name_query_fail:
Feb 14 23:55:54 seafalcon nmbd[6299]: Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb 14 23:55:54 seafalcon nmbd[6299]: Unable to sync browse lists in this workgroup.
neither of which seem to have anything out of the ordinary. I'm not going to force a hang right now, but let's say I find a process that spikes the CPU usage. Is there a way to detect that and end it before it crashes the computer?