Mail/NFS issues (/var/mail locking)

From: Simon Kuhn (sak8@eecs.cwru.edu)
Date: Thu Apr 25 2002 - 18:07:29 EDT


Hello,

I've been working on this problem for days now, and I'm totally stumped.

I have a Solaris 7 mail server that exports /var/mail to a bunch of
Solaris clients (mostly Solaris 8 02/02, all at least 2.5.1).

This has worked fine for many years, and was in place long before I got
here. All of the sudden (for no discernable reason), it's begun having
problems.

rpcinfo reports that nlockmgr, status, mountd, and nfs are all running.
I've gotten this message in syslog on the server a few times:

/usr/lib/nfs/lockd[10996]: t_accept(file descriptor 5/transport tcp) TLI error 7
/usr/lib/nfs/lockd[10996]: unexpected TLI event (0x20) on connection-oriented transport(tcp,5)

and upon rebooting a few:

statd[230]: statd: host ipv4.129.22.241.6 is not responding

The clients mount through automounter with rw,actimeo=0.

The problem is that people can't use mail/mailx to read their mail, they
both just hang forever. truss shows that they're messing around with
locks, in a constant cycle of trying to get /var/mail/user.lock (which
they've already gotten). Pine usually works, although on some machines it
also gets bogged down with locks. Yet on a different workstation, it will
work just fine. Elm is the same way.

Most of the workstations are identical products of Jumpstarting.

Mail is being delivered with sendmail using procmail-3.11pre7 as the LDA.
Procmail has also been acting strange lately; recently it began hanging
around forever (one user had 50 procmail processes, all waiting to deliver
their individual messages). I would guess that this is due to some sort of
file locking problem. procmail -v reports dotlocking, fcntl, and lockf
support.

The strangest part is that mounting /var/mail on separately administered
Solaris machines on campus works fine (once UIDs are changed to accomodate
differences). But copying /var/mail to one of my workstations and then
mounting from there to the other workstations fails in the same way.

Please let me know if you have any ideas, because I'm fresh out!

Simon Kuhn
UNIX Admin
EECS Dept.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:15 EDT