All of lore.kernel.org
 help / color / mirror / Atom feed
* NFS blocked
@ 2005-02-09 10:30 Damien "zaide"
  2005-02-09 11:12 ` Vincent Roqueta
  0 siblings, 1 reply; 2+ messages in thread
From: Damien "zaide" @ 2005-02-09 10:30 UTC (permalink / raw)
  To: nfs

I have a strange problem on my nfsv3 all work fine but when i try to cat 
a file inside a mounted nfs partition who work with apache's session i 
get this problem:

$ strace cat /web/tmp/sess_231f9a00283f90be0ddd9a19e583f492
execve("/bin/cat", ["cat", 
"/web/tmp/sess_231f9a00283f90be0ddd9a19e583f492"], [/* 18 vars */]) = 0
....
open("/web/tmp/sess_231f9a00283f90be0ddd9a19e583f492", 
O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0600, st_size=13, ...}) = 0
read(3, "cmp|i:0;", 32768)         = 13
write(1, "cmp|i:0;", 13cmp|i:0;)           = 13
read(3, "", 32768)                      = 0
brk(0)                                  = 0x8073000
brk(0)                                  = 0x8073000
brk(0x8072000)                          = 0x8072000
brk(0)                                  = 0x8072000
close(3

and that all, it is blocked to the close() function.

my process:
test-cl   8678  0.0  0.0  1724  564 pts/4    S+   10:52   0:00 strace 
cat /web/tmp/sess_231f9a00283f90be0ddd9a19e583f492
test-cl  19613  0.0  0.0  1824  432 pts/4    D+   10:52   0:00 cat 
/web/tmp/sess_231f9a00283f90be0ddd9a19e583f492

my mounted partitions:
nfsserver:/data1/web/tmp on /web/tmp type nfs 
(rw,noexec,nosuid,addr=172.16.8.100)

and in my log:
Feb  9 11:24:35 nfs-client kernel: lockd: server 172.16.8.100 not 
responding, still trying

that all i have, so do you have any solutions, do you have allready seen 
this?



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: NFS blocked
  2005-02-09 10:30 NFS blocked Damien "zaide"
@ 2005-02-09 11:12 ` Vincent Roqueta
  0 siblings, 0 replies; 2+ messages in thread
From: Vincent Roqueta @ 2005-02-09 11:12 UTC (permalink / raw)
  To: nfs

Le mercredi 9 F=E9vrier 2005 11:30, Damien "zaide" a =E9crit=A0:
> I have a strange problem on my nfsv3 all work fine but when i try to cat
> a file inside a mounted nfs partition who work with apache's session i
> get this problem:
>
> $ strace cat /web/tmp/sess_231f9a00283f90be0ddd9a19e583f492
> execve("/bin/cat", ["cat",
> "/web/tmp/sess_231f9a00283f90be0ddd9a19e583f492"], [/* 18 vars */]) =3D 0
> ....
> open("/web/tmp/sess_231f9a00283f90be0ddd9a19e583f492",
> O_RDONLY|O_LARGEFILE) =3D 3
> fstat64(3, {st_mode=3DS_IFREG|0600, st_size=3D13, ...}) =3D 0
> read(3, "cmp|i:0;", 32768)         =3D 13
> write(1, "cmp|i:0;", 13cmp|i:0;)           =3D 13
> read(3, "", 32768)                      =3D 0
> brk(0)                                  =3D 0x8073000
> brk(0)                                  =3D 0x8073000
> brk(0x8072000)                          =3D 0x8072000
> brk(0)                                  =3D 0x8072000
> close(3
>
> and that all, it is blocked to the close() function.
>
> my process:
> test-cl   8678  0.0  0.0  1724  564 pts/4    S+   10:52   0:00 strace
> cat /web/tmp/sess_231f9a00283f90be0ddd9a19e583f492
> test-cl  19613  0.0  0.0  1824  432 pts/4    D+   10:52   0:00 cat
> /web/tmp/sess_231f9a00283f90be0ddd9a19e583f492
>
> my mounted partitions:
> nfsserver:/data1/web/tmp on /web/tmp type nfs
> (rw,noexec,nosuid,addr=3D172.16.8.100)
>
> and in my log:
> Feb  9 11:24:35 nfs-client kernel: lockd: server 172.16.8.100 not
> responding, still trying
>
> that all i have, so do you have any solutions, do you have allready seen
> this?

Yes,  I am working on a similar problem

=2D What is the kernel (uname -a) on the client? On the server ?=20
=2D Are rpc.lockd and rpc.statd running
=2D Can you do a tcpdump while the cat is blocked?


Vincent=20


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

end of thread, other threads:[~2005-02-09 11:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-09 10:30 NFS blocked Damien "zaide"
2005-02-09 11:12 ` Vincent Roqueta

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.