----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Chris Price wrote:
> 
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
> 
>         Hi;
> 
>         I am playing with load balancing with Jserv 1.1 on a pair of Solaris
> 2.7 systems. I am using the unix 'strings' command to view the printable
> contents of my shmem file. HEre what it tells me:
> 
>         jserv_mmap
>         $$$$$
>         +JS1
>         H$$+JS2
>         I$$-
>         <whole bunch of dollar signs deleted>
> 
>         Now this kinda makes sense to me, JS1 & JS2 are my servlet routes for
> my two servlet engines.
yes

> Here are my questions:
> 
>         1) What do the various items in the shmem file represent? I assume that
> +JS1 means that JS1 is up, but what do H and I represent.
+, -, /, X mean : up, down, "kindly terminated by administrator, letting
established session works", "brutal shutdown by admin"

other values are binary data (IP address, port number, ...)
That is described shortly in load-balancing howto.
> 
>         2) When I manually stop the server that services JS2, I think I would
> expect that the shmem file would change to '-JS2' to reflect this -> it
> does not.
it will if one hit is sent to this servlet engine. if you want to update
by hand this value use the GUI admin tool or the jserv_shmedit program
available in CVS.
> 
>         Maybe what i need is some more specifics on what exactly is in the
> shmem file, and what it represents exactly. Comments or pointers to
> further reading are appreciated...

you can use your http://localhost/jserv/ url and follow the links
or try mine (feel free to change values on-line) :
http://ma-planete.net/jserv/

I just (2 days ago) added 2 entries in the FAQ system for shm
manipulation how-to :

2 ways :
- use the admin GUI
- use the jserv_shmedit program.
enough ? ;-)


> 
>         Chris
Jean-Luc


--
--------------------------------------------------------------
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]

Reply via email to