You are not logged in.

#1 2016-03-29 00:01:09

piknik
Member
Registered: 2016-03-13
Posts: 8

NFS server simply hangs, does nothing after some time

I have a recurring, but difficult to reproduce problem concerning the NFS server. Firstly, I have set up a NFS server with all of the default configuration, besides this exports file:

"/srv/nfs4/proto" 192.168.1.70(rw,insecure,no_subtree_check,all_squash,anonuid=1000,anongid=1000)

rpc-bind and nfs-server had been started, with debugging enabled on nfs-server.

Now, the client, which is in a qemu VM, uses arch linux with nfs-utils installed. I have mounted the exported share with this command:

mount 192.168.1.11:/srv/nfs4/proto /srv/http

The files show and I can access them through nginx without issue. However, at seemingly random times, nginx hangs, so I check the /srv/http folder with ls, and it also hangs. I also restart the client with the same effect with the mount command, only until I restart nfs-server.

Now the thing is, I can only restart nfs-server at this point after completely restarting. Anytime I tried to start the service, I would get an error stating that proc-fs-nfsd.mount is masked (to /dev/null) and cannot be started. I tried unmasking proc-fs-nfsd.mount to no avail.

Here are some logs when the client gets the issue, a lot of these lines are repeated over 10000 times in a single second!

Mar 28 15:49:58 PIKNIK-SRV kernel: renewing client (clientid 56f42176/00000009)
Mar 28 15:49:59 PIKNIK-SRV kernel: nfsd_dispatch: vers 4 proc 1
Mar 28 15:49:59 PIKNIK-SRV kernel: nfsv4 compound op #1/4: 53 (OP_SEQUENCE)
Mar 28 15:49:59 PIKNIK-SRV kernel: __find_in_sessionid_hashtbl: 1458839926:9:10:0
Mar 28 15:49:59 PIKNIK-SRV kernel: nfsd4_sequence: slotid 0
Mar 28 15:49:59 PIKNIK-SRV kernel: check_slot_seqid enter. seqid 181429 slot_seqid 181428
Mar 28 15:49:59 PIKNIK-SRV kernel: nfsv4 compound op ffff88034dd34080 opcnt 4 #1: 53: status 0
Mar 28 15:49:59 PIKNIK-SRV kernel: nfsv4 compound op #2/4: 22 (OP_PUTFH)
Mar 28 15:49:59 PIKNIK-SRV kernel: nfsd: fh_verify(28: 00070001 00762703 00000000 9b82b229 a1414d6c 2a240087)
Mar 28 15:50:04 PIKNIK-SRV kernel: nfsv4 compound op ffff88034dd34080 opcnt 4 #2: 22: status 10008
Mar 28 15:50:04 PIKNIK-SRV kernel: nfsv4 compound returned 10008
Mar 28 15:50:04 PIKNIK-SRV kernel: --> nfsd4_store_cache_entry slot ffff88010bc73000
Mar 28 15:50:04 PIKNIK-SRV kernel: renewing client (clientid 56f42176/00000009)
Mar 28 15:50:05 PIKNIK-SRV kernel: nfsd_dispatch: vers 4 proc 1
Mar 28 15:50:05 PIKNIK-SRV kernel: nfsv4 compound op #1/4: 53 (OP_SEQUENCE)
Mar 28 15:50:05 PIKNIK-SRV kernel: __find_in_sessionid_hashtbl: 1458839926:9:10:0
Mar 28 15:50:05 PIKNIK-SRV kernel: nfsd4_sequence: slotid 0
Mar 28 15:50:05 PIKNIK-SRV kernel: check_slot_seqid enter. seqid 181430 slot_seqid 181429
Mar 28 15:50:05 PIKNIK-SRV kernel: nfsv4 compound op ffff88034dd34080 opcnt 4 #1: 53: status 0
Mar 28 15:50:05 PIKNIK-SRV kernel: nfsv4 compound op #2/4: 22 (OP_PUTFH)
Mar 28 15:50:05 PIKNIK-SRV kernel: nfsd: fh_verify(28: 00070001 00762703 00000000 9b82b229 a1414d6c 2a240087)
Mar 28 15:50:10 PIKNIK-SRV kernel: nfsv4 compound op ffff88034dd34080 opcnt 4 #2: 22: status 10008
Mar 28 15:50:10 PIKNIK-SRV kernel: nfsv4 compound returned 10008
Mar 28 15:50:10 PIKNIK-SRV kernel: --> nfsd4_store_cache_entry slot ffff88010bc73000
Mar 28 15:50:10 PIKNIK-SRV kernel: renewing client (clientid 56f42176/00000009)
Mar 28 15:50:13 PIKNIK-SRV kernel: nfsd_dispatch: vers 4 proc 1
Mar 28 15:50:13 PIKNIK-SRV kernel: nfsv4 compound op #1/4: 53 (OP_SEQUENCE)
Mar 28 15:50:13 PIKNIK-SRV kernel: __find_in_sessionid_hashtbl: 1458839926:9:10:0
Mar 28 15:50:13 PIKNIK-SRV kernel: nfsd4_sequence: slotid 0
Mar 28 15:50:13 PIKNIK-SRV kernel: check_slot_seqid enter. seqid 181431 slot_seqid 181430
Mar 28 15:50:13 PIKNIK-SRV kernel: nfsv4 compound op ffff88034dd34080 opcnt 4 #1: 53: status 0
Mar 28 15:50:13 PIKNIK-SRV kernel: nfsv4 compound op #2/4: 22 (OP_PUTFH)
Mar 28 15:50:13 PIKNIK-SRV kernel: nfsd: fh_verify(28: 00070001 00762703 00000000 9b82b229 a1414d6c 2a240087)
Mar 28 15:50:18 PIKNIK-SRV kernel: nfsv4 compound op ffff88034dd34080 opcnt 4 #2: 22: status 10008
Mar 28 15:50:18 PIKNIK-SRV kernel: nfsv4 compound returned 10008
Mar 28 15:50:18 PIKNIK-SRV kernel: --> nfsd4_store_cache_entry slot ffff88010bc73000
Mar 28 15:50:18 PIKNIK-SRV kernel: renewing client (clientid 56f42176/00000009)
Mar 28 15:50:20 PIKNIK-SRV kernel: NFSD: laundromat service - starting
Mar 28 15:50:20 PIKNIK-SRV kernel: NFSD: laundromat_main - sleeping for 88 seconds
Mar 28 15:50:25 PIKNIK-SRV kernel: nfsd_dispatch: vers 4 proc 1
Mar 28 15:50:25 PIKNIK-SRV kernel: nfsv4 compound op #1/4: 53 (OP_SEQUENCE)
Mar 28 15:50:25 PIKNIK-SRV kernel: __find_in_sessionid_hashtbl: 1458839926:9:10:0
Mar 28 15:50:25 PIKNIK-SRV kernel: nfsd4_sequence: slotid 0
Mar 28 15:50:25 PIKNIK-SRV kernel: check_slot_seqid enter. seqid 181432 slot_seqid 181431
Mar 28 15:50:25 PIKNIK-SRV kernel: nfsv4 compound op ffff88034dd34080 opcnt 4 #1: 53: status 0
Mar 28 15:50:25 PIKNIK-SRV kernel: nfsv4 compound op #2/4: 22 (OP_PUTFH)
Mar 28 15:50:25 PIKNIK-SRV kernel: nfsd: fh_verify(28: 00070001 00762703 00000000 9b82b229 a1414d6c 2a240087)
Mar 28 15:50:30 PIKNIK-SRV kernel: nfsv4 compound op ffff88034dd34080 opcnt 4 #2: 22: status 10008
Mar 28 15:50:30 PIKNIK-SRV kernel: nfsv4 compound returned 10008
Mar 28 15:50:30 PIKNIK-SRV kernel: --> nfsd4_store_cache_entry slot ffff88010bc73000

What could be the problem here?

Offline

Board footer

Powered by FluxBB