----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Zach Bagnall wrote:
>
> Hi all. I have Apache 1.3.6 and JServ 1.0 running on a linux machine with 512mb
> ram. Apache starts up with StartServers = 5. Since JServ starts automatically,
> this results in at least 5 JServ threads, each of which uses around 12mb ram.
> Running 5 VMs seems like overkill to me.
>
> Can I run 1 JServ thread for all apache servers without starting manually?
>
> What's the harm in setting StartServers to 1?
>
> Have I got this all ass backwards? ;-)
>
> Zach.
>
No, No, and NO !
The StartServer, MinSpare etc are NOT used by JServ startup.
One JServ (JVM) process is started, and that's all.
This JServ server is a multithreaded TCP java server, wich answers
requests coming from any number of httpd processes, and starts a thread
for each new request.
These threads are garbaged later.
Linux "ps" sucks with threads, and you are running only ONE JVM, but
seeing all the threads,
and you can see for each thread the TOTAL amount of memory used by the
JVM.
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]