[OpenAFS-devel] vmalloc memory leak in 1.3.84/85?

Miles Davis miles@cs.stanford.edu
Thu, 28 Jul 2005 10:00:04 -0700


On Wed, Jul 27, 2005 at 03:42:03PM -0400, Chaskiel M Grundman wrote:
> --On Wednesday, July 27, 2005 09:32:26 -0700 Miles Davis 
> <miles@CS.Stanford.EDU> wrote:
> 
> >Found it. A combination of long lived (24h) tokens and frequent, short
> >lived sessions (imap, pop) filled up the vmalloc area. The odd thing is
> >that the afs client doesn't seem to free up vmalloc space when tokens
> >are destroyed (say, through pam_krb5 or unlog). The memory remains
> >allocated until some time after the token expires. Is that expected?
> 
> 
> you could try enabling pag garbage collection
> sysctl -w afs.GCPAGs=1

Huh... I had no idea those were there. The default seems to be 2 -- what 
does that mean, and are these documented somewhere?

-- 
// Miles Davis - miles@cs.stanford.edu - http://www.cs.stanford.edu/~miles
// Computer Science Department - Computer Facilities
// Stanford University