Hello Craig,
----- Original Message -----
From: Craig R. McClanahan <[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>
Sent: Friday, June 18, 1999 11:16 PM
Subject: Re: JServ and number of processes
> > 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?
>
> 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.
Thanks for your answer!
The strange thing is that these JVMs all have different process id's and
thus really look like as if they were different processes.
- Andreas
--
--------------------------------------------------------------
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]