filesystem locking issue on linux


 
Thread Tools Search this Thread
Operating Systems Linux filesystem locking issue on linux
# 1  
Old 11-25-2010
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.

Code:
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
# 2  
Old 11-25-2010
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Filesystem reduction size issue

Hi, Need help with following case. I am trying to shring filesystem size and reduce few luns from volume group. Situation looks like that : # lsvg -l data1vg data1vg: LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT data1 jfs2 3200 3200 ... (5 Replies)
Discussion started by: borek
5 Replies

2. UNIX for Dummies Questions & Answers

TRU64 Filesystem Issue

Hi Guys i cant find any anwers everywhere hope you can help me, we have an issue with our Tru64 V5.1 2650 alpha server, its saying that a FS is full but its not, free space is very low but if you check its fs and its usage, free fs should be high: $ df -i Filesystem 512-blocks ... (12 Replies)
Discussion started by: batas
12 Replies

3. Shell Programming and Scripting

File locking (Unix/Linux) & sftp

Hi all, Can anyone help ...on how to ensure that a file is locked . thanks & regards, Soodoo ---------------------------------------- Problem description: - We usually use the mv command in scripts to make sure that a file is complete and not being written to by another process. ... (1 Reply)
Discussion started by: soodoo
1 Replies

4. Programming

Locking issue with serial port

Hi, In my application,I need to monitor the devices connected through serial port in solaris sparc 9 OS.I used c and java code for it and I am able to do the same but the problem comes when I restart the system and the open my application and try to monitor it.but I m unable to monitor the... (2 Replies)
Discussion started by: smartgupta
2 Replies

5. AIX

Trace the process responsible for locking filesystem ?

Hi, Sometimes when I want to unmount some filesystem I get "The requested resource is busy." error. In such a case I try to find and kill process that uses that filesystem. I do that on random. Is there a right way to find whitch prosesses use filesystem resource at given time ? thanks... (1 Reply)
Discussion started by: vilius
1 Replies

6. UNIX for Advanced & Expert Users

Linux server locking up

I've been running Django on MySQL on a Linux server for about 3 months w/o any problem. Suddenly a couple days ago, the server Django began throwing errors about not being able to connect to MySQL, at which point the entire server seizes up. The Apache Web server stops serving pages and SSH seizes... (3 Replies)
Discussion started by: mongoose1
3 Replies

7. UNIX for Advanced & Expert Users

Locking issue

Hi everyone, I have got a requirement that, i need to check a specific folder,say /test/lock/ for few specific files, say *lock*, whether it has been locked or not.If any one of it is locked than i need to delete that file after a specific time, say after 10 minutes. I never have worked on... (4 Replies)
Discussion started by: Susant
4 Replies

8. Tips and Tutorials

Linux Filesystem Hierarchy

Hi, Please have a look this: http://tldp.org/LDP/Linux-Filesystem-Hierarchy/Linux-Filesystem-Hierarchy.pdf I think this can be very useful for a beginner/intermediate level user to understand the filesystem hierarchy and as well as it can be used as a reference to various linux commands and... (0 Replies)
Discussion started by: tayyabq8
0 Replies

9. Linux

Linux filesystem

Hi all, Suppose i have a disk having three partitions (hda1,hda2,hda3) ,and are mounted all under /dev/ .. My question is where the / will be existing.which file system it wil be in? I am windows user new to linux/unix.Any help in learning internals would be appreciated . Thanks ,... (1 Reply)
Discussion started by: gkrishn
1 Replies

10. Filesystems, Disks and Memory

Filesystem for Linux - Solaris

Do you know how I can find detailed information on filesystems on Linux and Solaris. And I mean not only for the OS but and how it(the OS) uses the hard drives! Thank you in advance!! Solid Snake;) ;) (3 Replies)
Discussion started by: SolidSnake
3 Replies
Login or Register to Ask a Question