gothamww
asked on
Find out which process caused a crash!
Hi:
Our server crashed two days ago, and it looks like it ran out of memory and got overloaded. Is there any way to get an idea of which process caused the crash?
I ran:
sar -u sa28
and discovered that between 12:40pm and 12:50pm something took over the cpu and didn't let go until it final crashed 5.5 hours later.
My questions are: how can I get a listing of the processes that were running and/or created during that 10 minute period? Is there any way to tell which processes where demanding the most cpu time at the time of the crash?
Thanks for your help.
-Charlie
Our server crashed two days ago, and it looks like it ran out of memory and got overloaded. Is there any way to get an idea of which process caused the crash?
I ran:
sar -u sa28
and discovered that between 12:40pm and 12:50pm something took over the cpu and didn't let go until it final crashed 5.5 hours later.
My questions are: how can I get a listing of the processes that were running and/or created during that 10 minute period? Is there any way to tell which processes where demanding the most cpu time at the time of the crash?
Thanks for your help.
-Charlie
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the suggestion, I'll check the web logs.
We use both perl and php. Just so I understand better what do you mean by "runtime memory and execution limits"?
We use both perl and php. Just so I understand better what do you mean by "runtime memory and execution limits"?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks so much - just one last question - is there software out there that will alert the administrator when the load on the server has gotten too high for an extended period of time? It would be nice to get notified BEFORE the server crashes, if possible.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER