My server crashed due to "out of memory". Could have been a PHP script, MySQL, a Java CGI script, etc.... how do I find out what caused the crash? Is there a log file somewhere?
My server crashed due to "out of memory". Could have been a PHP script, MySQL, a Java CGI script, etc.... how do I find out what caused the crash? Is there a log file somewhere?
There should be logs in
/var/log
and perhaps more in
/var/log/apache2
Angel's Egg: Go watch this, and then the movie. You have never seen anything like it.
A shout-out to the Linux Mint team for their excellent port of Ubuntu.
Use any OS worry-free with Derek's Virtual Box.
per-chance do you know which of these logs might help me diagnose the memory crash? I've been looking at /var/log/apache2/error.log & couldn't seem to find what i was looking for, so I browsed some other .log's at random but none of them make sense to me.
Hee Hee.
NOTHING ever appears in my apache2 access log, so I just believe it stopped running ages ago. I should be worried that something is wiping the logs to cover up its tracks, but I have had not problems, so I carry on blindly.
Have you tried
/var/log/syslog
/var/log/syslog.0
Those might have some information on you actual machine.
I believe this is the application that creates the "syslog"
Angel's Egg: Go watch this, and then the movie. You have never seen anything like it.
A shout-out to the Linux Mint team for their excellent port of Ubuntu.
Use any OS worry-free with Derek's Virtual Box.
Bookmarks