lkml.org 
[lkml]   [2000]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Again: Process stuck in D state while locking in NFS

> > bcica:~ # ps lw 7577
> > FLAGS UID PID PPID PRI NI SIZE RSS WCHAN STA TTY TIME COMMAND
> > 8100 10348 7577 1 0 0 3840 2284 rpc_execute D ? 0:00
> > ./gkeeper
>
> > This is the second time in two days, that a process gets stuck
> > in rpc_execute. It is the same program, run as non-root, trying
> > to do an ordinary F_SETLKW fcntl() for a read lock.
>
> > Which kernel are you running, and what is your setup?

SuSE 6.2, kernel 2.2.14, Solaris 2.6 NFS server.

I just noticed, that lockd wasn't running, so locking was broken
anyway.

> If something is sleeping in rpc_execute() though, the reasons are
> likely to be more complex. rpc_execute() does not allocate any memory,
> but is the main function for the SunRPC finite state machine. It may
> be that the locking request is blocking for some reason. I'd need a
> tcpdump and possibly a dump of the RPC debugging code in order to say
> more.

It is not clear how to turn on RPC debugging. Hints?

I can also start tcpdump but with a sufficiently good filter, because
this is not a reproduible thing, and I don't want to fill up my hard
disk. What sort of command line should I give tcpdump?

Thanks,
Miklos

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.077 / U:1.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site