2005-02-09 10:30:09

by zaide

[permalink] [raw]
Subject: NFS blocked

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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2005-02-09 11:06:11

by Vincent Roqueta

[permalink] [raw]
Subject: Re: NFS blocked

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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs