Re: JVM memory problem on Linux

From: Jared Dykstra (dyksjare_at_hotmail.com)
Date: 02/19/04


Date: 18 Feb 2004 15:33:21 -0800

bouchia.nazha@free.fr wrote in message news:<cc819785.0402180059.4308bc5e@posting.google.com>...
> Hello
>
> I have encountered a problem using tomcat, linux and ssl.
> My problem seem to be a JVM memory deallocation problem on Linux.
>
> This is my configuration:
> OS: Redhat7.2
> Tomcat: 4.0
> Jdk: 1.3.1_07
>
> I have a servlet that does a post https connexion with a certificat
> client and server.
> When I execute 200 (or more) this servlet, we can see that the memory
> increase.
> After 200 calls consecutive, the memory has increased of 20M and
> doesn't decrease.
>
> After 1000 calls, the server doesn't have enough memory and tomcat
> crash.
>
> I have upgrated the jdk toV1.4.1 and tomcat to V5.0, and have the same
> problem.
> I have add tomcat option like "-Xmx" without succes.
>
> When I do this test with Windows2000, the memory increase but decrease
> after.
> It seem to be link with linux.
>
> I have post a message on Tomcat-Forum, i have this response:"It could
> be a JVM bug on Linux or
> another configuration problem. Since the problem occurs under platform
> A while
> not on platform B, it would be hard to blame tomcat for a memory
> leak."
>
> Have you any idea ? It's a configuration problem ?
> Do you know how to configure Linux Kernel ??
>
> Any help will be welcome.
> Thanks.

Are you using Apache and the Apache HTTPD connector with tomcat, or is
tomcat running on port 80? If you are using a connector, try
eliminating it to see if that is where the problem lies.

---
Jared Dykstra
http://www.bork.org/~jared


Relevant Pages

  • JVM memory problem on Linux
    ... I have encountered a problem using tomcat, ... My problem seem to be a JVM memory deallocation problem on Linux. ... another configuration problem. ...
    (comp.lang.java)
  • Memory Utilization
    ... I have installed the JDK 1.5 and Tomcat on Linux, ... I start the Tomcat the memory utilization of tomcat is ... rss,pmem,pcpu,comm,user | grep java ...
    (RedHat)
  • Re: Hox to match Linux PID to tomcat thread
    ... ID of the Tomcat process. ... If you're running a non-antique Linux version there's no ... be better with a Java Webserver using multiplexing and NIO. ... Of course the best Java Web server in the world won't ...
    (comp.lang.java.programmer)
  • Re: Java-API als WebService bereitstellen
    ... Du hast Daten ueber MSMQ zwischen einem Windowsrechner ... dass Du einen SOAP-Request von VBA 6.0 gegen einen Tomcat ... auf Linux laufen gelassen hast? ... Gruesse, Lothar ...
    (de.comp.lang.java)
  • Re: Hox to match Linux PID to tomcat thread
    ... You therefore need to run your browser from root, ... On Linux not only can you run Tomcat as a non-root ... It is trivial on a Linux system to have a non-privileged process ... allow this for a production server. ...
    (comp.lang.java.programmer)