Page 1 of 3 123 LastLast
Results 1 to 10 of 42

Thread: Constant crashes, connection refused on Tomcat restart

Hybrid View

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

    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
    10

    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
    10

    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
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default crashes

    Virtual server?

    How much disk? (Is it full?)

    We log the status so often since that's what updates the status page in the admin console.

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

    Default

    Quote Originally Posted by marcmac
    Virtual server?

    How much disk? (Is it full?)

    We log the status so often since that's what updates the status page in the admin console.
    It is a physical OS install, not a Xen VM or Virtuozzo VPS, and the /opt partition it's installed upon is 6 GB with 4.5 GB free. The filesystem is ext3, and not running through LVM/RAID.

    It would be helpful if a future revision could log the status to MySQL or somewhere else so it stops polluting the syslog and making it impossible to track down real problems.

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

    Default

    think multiple servers - local syslog collection point.

    Syslog is then parsed, and the information dumped into sql.

    That's what we're doing.

    If it's in the way of viewing the logs: grep -v STATUS

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

    Default

    Can you send us the /var/log/zimbra.log, /var/log/messages, and /opt/zimbra/log/zimbra.log for about 200 lines before and after the crash?

    Also - the status logging should be logged as local0.info - so if it's going to /var/log/messages, editing your syslog.conf should change that.

Similar Threads

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