All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: App hanging at NFS failure
@ 2002-09-17 17:44 Lever, Charles
  2002-09-17 18:05 ` Magnus Naeslund(f)
  0 siblings, 1 reply; 3+ messages in thread
From: Lever, Charles @ 2002-09-17 17:44 UTC (permalink / raw)
  To: 'Magnus Naeslund(f)'; +Cc: nfs

> If i have a program that uses sendfile to send a file to the 
> network from an NFS server (mount options: 
> rw,noatime,hard,intr,rsize=8192,wsize=8192) and reboot the 
> NFS server the program is still hung when the NFS server is 
> online again.

how long does it take to restart your NFS server?  how long do
you wait before deciding your application is hung?  oh, and
of course, which distribution and kernel version?

> When i try to strace it, it starts to run again, and works as 
> usual, the same if i debug it with gdb.

try tracing it with "echo 3 > /proc/sys/sunrpc/rpc_debug"
this produces a ton of kernel log output, but may show why
the NFS client has stopped servicing application requests.
use "echo 0 > /proc/sys/sunrpc/rpc_debug"


-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 3+ messages in thread
* App hanging at NFS failure
@ 2002-09-17 17:16 Magnus Naeslund(f)
  0 siblings, 0 replies; 3+ messages in thread
From: Magnus Naeslund(f) @ 2002-09-17 17:16 UTC (permalink / raw)
  To: nfs

SWYgaSBoYXZlIGEgcHJvZ3JhbSB0aGF0IHVzZXMgc2VuZGZpbGUgdG8gc2VuZCBhIGZpbGUgdG8g
dGhlIG5ldHdvcmsgZnJvbSBhbiBORlMgc2VydmVyIChtb3VudCBvcHRpb25zOiBydyxub2F0aW1l
LGhhcmQsaW50cixyc2l6ZT04MTkyLHdzaXplPTgxOTIpIGFuZCByZWJvb3QgdGhlIE5GUyBzZXJ2
ZXIgdGhlIHByb2dyYW0gaXMgc3RpbGwgaHVuZyB3aGVuIHRoZSBORlMgc2VydmVyIGlzIG9ubGlu
ZSBhZ2Fpbi4NCg0KV2hlbiBpIHRyeSB0byBzdHJhY2UgaXQsIGl0IHN0YXJ0cyB0byBydW4gYWdh
aW4sIGFuZCB3b3JrcyBhcyB1c3VhbCwgdGhlIHNhbWUgaWYgaSBkZWJ1ZyBpdCB3aXRoIGdkYi4N
Cg0KQ2FuIGkgYWZmZWN0IHRoaXMgYnkgdXNpbmcgc29mdCBtb3VudCBvciBoYXJkIHdpdGhvdXQg
aW50ciwgb3Igd2hhdCBjYW4gaSBkbz8NCg0KTWFnbnVz



-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-17 18:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-17 17:44 App hanging at NFS failure Lever, Charles
2002-09-17 18:05 ` Magnus Naeslund(f)
  -- strict thread matches above, loose matches on Subject: below --
2002-09-17 17:16 Magnus Naeslund(f)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.