[OpenAFS-devel] token/pag cleanup on i386_linux*

Johan Hedin johan@ecare.se
Thu, 14 Jun 2001 09:40:08 +0200 (CEST)


Thanks for the help

On Solaris 8 with Transarc/IBM afs 3.6-2.6 the 'kdump -users' reports no
increase in pags. Looks like gcpags is already doing the job for me.

Johan Hedin

On Mon, 11 Jun 2001, Neulinger, Nathan wrote:

> I don't know.
>
> The hpux version is poorly done and assumes a generally interactive box with
> no jobs running by a user after the user has logged off.
>
> The linux version is able to determine if any processes are running in a
> particular pag by checking aux groups. If the solaris /proc has this
> information, then you might be able to get it modified to work on solaris,
> although I think that on solaris, the gcpags stuff is already running, but I
> don't remember for certain.
>
> The easy way to tell if it's needed - do a 'kdump -users' and look at the
> number at the end. If it seems large compared to the number of users logged
> on, then the problem exists.
>
> -- Nathan
>
> > -----Original Message-----
> > From: Johan Hedin [mailto:johan@ecare.se]
> > Sent: Monday, June 11, 2001 10:39 AM
> > To: Neulinger, Nathan
> > Subject: Re: [OpenAFS-devel] token/pag cleanup on i386_linux*
> >
> >
> > Hi
> >
> > Could this script be run on Solaris? If so, I like to have a copy to
> > implement on my former job at KTH (cell alfvenlab.kth.se).
> >
> > Best Regards
> >
> > Johan Hedin
> >
> > On Mon, 11 Jun 2001, Neulinger, Nathan wrote:
> >
> > > On my heavy-authentication-activity clients, I have to run
> > a token cleanup
> > > script that gets rid of tokens for processes that have gone
> > away/etc. It's
> > > my understanding that the GCPAGS code does this
> > automatically. What is
> > > preventing this from being enabled on linux?
> > >
> > > (If anyone wants the script, I'll be happy to send it to
> > you, it uses a
> > > combination of processing kdump output and examining
> > auxgroup membershup
> > > from /proc.)
> > >
> > > If you don't run this, and you have a server that does a
> > lot of token
> > > activity, you get into a situation where the afs_users
> > structure in the
> > > kernel is HUGE and very very very slow, which impacts
> > everything on the
> > > machine. I'm running scripts to handle this on hpux
> > (poorly) and linux.
> > >
> > > -- Nathan
> > >
> > > ------------------------------------------------------------
> > > Nathan Neulinger                       EMail:  nneul@umr.edu
> > > University of Missouri - Rolla         Phone: (573) 341-4841
> > > Computing Services                       Fax: (573) 341-4216
> > > _______________________________________________
> > > OpenAFS-devel mailing list
> > > OpenAFS-devel@openafs.org
> > > https://lists.openafs.org/mailman/listinfo/openafs-devel
> > >
> >
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>