Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-05-2006, 03:07 PM
Member
 
Posts: 14
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?
Reply With Quote
  #2 (permalink)  
Old 02-05-2006, 06:39 PM
Zimbra Employee
 
Posts: 2,103
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)
Reply With Quote
  #3 (permalink)  
Old 02-06-2006, 06:55 PM
Member
 
Posts: 14
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.
Reply With Quote
  #4 (permalink)  
Old 02-06-2006, 06:56 PM
Zimbra Employee
 
Posts: 4,792
Default

Try "kill -QUIT <pid>"
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #5 (permalink)  
Old 02-07-2006, 08:06 AM
Member
 
Posts: 14
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.
Reply With Quote
  #6 (permalink)  
Old 02-07-2006, 08:57 AM
Zimbra Employee
 
Posts: 4,792
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.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #7 (permalink)  
Old 02-08-2006, 12:43 PM
Member
 
Posts: 14
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.
Reply With Quote
  #8 (permalink)  
Old 02-13-2006, 12:40 PM
Member
 
Posts: 14
Default

Bump because this thing still can't seem to go six hours without crashing.
Reply With Quote
  #9 (permalink)  
Old 02-13-2006, 12:46 PM
OpenSource Builder & Moderator
 
Posts: 1,166
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.
Reply With Quote
  #10 (permalink)  
Old 02-15-2006, 04:58 PM
Member
 
Posts: 14
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).
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.