filesystem locking issue on linux

hi,

we are getting filesystem locking issue very frequently. we are using linux rhel 5.5. our filesystem type is gfs2 where we are facing locking issue and unix admin team reboots server to over come with this issue. suddenly we used to face slowness on server and server gets hung. after that unix team says that filesystem is facing locking issue and this needs to be restart.

uname -a
Linux 123.abc.com 2.6.18-194.3.1.el5 #1 SMP Sun May 2 04:17:42 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

Any idea why filesystem is getting locked and how to check why it is getting locked and due to which id it has been locked.

Thansk,
Anshu

Please post atleast few more informations here:

1) The output file of dmesg > dmesg.log
2) Output of df -m
3) Output of lsof
4) Output of all the userland process running. i.e. ps -aef
5) Some snaps of the top command too.

If possible do also post the /var/log/message; truncated to a reasonable limit.

Probably that may help us analyze further.