All of lore.kernel.org
 help / color / mirror / Atom feed
* How to detect using whether NFS server is down or not
@ 2005-05-31 12:51 Kapil Dhakad
  2005-06-01 11:28 ` Neil Horman
  0 siblings, 1 reply; 3+ messages in thread
From: Kapil Dhakad @ 2005-05-31 12:51 UTC (permalink / raw)
  To: nfs

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 645 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to detect using whether NFS server is down or not
  2005-05-31 12:51 How to detect using whether NFS server is down or not Kapil Dhakad
@ 2005-06-01 11:28 ` Neil Horman
  2005-06-01 18:07   ` Dan Stromberg
  0 siblings, 1 reply; 3+ messages in thread
From: Neil Horman @ 2005-06-01 11:28 UTC (permalink / raw)
  To: Kapil Dhakad; +Cc: nfs

On Tue, May 31, 2005 at 06:21:02PM +0530, Kapil Dhakad wrote:
> 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

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

-- 
/***************************************************
 *Neil Horman
 *Software Engineer
 *Red Hat, Inc.
 *nhorman@redhat.com
 *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  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to detect using whether NFS server is down or not
  2005-06-01 11:28 ` Neil Horman
@ 2005-06-01 18:07   ` Dan Stromberg
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Stromberg @ 2005-06-01 18:07 UTC (permalink / raw)
  To: Neil Horman; +Cc: strombrg, Kapil Dhakad, nfs

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]

On Wed, 2005-06-01 at 07:28 -0400, Neil Horman wrote:
> On Tue, May 31, 2005 at 06:21:02PM +0530, Kapil Dhakad wrote:
> > 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
> 
> 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

On a related note:

http://dcs.nac.uci.edu/~strombrg/rpc-health.html


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-06-01 18:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-31 12:51 How to detect using whether NFS server is down or not Kapil Dhakad
2005-06-01 11:28 ` Neil Horman
2005-06-01 18:07   ` Dan Stromberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.