My machine seems to lock up for no apparent reason every few months. It's not out of disk space. I don't see how it could have run out of swap space (although I can't prove that it didn't). It's running Red Hat Linux 7.2 with kernel 2.4.7.
Any ideas on why my machine crashes?
One thought that I have: My machine seems to have non-ECC RAM. Could random memory errors be causing this?
Check the logs - but my guess is memory leaks - a couple of months isnt bad either, especially if you push a server - just imagine how fragmented RAM gets on it... anyway my moneys on memory leaks - post the last 20 entrys of /var/log/messages before the server locks below (if you still have it)...
I don't think /var/log/messages says anything helpful. I've checked it every time the machine crashed but never found anything...
Jun 25 12:22:07 lina sshd: log: Password authentication for refuge accepted.
Jun 25 12:22:59 lina sshd: log: Generating 768 bit RSA key.
Jun 25 12:23:01 lina sshd: log: RSA key generation complete.
Jun 25 12:23:01 lina sshd: log: Connection from 188.8.131.52 port 3367
Jun 25 12:23:14 lina sshd: log: reverse mapping checking gethostbyname for cpe-144-137-167-88.qld.bigpond.net.au failed - POSSIBLE BREAKIN ATTEMPT!
Jun 25 12:27:21 lina sshd: fatal: Read from socket failed: Connection reset by peer
Jun 25 12:49:07 lina rsyncd: params.carameter() - Ignoring badly formedline in configuration file: read only
Jun 25 12:49:07 lina rsyncd: rsync on backup from [email protected] (127.0.0.1)
Jun 25 12:59:53 lina pure-ftpd: ([email protected]) [INFO] New connection from 184.108.40.206
Jun 25 12:59:53 lina pure-ftpd: ([email protected]) [INFO] anilesbocon is now logged in
Jun 25 13:00:11 lina pure-ftpd: ([email protected]) [NOTICE] //home/anilesbocon/www/index.htm uploaded (16767 bytes, 60.21KB/sec)
Jun 25 13:00:16 lina pure-ftpd: ([email protected]) [INFO] Logout CPU time spent: 0.090 seconds.
Jun 25 00:13:06 lina syslogd 1.4.1: restart.
Jun 25 00:13:06 lina syslog: syslogd startup succeeded
Note that the system clock messes up whenever it reboots, which is why the last two lines have an earlier time entry (but they really happened later). The last two lines are from when I had the machine rebooted.