Something Different In Linux

Home » Linux Commands » application hang after NFS server not responding

Question : My application is hang and also df command hang after NFS server is down or not responding ?

Ans : If you have mounted the NFS disk on your server and if NFS server is down or not responding then client machine hang or the application which uses that NFS disk is hang . The solution for this issue to remount your NFS disk with following way and then your appllication will work without any problem.

1) You need to remount the same NFS disk with following options

mount -t nfs /ftpfolder -v -w -o rw,rsize=32768,wsize=32768,intr,soft,timeo=10

2) After that add the following entry in /etc/fstab and check you application. /ftpfolder  nfs   rw,rsize=32768,wsize=32768,intr,soft,timeo=10  0  0

3) Done

After that when your NFS server is down then it check only 10 sec and connection is timeout and application is working without hang.


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...