Hello all,

 

I've been trying to perform a stack trace on the automount process using
"strace -p `pidof automount`". However, when strace attaches to this PID
nothing happens. Not even when a mount is accessed. Is there a better
way to get a stackdump of the automount process? 

 

Thanks,

 

---

James T. Richardson, Jr.

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

eXcellence in IS Solutions, Inc.

713-862-9200 x226

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James Richardson
Sent: Tuesday, November 27, 2007 10:11 AM
To: [email protected]
Subject: [autofs] Slow mounts when using large round robin sets

 

All,

 

I have stumbled upon an interesting situation when using AutoFS to mount
nfs shares where the the NFS server is served from a large (over 20)
round robin set.

 

For example, I use NIS to distribute my auto.home NIS map. Each of my
users has their home directory located on a central NFS server with
multiple network interfaces (about 50). Those 50 IP's are in a DNS round
robin set. When using autofs to mount one of their home directories
dynamically it can take anywhere from one to 7-8 seconds (usually about
2 seconds). 

 

When the DNS RR set is scaled down to only have 15-20 entries the
mounting time is around half of one second - (.5 seconds).  Mounting
directly using the mount command is the fastest and always mounts in
under .5 seconds.

 

There are no errors in the syslog (messages or daemon.log). I'm using
kernel 2.6.21 and autofs 5.0.1`-9 (and have tested this with 5.0.2-1).

 

One interesting side note, I did some packet captures with the larger
DNS RR set, and found that for a single autofs mount, there could be
anywhere from 3,000-5,000 DNS queries for the NFS server.

 

I'm puzzled as to why this is happening or how to further troubleshoot
the issue. 

 

Thanks,

 

---

James T. Richardson, Jr.

[EMAIL PROTECTED]

eXcellence in IS Solutions, Inc.

713-862-9200 x226

 

 

NOTICE:
This message may contain privileged or otherwise confidential
information.
If you are not the intended recipient, please immediately advise the
sender
by reply email and delete the message and any attachments without using,
copying or disclosing the contents.

NOTICE:
This message may contain privileged or otherwise confidential information.
If you are not the intended recipient, please immediately advise the sender
by reply email and delete the message and any attachments without using,
copying or disclosing the contents.


_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to