This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: NFS problem
- To: eric@dvns.com (Eric Jergensen)
- Subject: Re: NFS problem
- From: hjl@lucon.org (H.J. Lu)
- Date: Sun, 2 Aug 1998 10:39:45 -0700 (PDT)
- Cc: linux-smp@vger.rutgers.edu (Linux SMP), linux-kernel@vger.rutgers.edu (linux kernel), libc-hacker@cygnus.com (GNU C Library)
>
> On Sat, Aug 01, 1998 at 02:34:04PM -0700, H.J. Lu wrote:
> > Hi,
> >
> > I have a PPro SMP running Linux 2.1.106 as my NFS server with the
> > kernel nfsd. I have 2 clients, linux/alpha running linux 2.1.111
> > and Linux/Pentium running linix 2.1.106. I am keeping getting the
> > kernel message
> >
> > nfs: server ocean not responding, timed out
> > RPC: task timed out
> >
> > from both of my clients when I compile glibc with source on the
> > NFS server and build directory on the local disk. When this happens,
> > my build will stop with I/O error. When this happens, my server
> > has almost nothing else running. I can access those source files in
> > question in my shell on my clients. My network is working normally.
> > It happens with the userland nfsd or kernel nfsd running on my server.
> > I was wondering if there was a kernel nfs or rpc bug which lead to my
> > problem.
>
> Hmm. I'd suspect that the I/O error comes first and that freezes your
> server long enough to time out. I am running kernel nfsd on an SMP PPro
> w/o problem (admittedly 2.1.101 not 2.1.106).
>
I should mention that the I/O error comes from the C preprocessor in
gcc whild building glibc 2.1 with the source code on the NFS server.
There are many -Ixxxx in CFLAGS in the glibc build. It seems like an
interaction between the C preprocessor and many directory/file lookup
from client to server. Maybe the Linux NFS server and/or client perform
poorly with many directory/file lookup in a very short time. Has anyone
tried to compile glibc 2.1 with the source code on the NFS server?
Thanks.
--
H.J. Lu (hjl@gnu.org)