Subject: Re: kvm_open: kvm_getproc2: Cannot allocate memory
To: None <6bone@6bone.informatik.uni-leipzig.de>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 10/15/2007 21:08:17
On Mon, Oct 15, 2007 at 07:15:37PM +0200, 6bone@6bone.informatik.uni-leipzig.de wrote:
> Hello,
> 
> I am using NetBSD 4.0_RC2.
> If apache is running (prefork, nearly 350 processes) sometimes the top 
> program exits with the error message:
> 
> kvm_open: kvm_getproc2: Cannot allocate memory

That looks like 'top' hitting one of its limit values - possibly
that for 'locked memory' due to the (borked) way the sysctl kernel
code tries to avoid page faults on user-space addresses while it
has some kernel locks held (which it mustn't sleep holding).

	David

-- 
David Laight: david@l8s.co.uk