tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mladen.t...@jboss.com>
Subject Re: Linux Threads
Date Tue, 04 Jan 2005 10:28:54 GMT
Matteo Turra wrote:
> Hi, I use tomcat 5.0.28 + jk2 connector + Apache 2 on a Linux Suse sles8
> and on Red Hat Enterprise.
>

Well, you missed the group. Some Apache users list would help more :).

> I try to understand why on Suse with ps command I see multiple apache
> and tomcat process and on Red Hat only one apache and one tomcat
> process.
>

Tomcat runs inside JVM that has a single process per JVM.

> [root@Trantor root]# httpd -l
> Compiled in modules:
>   core.c
>   prefork.c
>   http_core.c
>   mod_so.c
> 
> (I guess prefork.c stands for prefork mpm, but I'm not sure)
>

Yes.

> How Apache and Tomcat manage threads in linux environment?
> 

There are no threads on prefork mpm.
Each client connection runs inside separate 'child' process.

> Where can I specify, how many threads and how many process for apache
> and tomcat?
> 

You can not do that on prefork mpm.


> Why I see diff in process count between Suse and Red Hat?
> 

Probably the config is different.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message