Results 1 to 4 of 4

Thread: how to tell what caused memory crash?

  1. #1
    Join Date
    Apr 2007
    Beans
    15

    how to tell what caused memory crash?

    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?

  2. #2
    Join Date
    Nov 2007
    Beans
    273
    Distro
    Xubuntu 8.10 Intrepid Ibex

    Re: how to tell what caused memory crash?

    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.

  3. #3
    Join Date
    Apr 2007
    Beans
    15

    Re: how to tell what caused memory crash?

    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.

  4. #4
    Join Date
    Nov 2007
    Beans
    273
    Distro
    Xubuntu 8.10 Intrepid Ibex

    Re: how to tell what caused memory crash?

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •