The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tomcat Memory Issues

Discussion in 'General Discussion' started by dwayrynen, Jun 11, 2003.

  1. dwayrynen

    dwayrynen Member

    Joined:
    Jun 19, 2002
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Has anyone who has installed the latest (or any) tomcat installer noticed memory leak problems with Apache?

    After installing Tomcat, the apache httpd proceses memory size will grow without bound until apache is restarted. Each process will grow about 1 megabyte every 5 minutes or so.

    I've looked through the forum here for references to Tomcat and memory leak issues and what googling I have done isn't turning up anything of help.

    I understand I can restart apache and/or have each child only run a few times before exiting and restarting, but I'd rather see if someone has found the memory leak bug first.

    I have not opened a trouble ticket yet

    Darin

    cPanel.net Support Ticket Number:
     
  2. hostito

    hostito Active Member

    Joined:
    Mar 9, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    me 2

    Yes, I also see this happening with my server. Unfortunately I am learning Tomcat, so I am still reading up on it.

    Did you check your /etc/httpd/logs/error_log?

    I get this:

    [Thu Jun 12 00:44:57 2003] (error) [jk_logger_file.c (165)]: Can't open log file ${serverRoot}/logs/mod_jk.log

    and a bunch of these:

    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (248)]: env.createBean2(): Create [lb] lb
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (248)]: env.createBean2(): Create [threadMutex] (null)
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (312)]: env.createBean2(): register threadMutex:6 0x868cba8
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (248)]: env.createBean2(): Create [threadMutex] (null)
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (312)]: env.createBean2(): register threadMutex:7 0x868d3f8
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (383)]: env.getByName(): Get by name workerEnv 0x8679b18
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (248)]: env.createBean2(): Create [threadMutex] (null)
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (312)]: env.createBean2(): register threadMutex:8 0x868ec50
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (312)]: env.createBean2(): register lb:lb 0x868ba50
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (248)]: env.createBean2(): Create [threadMutex] (null)
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (312)]: env.createBean2(): register threadMutex:9 0x868f4f8
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (383)]: env.getByName(): Get by name ajp13:localhost:8009 0x8683880
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (383)]: env.getByName(): Get by name ajp13:localhost:8009 0x8683880
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (248)]: env.createBean2(): Create [handler.response]
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (312)]: env.createBean2(): register handler.response: 0x868fd80
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (248)]: env.createBean2(): Create [handler.logon]
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (312)]: env.createBean2(): register handler.logon: 0x86907d8
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (248)]: env.createBean2(): Create [uri] /
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (383)]: env.getByName(): Get by name workerEnv 0x8679b18
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (312)]: env.createBean2(): register uri:/ 0x8691840
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (383)]: env.getByName(): Get by name status: 0x867e6b0
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (383)]: env.getByName(): Get by name ajp13:localhost:8009 0x8683880
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (383)]: env.getByName(): Get by name ajp13:localhost:8009 0x8683880
    [Thu Jun 12 00:44:57 2003] (debug) [jk_env.c (383)]: env.getByName(): Get by name ajp13:localhost:8009 0x8683880


    Damn, I just don't know enough Tomcat yet. Back to the manuals...

    Regards...

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page