Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: werme@alingo.zk3.dec.com (Eric Werme)
Subject: Re: OSF1 V4.0 automounter weirdness
Date: 1996/11/01	[thread overview]
Message-ID: <werme.846810942@alingo.zk3.dec.com> (raw)
In-Reply-To: 55asco$s22@charity.ucr.edu


insom@math.ucr.edu (Chris Ulrich) writes:

>In article <553o93$sqe@charity.ucr.edu>,
>Chris Ulrich <insom@math.ucr.edu> wrote:
>]minute.  This is the script:
>]while :; do ls -l /home; done;
>]  This takes about a minute to complete, and while it is running
>]pine takes forever to start.  While running top, I noticed that the 
>]automounter is using up 90% of the CPU while this script is 
>]running.  Why is the automounter affected by this script?  I have

Well, part of automount is a user level NFS server that happens to be
serving /home.  That ls -l sends several NFS requests to read the
directory (which is really a data structure within automount), do
lookups on all the files, and follow the symbolic links (created from
the same data structure).

If you're running V4.0 and have the packet filter configured, you can
watch the activity with tcpdump -s300 -i lo0.

>  Can anyone explain why the automounter would impact ls -l /home?
>Is it because there are 8000 entries in the auto.home map?

The size of the map shouldn't be an issue.  Having a lot of mounted
home directories would be.

  We 
>would rather have an automounter, especially in a situation like
>this machine.  I suggested having two entries in the map -- student
>and staff and then have all the student's home directories in 
>/home/student/name and so on.  Probably this will work quickly.  
>Does anyone know for certain?

You'd be better off having two maps and two automounts.  Make one
handle /home/student and the other /home/staff.  That means some
mucking about in /sbin/init.d/nfs or a separate script for starting
extra automounts.

>  There must be larger osf1 machines out there than ours, what
>did you do with the automounter?

Our production machines run 5 or 6 automounts.  One for auto.home,
one for -hosts, others for various collections of NFS-served stuff.
-- 
  <>    Eric (Ric) Werme   <>  Why Government Doesn't Work!  For details   <>
  <>  <werme@zk3.dec.com>  <>     visit http://www.HarryBrowne96.org/      <>



  reply	other threads:[~1996-11-01  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-28  5:00 OSF1 V4.0 automounter weirdness Chris Ulrich
1996-10-31  5:00 ` Chris Ulrich
1996-11-01  5:00   ` Eric Werme [this message]
1996-11-01  5:00   ` Birger Wathne
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox