[ale] Nfs mounts are EXTREMELY slow
Bob Toxen
transam at verysecurelinux.com
Fri Aug 3 14:15:12 EDT 2007
I suggest verifying that each client can to Reverse DNS host resolution
on the server and vice versa. Many times NFS is used in a private
network (IP Masqueraded/NAT'ed) where there proper DNS records are
missing.
Regarding another poster's comment, generally portmap is necessary
for NFS.
Bob
On Fri, Aug 03, 2007 at 01:10:34PM -0400, Jim Lynch wrote:
> Bob Toxen wrote:
> >Verify that there isn't a DNS problem causing either the client or the
> >server to wait for DNS to timeout before proceeding.
> >
> >Btw, this also is a common cause for email connections to one's server
> >taking almost exactly 1 minute or 5 minutes to happen.
> >
> >Bob Toxen
> >bob at verysecurelinux.com [Please use for email to me]
> >http://www.verysecurelinux.com [Network&Linux/Unix security
> >consulting]
> >http://www.realworldlinuxsecurity.com [My book:"Real World Linux Security
> >2/e"]
> >Quality Linux & UNIX security and SysAdmin & software consulting since
> >1990.
> >Quality spam and virus filters.
> >
> >"Microsoft: Unsafe at any clock speed!"
> > -- Bob Toxen 10/03/2002
> >
> >On Fri, Aug 03, 2007 at 07:18:48AM -0400, Jim Lynch wrote:
> >
> >>Well, that may be a stretch, but a minute and 45 seconds is a long time,
> >>IMHO. It's the same from two different systems.
> >>
> >>The /etc/exports file:
> >>/data1/mail/db 192.168.2.50(rw,sync) 192.168.2.44(rw,sync)
> >>
> >>The fstab on the system trying to mount:
> >>
> >>192.168.2.90:/data1/mail/db /var/lib/omega/data nfs
> >>rsize=8192,wsize=8192,timeo=14,intr,noauto
> >>
> >>Output of 'time mount /var/lib/omega/data'
> >>
> >>real 1m45.887s
> >>user 0m0.000s
> >>sys 0m0.022s
> >>
> >>Am I doing something wrong? I don't see anything funny in any log.
> >>
> >>Jim.
> >>
> >>_______________________________________________
> >>Ale mailing list
> >>Ale at ale.org
> >>http://www.ale.org/mailman/listinfo/ale
> >>
> >_______________________________________________
> >Ale mailing list
> >Ale at ale.org
> >http://www.ale.org/mailman/listinfo/ale
> >
> >
>
> Nothing else wrt networking seems slow. The resolv.conf is pointing to
> my westell modem and that just bounces to bellsouth's servers. I can
> ping, ssh, wget pretty much whatever I want from all the systems without
> delay. Is there something specific I could look for?
>
> Jim.
More information about the Ale
mailing list