Tomcat causes Apache to hang. Any ideas?

2004-08-25 Thread Sean Finkel
with dozens, sometimes hundreds of Apache processes that are hung by tomcat. This results in memory usages exceeding 2gb! Has anyone experienced similar problems or have any suggestions? -Sean Finkel - To unsubscribe, e-mail: [EMAIL

Re: Tomcat causes Apache to hang. Any ideas?

2004-08-25 Thread Sean Finkel
What kernel was running on the old box? Better put, what is different between the two machines? 7.3 on the old system. 9.0 on an intermediary system, with only the private instance installed (which never hung). I recall RHEL 3.0 comes with an NPTL-based 2.4, which will require setting

Re: Tomcat causes Apache to hang. Any ideas?

2004-08-26 Thread Sean Finkel
I recall RHEL 3.0 comes with an NPTL-based 2.4, which will require setting LD_KERNEL_ASSUME=2.4 to disable the NPTL functionality for the Java process. That may be it. I am assuming you mean set this as an environment variable? I will give this a try and see what happens! Thank you for the

Re: Tomcat causes Apache to hang. Any ideas?

2004-08-26 Thread Sean Finkel
Shapira, Yoav wrote: Hi, Perhaps Tomcat standalone would be sufficient for your application requirements? No, because the user also wants access to PHP and other related Apache features (htacces, mod_rewrite, etc). -Sean - To

Re: Tomcat causes Apache to hang. Any ideas?

2004-08-26 Thread Sean Finkel
Sean Finkel wrote: Hello, First a brief background on the setup: We are running Apache 1.3.31 utilizing mod_jk (not jk2). We are running two instances of Tomcat. Previously, both were version 4. Currently, we have one shared instance running the latest 5.x release (just compiled yesterday). We

Re: Tomcat causes Apache to hang. Any ideas?

2004-08-26 Thread Sean Finkel
(Apache hands *everything* off for this domain to Tomcat, including images): And yet you said Tomcat standalone wasn't an option for this installation? Too bad. You can do much of mod_rewrite with the balancer app, you can do much of .htaccess with Servlet security constraints, and if

Re: Tomcat causes Apache to hang. Any ideas?

2004-08-26 Thread Sean Finkel
Sorry, this is a shared server, and he wants his site available on port 80. Tomcat standalone can run on port 80 without running as root by using jsvc (from commons-daemon). There are examples and more information on this configuration at

Re: Tomcat causes Apache to hang. Any ideas?

2004-08-27 Thread Sean Finkel
Maybe I am missing something, but wouldn't that not be able to bind to port 80 since Apache is already bound to it? There is a lot about the Java world I am not familiar with, so maybe it can... You would need separate ip addresses for apache and tomcat. Aye I figured as much And

Re: Tomcat causes Apache to hang. Any ideas?

2004-08-29 Thread Sean Finkel
Shapira, Yoav wrote: I already have. This exact same setup worked flawlessly under RH 7.3 and RH 9.0 Actually, I meant a non-Linux platform. But even your results so far suggest an RHEL-specific issue. Maybe try LD_ASSUME_KERNEL=2.2.5 instead of 2.4? I remember people having

RHEL 3.0, Tomcat 4.x and IPTables

2004-09-02 Thread Sean Finkel
collision between IPTables and Tomcat? As well, this setup worked flawlessly under RH 9.0 and RH 7.3. Just looking for ideas here, as this honestly makes no sense to me. thanks! -Sean Finkel - To unsubscribe, e-mail: [EMAIL PROTECTED