How to detect using whether NFS server is down or not
Subsystems (2)
Hello,
I am using WebNFS SDK client provided by sun, with NFS server. I implemented this client-server architecture in web application, my web application create some document on the fly and store it on different server.
I am facing problem, suppose NFS server is down. At that time WebNFS client continuously make requrest to server and goes into infinite. How to avoid this problem ?
Is there any way using "JAVA" to detect whether server is down or not ? What will be solution over it ?
Please reply urgently
Thanks
- Kapil Dhakad
Quoted 13 lines · Kapil Dhakad
Hello,
I am using WebNFS SDK client provided by sun, with NFS server. I implemented this client-server architecture in web application, my web application create some document on the fly and store it on different server.
I am facing problem, suppose NFS server is down. At that time WebNFS client continuously make requrest to server and goes into infinite. How to avoid this problem ?
Is there any way using "JAVA" to detect whether server is down or not ? What will be solution over it ?
Quoted 4 lines
Please reply urgently
Thanks
- Kapil Dhakad
you can use rpcinfo -u as an rpc ping mechanism to see if the apprpriate services are still active on the remote host, but doing so won't avoid occasional hangs on your file system.
Neil
Signature · 18 lines
/*************************************************** *Neil Horman *Software Engineer *Red Hat, Inc. *[email protected] *gpg keyid: 1024D / 0x92A74FA1 *http://pgp.mit.edu ***************************************************/ ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ NFS maillist - [email protected] https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 16 lines · Neil Horman
Quoted 15 lines · Kapil Dhakad
Hello,
I am using WebNFS SDK client provided by sun, with NFS server. I implemented this client-server architecture in web application, my web application create some document on the fly and store it on different server.
I am facing problem, suppose NFS server is down. At that time WebNFS client continuously make requrest to server and goes into infinite. How to avoid this problem ?
Is there any way using "JAVA" to detect whether server is down or not ? What will be solution over it ?Please reply urgently
Quoted 7 lines
Quoted 2 lines
Thanks
- Kapil Dhakadyou can use rpcinfo -u as an rpc ping mechanism to see if the apprpriate services are still active on the remote host, but doing so won't avoid occasional hangs on your file system.
Neil
On a related note: