----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
> >
> > Solaris 2.6, Apache 1.9 JDK1.1.8, JServ 1.1
> >
> > I have a fairly high demand site that uses 25 JServs using loadbalancing
> > that works fast, however, I regularly get the following in the
> > mod_jserv.log for differing port numbers:
> >
>The load-balancer does not itself monitor JServs. In 2 words :
>- we get a hit.
>- we choose a working (looking at the shared memory) JServ target
>(depends if a session is already established/not)
>- we send the request to the chosen JServ
>- if the request fails this JServ is marked "down" in the shared memory.
>
>
> >
> > Any advise on monitoring individual JServs and the load balancing
>try to use the shmedit tool that is accessible in the web CVS interface
>to examine the status of the shared memory (or use the GUI)
>
>
>Tell us what you found in this area.
>
There is also a watchdog java application that we run to keep all our
jserv instances running. It does a ping into each jserv instance and
waits some interval for a timeout (configurable setting which we set
to 2 seconds). If the instance doesn't respond by that time, it
forces a kill and restarts that instance.
The code is in
jserv_whiteboard/src/java/org/apache/jserv/util/JservWatcher.java
and
jserv_whiteboard/src/script/watcher
and some native code in case you're on windows in
jserv_whiteboard/src/c/watcher/win
This is something that could be integrated into the Jserv application
if anyone had some time to do it, but I've unfortunately been too
busy with other projects to be able to focus on this.
Bernie
Bernie Bernstein
Talk City Inc.
voice: 408-871-5320 Join the Conversation.
email: [EMAIL PROTECTED] http://www.talkcity.com/
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]