Re: /proc/pid/status -> VmLib: 4294948464 kB

From: Hugh Dickins
Date: Thu Jul 12 2007 - 16:04:23 EST


On Thu, 12 Jul 2007, Marcos David wrote:
> Hi,
> IÂm using RedHat Enterprise Server 4 Update 3 (kernel 2.6.9-34.ELsmp)
>
> I was listing the contents of /proc/pid/status file and I came up with
> a value of:
> ...
> VmLib: 4294948464 kB,
> ...
>
> Is this a known bug?
> the process in question uses a lot of threads ~100 but there are no
> memory leaks...
>
> Any help would be appreciated.

Yes, it's known, I sent two patches to fix it
[PATCH] VmLib wrapped: executable brk
[PATCH] VmLib wrapped: mprotect flags
on 28 Nov 2004, and those were included in 2.6.10.

It's just an ugliness in the numbers shown, doesn't affect how the
kernel runs: so Red Hat have not bothered to fix it in their update.

Hugh