[Durham] Swap fills up then out of memory errors

Dougie Nisbet dougie at highmoor.co.uk
Wed Feb 22 09:03:27 UTC 2012


On 19/02/12 09:27, Martin Ward wrote:
> On Saturday 18 Feb 2012 at 17:59, Dougie Nisbet<dougie at highmoor.co.uk>  wrote:
>> xfce4-mixer is definitely in the frame as a suspect, it's just tricky
>> trying to devise a testing strategy that doesn't involve switching
>> something on or off then waiting for a a few hours to see if the swap
>> usage changes! The trouble is, whenever I think I've found a likely
>> candidate, and google it along with 'memory leak', practically
>> everything seems to have some form when it comes to memory leaks.
> My suggestion is to create a huge swap file, and leave everything running
> for a few days. The extra swap should stop OOM killer from doing its thing,
> and eventually it should be obvious who is taking all the memory
> (it will be the process with an innocent look on its face and memory crumbs
> all round its mouth).
>

25GB should do it ;-)

and now, we wait ...

root at kitchen:~# swapon -s
Filename                Type        Size    Used    Priority
/dev/sda5                               partition    6792188    
2933768    -1
/etc/bigswapfile                        file        26214396    0    -2





More information about the Durham mailing list