2.6.27.19 lockd waits too long

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

after solving previous problem with buggy FreeBSD server, I hit another
one.

I tryied 2.6.27.19+linger patch on servers and they work well, so I moved
to clients. On my desktop machine (pckasparek) with the same system (CentOS
5.2 + 2.6.27.19) the system freezes when running acroread or openoffice. I
tracked it down to NFS locking of files in $HOME which is NFS3 
(rw,nodev,intr,hard,rsize=8192,wsize=8192,bg,nfsvers=3,tcp) mounted from
server (kazi).

With real application the system is freezed for minutes up to hours (one
all the night) and gets running when i kill -9 acroread/OOo. I wrote a
simple test app that basicly does fcntl64(F_GETLK), F_SETLK, F_UNLCK and
repeats that several times. With this app it wait only before the first
fcntl call and only for much shorter time (10-30sec). I was able to get
some hopefully interesting info (included in attachments).

- netstat on client and server before and after nfs-lock was run
- wireshark dump of all packets
- dmesg from client with sysrq/W - blocked tasks (and lockd: server kazi
  not responding, still trying messages)

Seems like there is still some trouble in creating new/properly clearing
old connections between the client and server.

With previous kernel (2.6.24.7) the client run just fine.

Any suggestions what to try? 

Thanks in advance

(was not able to send this mail with attachments, trying this way)
http://merlin.fit.vutbr.cz/tmp/nfs/netstat-end.txt
http://merlin.fit.vutbr.cz/tmp/nfs/netstat-start.txt
http://merlin.fit.vutbr.cz/tmp/nfs/pckaspare-kazi.dump
http://merlin.fit.vutbr.cz/tmp/nfs/pckasparek-dmesg.txt

--   

  Tomas Kasparek, PhD student  E-mail: kasparek@xxxxxxxxxxxx
  CVT FIT VUT Brno, L127       Web:    http://www.fit.vutbr.cz/~kasparek
  Bozetechova 1, 612 66        Fax:    +420 54114-1270
  Brno, Czech Republic         Phone:  +420 54114-1220

  jabber: tomas.kasparek@xxxxxxxxx
  GPG: 2F1E 1AAF FD3B CFA3 1537  63BD DCBE 18FF A035 53BC

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux