-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Jean-Luc Rochat wrote:
> Ludovic Bailly wrote:
> >
> > I'm using apache + JServ on Linux (JDK 1.2 pre V2)
> > I'm using load balancing so all my JServ are in manual mode
> > When I try to load the system using ab with -n 200 and -c 20,
> > during the test some JServ doesn't respond and the system is going down.
> >
> > No JServ response ...
> >
> > If I kill all the JServ process and restart them, I get response.
> > Is there a way to test if JServ is working correctly using telnet
> > 10.10.10.10 8008
> > or something else ?
> >
> > What's the problem ?
>
> telnet will only allow you that JServ is running and listening to the
> port. That's already interesting to know, but not enough.
> Do you have answers from the httpd which could result from a timeout
> between htttpd and jserv ?
> If you want to try a servlet on a specific jserv you can try this trick
>
> (assuming you have load balancing on /servlet/ like this :
>
> ApJServMount /servlet balance://set/root
>
> ApJServBalance set p120-1
> ApJServBalance set p120-2
>
> ApJServHost p120-1 ajpv11://127.0.0.1:10001
> ApJServHost p120-2 ajpv11://127.0.0.1:10002
>
> ApJServRoute PP1 p120-1
> ApJServRoute PP2 p120-2
>
> you can add 2 new sets of hosts with only one of the existing hosts
> inside.
> (jserv can belong to more than one set).
>
> add this after :
>
> ApJServMount /pc1 balance://pc1/root
> ApJServMount /pc2 balance://pc2/root
> ApJServBalance pc1 p120-1
> ApJServBalance pc2 p120-2
>
> so you can try :
> http://xxxxxxx/pc1/Hello
>
> hope this will help. without more precision, I can't do better.
> Jean-Luc
When one of the JServ doesn't respond, if y make a reload then it works
assuming the query goes to a JServ which is working.
If I wait for a response, I get a message like : "document contains no data"
I have to kill the JServ and run it again, then mod_jserv find it and use it
when load balancing.
But It seems that mod_jserv doesn't detect that a JServ is down and continue
to send requests to it.
You said that telnet is not sufficient to know if a JServ engine is
"completly" up,
what is the right way to know it ?
I try this without load balacing, but it doesn't change anything.
Thanks for your help.
Ludo.
--
--------------------------------------------------------------
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]