Subject: Re: top(1) & sysctl failures
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Nicolas Joly <njoly@pasteur.fr>
List: current-users
Date: 02/22/2004 00:05:15
On Sat, Feb 21, 2004 at 08:46:19PM +0100, Manuel Bouyer wrote:
> On Fri, Feb 20, 2004 at 02:05:23PM +0100, Nicolas Joly wrote:
> > 
> > I recently noticed some top(1) failures on both i386 and amd64 running
> > (-current). It seems that a `sysctl' call is sometimes failing (see
> > trace below) on memory allocation, but both machines are full of free
> > ram when such problems arise ...
> > 
> > njoly@calimero [~]> top 2>top.err
> > njoly@calimero [~]> echo $?
> > 23
> > njoly@calimero [~]> cat top.err 
> > kvm_open: kvm_getproc2: Cannot allocate memory
> 
> I think this has been fixed by a recent kernel commit.

Yes. Thanks to Andrew Brown for fixing this.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.