public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* any way to find out kernel memory usage?
@ 2005-04-27 16:38 Chris Friesen
  2005-04-27 16:42 ` Artem B. Bityuckiy
  2005-04-27 18:07 ` Coywolf Qi Hunt
  0 siblings, 2 replies; 9+ messages in thread
From: Chris Friesen @ 2005-04-27 16:38 UTC (permalink / raw)
  To: linux-kernel


We recently had an issue with a kernel module leaking memory on unload, 
and a userspace app that unloaded it way too many times.

This ended up using up a bunch of memory, which triggered the oom-killer 
to run, which went wild killing everything in sight since userspace 
wasn't actually the culprt.

One idea we had to prevent this in the future is to configure the OOM 
killer to reset the system if the kernel uses more than a certain amount 
of memory.  (Reset is better than hang for our purposes.) Is there any 
way to find out how much memory the kernel is using?  I don't see 
anything in /proc, but maybe something internal that isn't currently 
exported?

Chris

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-04-27 22:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-27 16:38 any way to find out kernel memory usage? Chris Friesen
2005-04-27 16:42 ` Artem B. Bityuckiy
2005-04-27 16:57   ` Chris Friesen
2005-04-27 17:20     ` Robert Love
2005-04-27 17:44       ` Chris Friesen
2005-04-27 17:47         ` Robert Love
2005-04-27 22:23           ` Mark Lord
2005-04-27 18:07 ` Coywolf Qi Hunt
2005-04-27 18:29   ` Richard B. Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox