Hello

Sorry for bring up this all message, but did you solved?
I have the same problem now, and since I have a cron job to restart
apache every X minutes, and tomcat used all the memory, the whole
httpd goes down.
If anybody can give some lights here, I'll much apreciate .

-- 
Best regards,

SW> Hi,
        
SW>         I would like to bring up the issue that even if I use lastest JRE1.3.  The 
problem still exists.  AND even if I load test a
SW> jsp file which contains nothing to execute.  The problem still exists.  So, I 
guess that:
SW>         1. If the mod_jk is compiled with -DEAPI and you are using ajp13.  There 
is still memory leak.
SW>         2. But if you compile it without -DEAPI, the java heap seems to be 
constant for that.  However, I don't know why the
SW> allocated memory for the JVM still increases.

SW> Thx. and Regards.
SW> Steve.

SW> -----Original Message-----
SW> From: hanasaki [mailto:[EMAIL PROTECTED]]
SW> Sent: Saturday, March 02, 2002 12:10 AM
SW> To: Tomcat Users List
SW> Subject: Re: Jetty .vs. tomcat


SW> Just a thought.  Try the most current Production JDK (1.4) and the most 
SW> current Tomcat (4+).  That JDK version is a bit old.  I am not preaching 
SW> "always do the latest and greatest" or "Use Beta Stuff in Prod".

SW> Also, It might not hurt to check your code.  It is possible to introduce 
SW> a "memory leak" in your own code by accidently maintaining a reference 
SW> to objects you no longer use.  If the ref count never goes to zero, it 
SW> will never be scheduled for GC.

SW> Steve Wong wrote:
>> Hi mingfai,
>> 
>>       I am trying other application servers because I have some problems using 
>tomcat in a production environment.
>> 
>>       The environment is Solaris 8, JRE1.2.2, tomcat3.3, Apache1.3.23 with mod_ssl 
>and mod_jk.
>>       What I discovered is that when I use apache benchmark tool(ab) to generate 
>many requests on apache, the java heap allocated
>> in tomcat continuously increases.  Up to a point that there is OutOfMemoryError.  
>>       If I generate the requests on tomcat instead, there is no problem.
>>       I am using the OptimizeIt to see the above result.
>> 
>>       And What I can find in cvs log of mod_jk is that there was a memory leak bug 
>in May last year.  But this bug is said to be fixed.
>>       If I use Apache1.3.23 without mod_ssl, I find that the java heap remains 
>stable.  However, I discovered that the allocated memory
>> of the java process of tomcat continuously increases.  Because I am afraid that 
>there will be OutOfMemeryError in the production
>> environment.  So, I restart the tomcat process regularly.
>> 
>>       Have you discovered the same things for your web application??
>> 
>> Thx. and Regards.
>> Steve.
>> 
>> -----Original Message-----
>> From: Ming Fai [mailto:[EMAIL PROTECTED]]
>> Sent: Friday, March 01, 2002 4:05 PM
>> To: Tomcat Users List
>> Subject: RE: Jetty .vs. tomcat
>> 
>> 
>> hi Steve,
>> 
>> I'm a Tomcat user. from what I read on the web, I believe Jetty does
>> outperform Tomcat significantly in static pages and also outperform Tomcat
>> to a unknown degree in dynamic pages. so, why i still choose Tomcat?
>> 
>> My main consideration is in scalability. Multiple instance of Tomcat can be
>> run and load balanced with Apache and mod_jk. I believe it can achieve a
>> very high scalability in handling simultanceous requests. Other
>> considerations are: good integration with other Apache and commercial
>> products, better support (i personally think the 'support' from Apache group
>> is better than other open src groups), full implementation of JCP
>> specification etc.
>> 
>> And Tomcat should not be used together with Apache if there is heavy loading
>> of static pages.
>> 
>> Other than Tomcat and Jetty, Resin is also quite famous. And there are other
>> commercial choice like WebLogic, JRun and Orion.  You should make decision
>> base on your need.
>> 
>> In my opinion, if your site is small in scale, and requires a very good
>> response time, then Jetty or Resin are your choice. Otherwise, Tomcat is a
>> good choice in general and it is a proven product. It occupies about 50% of
>> the servlet engine market as of mid 2001.
>> (http://www.devx.com/judgingjava/articles/sixyears/printable/sixyearsp2.asp#
>> fig7)
>> 
>> Any comment are welcome!
>> 
>> Regards,
>> mingfai
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>>-----Original Message-----
>>>From: Steve Wong [mailto:[EMAIL PROTECTED]]
>>>Sent: Friday, March 01, 2002 3:17 PM
>>>To: [EMAIL PROTECTED]
>>>Subject: Jetty .vs. tomcat
>>>
>>>
>>>
>>>      How will you compare jetty with tomcat?
>>>      Which one will you choose for a production environment? Why?
>>>      Any Performance figures about these 2 servlet containers?
>>>
>>>Thx. and Regards.
>>>Steve.
>>>
>>>--
>>>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>>>For additional commands: <mailto:[EMAIL PROTECTED]>
>>>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>>>
>> 
>> 
>> --
>> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>> For additional commands: <mailto:[EMAIL PROTECTED]>
>> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>> 
>> 
>> --
>> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>> For additional commands: <mailto:[EMAIL PROTECTED]>
>> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>> 
>> 



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to