Tomcat 4.1.1x really slow on linux

Hi,

I'm having a bit of difficulty with tomcat. Hopefully someone will have a few suggestions for me to try.

I've written a fair bit of stuff and have been testing it as I go on my local machine (using Tomcat 4.1.12 and Win2k). As soon as I move my stuff on to a machine running RedHat 8 (also with Tomcat 4.1.12) it slows to a crawl. I've tried Resin and it works fine.

When I'm using Tomcat (on the linux box) I can only get about 40 connections / requests in a minute. With Resin I can get close to 3000. With Tomcat on my Win2k machine everything runs fine.

Both my machines are running the exact same versions of everything (except the OS of course).

I don't have a clue what could be causing this. Any suggestions?

Ryan

[773 byte] By [vacodea] at [2007-9-28 11:47:11]
# 1

We have noticed the same problem and it is driving us nuts... we are running with Redhat 8, Tomcat 4.1.18 with Java 1.4.1_02 and can't get above about 30 connections... we also seem to have OutOfMemory problems too... We have been over most the code and are fairly certain it is not related to that...

Any pointers appreciated...

alexburtona at 2007-7-12 2:36:18 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
yeah we are noticing a similar problem, but have not tried resin. Would you recommend it? or were you just trying it out for comparison?
MichaelNealea at 2007-7-12 2:36:18 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
We are starting to get better performance using Redhat 7.3 and JRockit 8 (equiv 1.4.1 java). Might be worth a try...
alexburtona at 2007-7-12 2:36:18 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...