tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Miehs <and...@2sheds.de>
Subject Re: Chrooting Tomcat // Linux threading issue
Date Tue, 13 Mar 2007 10:38:42 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 13/03/2007, at 11:22 AM, Roman Medina-Heigl Hernandez wrote:

> Hello,
>
> Server version: Apache Tomcat/5.5.17
> Server number:  5.5.17.0
> OS Version:     2.4.34-grsec-rslabs-k7
> JVM Version:    1.4.2_10-b03
>

> PS: A 2nd issue (not related to chroot) that I would like to  
> clarify, if
> you're so kind: when I run the web app in Tomcat (version showed  
> above) I
> got several processes (69 in particular). It seems to be related to  
> the
> following FAQ:

Actually, you get 69 'threads'. Linux 2.4 kernel shows (and deals  
with) threads
as processes.

> http://tomcat.apache.org/faq/unix.html#ps
> But I've read FAQ entry (and followed the two links in the entry)  
> and it is
> unclear to me where there is some workaround in latest 2.4 kernels  
> (I'm
> using 2.4.34; don't wanna switch to 2.6 yet). The FAQ talks about
> lightweight processes (the "threads", as seen by Linux 2.4), but  
> how could
> I check that they're really light? I'm trying to "measure" the  
> possible
> impact of "linux threading problem" over my application. Some URLs  
> or help
> would be welcomed. I've also set "LD_ASSUME_KERNEL=2.4" and  
> exported the
> variable, without any apparent change of behaviour.

Look for NPTL and Linux in Google...

for example: http://kerneltrap.org/node/429

I would seriously recommend upgrading to a 2.6 kernel - (unless  
performance
for your web app is irrelevant)
It would also be time to think about an upgrade to Java 1.5 or 1.6.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFF9n8yW126qUNSzvURAkcMAJ93juvogDO9QxMAOW19R+I/cjDfcACfT3gl
w9MjlRfL7zzzByl77Y7xu08=
=pe3y
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message