Andreas Schildbach wrote:

> Hello,
>
> I installed JServ 1.0 on a Linux 2.2.5 system using Apache 1.3.4 and
> Blackdown JDK 1.2 pre2.
>
> By default, Apache starts with 5 instances (processes).
>
> The strange thing is, the JVM is being loaded 5 times, too! I understand
> that the JVM processes are in fact JServ servers, but I don't understand why
> 5 of them are loaded. One would be enough, creating one thread for every
> connect from one of the 5 Apache instances. Why do I make my servlets thread
> safe if in fact multiple JVM's are used?
>
> Can anyone please tell me how to reduce the number of JServ's to just one?
>
> Thanks in advance!
>
> - Andreas
>

It's really simple ... just ignore the output of the "ps" command :-)

The problem is that "ps" sometimes (always?) shows multithreaded processes
(like the JVM when you run Apache JServ) as if each thread were a separate
process, when they are really not.  If you are starting Apache JServ
automatically in your configuration (ApJServManual off), there is really only
one process there.

Craig McClanahan




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to