1825509 Members
1880 Online
109681 Solutions
New Discussion юеВ

NFS FILE LOCKS CRASH

 
Nigel P Barry
New Member

NFS FILE LOCKS CRASH

I was running 11.31.01 NFS server and had no problems with file locking, the NFS server just crashed after 2 days. I am now running NFS 11.31.02 and the client rpc.lockd now crashes (11.23 TCOE). Is anyone else seeing this problem. The only fix appears to be to restart the rpc.lockd. Obviously all users with ksh/sh logins cannot login with the rpc.lockd down.
8 REPLIES 8
Fabio Ettore
Honored Contributor

Re: NFS FILE LOCKS CRASH

Hi,

does rpc.lockd crash create a core file?
If so then it would an help to analyze that. Also what you see in syslog.log?

Best regards,
Fabio
WISH? IMPROVEMENT!
Dennis Handly
Acclaimed Contributor

Re: NFS FILE LOCKS CRASH

>ksh/sh logins cannot login with the rpc.lockd down.

As a kludge you can set HISTFILE in your .profile to a local filesystem so you can login/rlogin.
Nigel P Barry
New Member

Re: NFS FILE LOCKS CRASH

Cannot set the HISTFILE, it locks the user out before the command can be executed (in system profile).

Havn't managed to get a core dump since debugging was enabled, but that was over the weekend, will see what a new working week brings.
Dennis Handly
Acclaimed Contributor

Re: NFS FILE LOCKS CRASH

>Cannot set the HISTFILE, it locks the user out before the command can be executed (in system profile).

Can you login as root and edit it?
Nigel P Barry
New Member

Re: NFS FILE LOCKS CRASH

Yes can login as root and edit the profile but this does not fix the problem (some of the time).

Investigating this may be due to running (the 11.23 client) rpc.lockd without the -C flag, and seemed to happen before the lockd crashed.

Have restarted with the -C and will see if this is a stable fix for the problem.
Dennis Handly
Acclaimed Contributor

Re: NFS FILE LOCKS CRASH

>but this does not fix the problem (some of the time).

I said it was a kludge. :-)

>Investigating this may be due to running (the 11.23 client) rpc.lockd without the -C flag, and seemed to happen before the lockd crashed.

I'm not sure about that flag but applying all of the patches sure helped in the 10.20 & 11.00 time frame.
Nigel P Barry
New Member

Re: NFS FILE LOCKS CRASH

Thread 1052530 seems to suggest that running without it would explain all the symptoms. Just lost another client before we could set the flag, so should know in a day or so if it helps.

Interestingly the IA-64 clients seem more stable than the PA clients.
Dennis Handly
Acclaimed Contributor

Re: NFS FILE LOCKS CRASH

>Thread 1052530 seems to suggest that running without it would explain

Dave should be able to help.