Re: Over used cache memory?

From: Gianni Tedesco
Date: Thu Nov 06 2003 - 09:16:32 EST


On Thu, 2003-11-06 at 14:40, jlnance@xxxxxxxxxxxxxx wrote:
> If anyone has any ideas about this, I would love to hear them.

cat /proc/pid/maps of app in question....

most likely it's copying a fsck load of that file in to anonymous
mappings, causing swapping.

If it has a 2GB anonymous mapping and 1GB physical memory, swap will
happen on 1 in 2 pages that that program tries to access, on average.

--
// Gianni Tedesco (gianni at scaramanga dot co dot uk)
lynx --source www.scaramanga.co.uk/gianni-at-ecsc.asc | gpg --import
8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D

Attachment: signature.asc
Description: This is a digitally signed message part