[clug] Memory Leak In cAosity

Sam Couter sam at couter.dropbear.id.au
Wed Aug 10 11:21:19 GMT 2005

Alex Satrapa <grail at goldweb.com.au> wrote:
> I had a problem a while ago where something was chewing up memory to  
> the point that my database was aborting many transactions due to lack  
> of available RAM, and the Apache server was aborting many CGI scripts  
> for the same reason - though to be technically correct, the kernel  
> logs were telling me that Linux was simply terminating the biggest  
> memory users. I was never able to figure out what was actually eating  
> up the RAM

You want Solaris' dtrace. Here's a neat example of it in use to track
down short-lived processes that are hammering a machine:

Sam "Eddie" Couter  |  mailto:sam at couter.dropbear.id.au
Debian Developer    |  mailto:eddie at debian.org
                    |  jabber:sam at teknohaus.dyndns.org
OpenPGP fingerprint:  A46B 9BB5 3148 7BEA 1F05  5BD5 8530 03AE DE89 C75C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/linux/attachments/20050810/840785ee/attachment.bin

More information about the linux mailing list