Page 1 of 5 123 ... LastLast
Results 1 to 10 of 42

Thread: Constant crashes, connection refused on Tomcat restart

  1. #1
    Join Date
    Dec 2005
    Posts
    14
    Rep Power
    9

    Default Constant crashes, connection refused on Tomcat restart

    Running Zimbra Network M4, every couple of hours most of the Tomcat system goes down. IMAP dies (still listening on the socket but times out on connect), and users cannot log into the web interface (can log in, then sits at "Loading ..." screen indefinitely. None of the Zimbra or Tomcat logs contain anything that could be perceived as indicating any sort of problem. When trying to restart Tomcat, a "java.net.ConnectException: connection refused" error is encountered; the process needs to be killed manually, and then restarted. It's driving our testers nuts.

    Anyone have any ideas what's up?

  2. #2
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default kill -3 <tomcat pid>

    kill -HUP the tomcat pid, and check /opt/zimbra/tomcat/logs/catalina.out for a stacktrace - send us the stacktrace (attach it to a forum post)

  3. #3
    Join Date
    Dec 2005
    Posts
    14
    Rep Power
    9

    Default

    Quote Originally Posted by marcmac
    kill -HUP the tomcat pid, and check /opt/zimbra/tomcat/logs/catalina.out for a stacktrace - send us the stacktrace (attach it to a forum post)
    When I kill -HUP the process it just hangs with no output until I kill -9 it.

  4. #4
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Try "kill -QUIT <pid>"
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  5. #5
    Join Date
    Dec 2005
    Posts
    14
    Rep Power
    9

    Default

    kill -QUIT results in the same thing; the process stays hung, doesn't output anything to the logs, and doesn't quit. It has to be killed with kill -9 in order to restart it.

  6. #6
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Interesting... After you restart it can you try a "kill -QUIT <pid>" to see if Java will dump it's thread stacks then. It's pretty rare to get recent JDK's this hung but I have seen it before on older JDK's.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  7. #7
    Join Date
    Dec 2005
    Posts
    14
    Rep Power
    9

    Default

    Quote Originally Posted by KevinH
    Interesting... After you restart it can you try a "kill -QUIT <pid>" to see if Java will dump it's thread stacks then. It's pretty rare to get recent JDK's this hung but I have seen it before on older JDK's.
    Yes, it dumps all of the threads correctly after a fresh restart. When it's hung, it's hung hard.

  8. #8
    Join Date
    Dec 2005
    Posts
    14
    Rep Power
    9

    Default

    Bump because this thing still can't seem to go six hours without crashing.

  9. #9
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    what OS are you running, and have you tried upgrading to GA-156? i had all these problems with the betas but the GA is solid as a rock.

  10. #10
    Join Date
    Dec 2005
    Posts
    14
    Rep Power
    9

    Default

    Quote Originally Posted by dijichi2
    what OS are you running, and have you tried upgrading to GA-156? i had all these problems with the betas but the GA is solid as a rock.
    Oh, whoops, I knew I forgot a bunch of critical information in my post.

    Zimbra 3.0 Network GA is running on CentOS 4.2 with a 2.6.9 kernel. The system is a 2.4 GHz Pentium 4 with 512 MB of system memory. At the time of the Zimbra crash, there is no abnormal CPU or memory usage, nor anything logged to the system log (though it's hard to tell thanks to Zimbra logging service status for all its services once per minute to /var/log/messages for some reason that I, despite far too much contemplation, still cannot discern).

Similar Threads

  1. zmprov mc default zimbraFeatureNotebookEnabled TRUE
    By nbhanji in forum Installation
    Replies: 11
    Last Post: 04-29-2008, 10:39 AM
  2. Can not reach https://example.com:7017/zimbraAdmin
    By Max Ma in forum Installation
    Replies: 14
    Last Post: 03-31-2007, 09:14 AM
  3. Replies: 26
    Last Post: 02-12-2007, 06:23 PM
  4. Problems: Fresh Zimbra on Fresh Debian
    By bronto in forum Installation
    Replies: 5
    Last Post: 09-11-2006, 06:14 PM
  5. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 10:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •