lkml.org 
[lkml]   [1996]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectOut of memory for ... - suggestion
Date
Hi,

as we know, running out of swap space causes the kernel to start
killing random processes, and every time this happens, a message
"Out of memory for <program name>" is logged. The problem is,
this doesn't tell me much which program actually used up all the
swap space (possibly because of a bug).

Here is my suggestion: in addition to the "Out of memory for ..."
message, there should be a process listing similar to "ps m" (or,
if that would overflow the syslog buffer - syslogd could be very
slow to read it due to heavy swapping - at least a few processes
which are using the largest amount of memory). This way, it
would be easier to track down the program (or luser :-) causing
the trouble.

(Of course it would still be nice if we can handle "out of VM"
situations more gracefully than we do it now, but this has been
discussed many times already...)

Comments?

Marek


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.072 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site