[TriLUG] Need perfomance tuning tips for tomcat 4.06

Smith, Brett bsmith at bloodhoundinc.com
Mon Apr 26 13:06:02 EDT 2004


Smith, Brett wrote:
>>>Smith, Brett wrote:
>>>Can you control resources used by tomcat 4.06?
>>>I have a tomcat 4.06 server running that is soaking up some resources I
> 
> want
> 
>>>back.
>>>Do you guys have performance tuning suggestions other than upgrade?
>>>I can't upgrade because of the amount of development required to move to
>>>4.1x or 5.1
>>>
> 
> 
>>Basics, you might have already tried all following:
>>1) Switch off logging or reduce it to minumum.
> 
> The logging is a good idea.
> where is the logging controlled from? 
> 
>>2) Hostname lookups.
> 
> Can you give me a quick rundown on where 3and4 are located?
> 
>>3) Max and min processes.
>>4) Control java's heap/stack sizes (-X options)
>>5) Check if any development related options are enabled,  like 
>>reloadable or unnecessary jars being loaded.
>>6) See if you can use any other jvm.
> 
> 
>>What is machine configuration/RAM?
> 
> Dual 733 w/1024 | rh 7.1 | j2sdk1.4.2_03
> nothing I can do about machine. 
> 
> I am pretty new to Tomcat but not linux so you can be real brief with
where
> to find 1,2,3.
> Are they controlled in the server.xml or a config/ file?

>All of them are in server.xml.  I had problem one very specific 
>problem with a Dual CPU and JDK 1.2 (or older donot remember 
>properly) but at the end after days of googling found that memory 
>(RAM) was bad and dual cpu is no good for older jvm's on linux. 
>You can check this by switching off swap. Write a small C code 
>which will eat and free memory using malloc()/free(), but this is 
>last thing to check, I guess.  Run memtest if you can.

>From my old bookmarks following link should save you some time
>http://homepage.mac.com/sander/iblog/C1059910030/E1027935578/

>HTH. Let us know what works for you.
>-Krishna.

Thanks for the tips... the link rocked.
reloadable="false"
enableLookup="false"
debug="0"

WFM

Brett



This email message is for the sole use of the intended recipients(s) and may contain confidential and privileged information of Bloodhound Software, Inc.. Any unauthorized review, use, disclosure is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.



More information about the TriLUG mailing list