Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 42

Thread: Constant crashes, connection refused on Tomcat restart

  1. #21
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    At least one problem is a zimlet that needs to be cleared out:

    zmzimletctl undeploy com_zimbra_po

    Also - can you verify that zimbraMtaAuthHost and zimbraMtaAuthURL are set correctly?

  2. #22
    Dux T's Avatar
    Dux T is offline Senior Member
    Join Date
    Jan 2006
    Location
    Seattle, WA
    Posts
    53
    Rep Power
    9

    Default

    Quote Originally Posted by bobby
    did you kill -3 <tomcat-process-id> when it hangs and check catalina.out?
    Not yet, I'm autorestarting the service on failure now with a cron job that checks the status every 5 minutes ... gee it'd be cool if that was an option with zmmon any ideas on automating getting the PID?

  3. #23
    Dux T's Avatar
    Dux T is offline Senior Member
    Join Date
    Jan 2006
    Location
    Seattle, WA
    Posts
    53
    Rep Power
    9

    Default

    Quote Originally Posted by marcmac
    At least one problem is a zimlet that needs to be cleared out:

    zmzimletctl undeploy com_zimbra_po

    Also - can you verify that zimbraMtaAuthHost and zimbraMtaAuthURL are set correctly?
    OK undeployed... here's the authhost & url
    Code:
    [zimbra@wifi ~]$ zmprov gs wifi.duxarea.com | grep zimbraMtaAuthHost
    zimbraMtaAuthHost: wifi.duxarea.com
    [zimbra@wifi ~]$ zmprov gs wifi.duxarea.com | grep zimbraMtaAuthURL
    zimbraMtaAuthURL: https://wifi.duxarea.com:443/service/soap/

  4. #24
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    zmprov gs wifi.duxarea.com | grep zimbra zimbraMailMode - should be https or mixed. If it's not, reset the auth host:
    zmprov ms wifi.duxarea.com zimbraMtaAuthHost wifi.duxarea.com

  5. #25
    Dux T's Avatar
    Dux T is offline Senior Member
    Join Date
    Jan 2006
    Location
    Seattle, WA
    Posts
    53
    Rep Power
    9

    Default

    Quote Originally Posted by marcmac
    zmprov gs wifi.duxarea.com | grep zimbra

    zimbraMailMode - should be https or mixed. If it's not, reset the auth host:
    zmprov ms wifi.duxarea.com zimbraMtaAuthHost wifi.duxarea.com
    zimbraMailMode: mixed

  6. #26
    Join Date
    Dec 2005
    Posts
    14
    Rep Power
    9

    Default

    Here's a stacktrace. There's a bunch of stuff about locking and waiting in here on just about every thread; this looks like some kind of deadlock issue. I'll leave it to you guys to figure out what's up.

    I found a post about a previous issue regarding deadlock:
    Quote Originally Posted by dkarp
    The problem (at least in the second dump) is that we're doing new-message notification to an IMAP connection running the IDLE command, and the write is blocking for some reason. Unfortunately, the lock on the Mailbox is being held by this thread, so everything else backs up waiting for the write to finish and the lock to be released. And the write never finishes.

    This will almost certainly go away when we switch to our new IMAP/POP/LMTP framework, as it does network writes from a different thread pool. For now, we'll see what we can do to figure out a temporary workaround.

    Thanks very much for the full thread dump!
    It doesn't seem the issues are related, however. Tomcat as a whole is going down here.
    Attached Files Attached Files

  7. #27
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Quote Originally Posted by Interkey JeffG
    Here's a stacktrace. There's a bunch of stuff about locking and waiting in here on just about every thread; this looks like some kind of deadlock issue. I'll leave it to you guys to figure out what's up.

    I found a post about a previous issue regarding deadlock:

    It doesn't seem the issues are related, however. Tomcat as a whole is going down here.
    Yep, seems you hit a deadlock in the IMAP login code. What version are you running? If your not running 3.0.1 please upgrade as in previous releases we fixed a few related deadlocks in the IMAP server code.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  8. #28
    Dux T's Avatar
    Dux T is offline Senior Member
    Join Date
    Jan 2006
    Location
    Seattle, WA
    Posts
    53
    Rep Power
    9

    Default

    Quote Originally Posted by Dux T
    zimbraMailMode: mixed
    My crashes have reduced quite a bit by adding an extra GB of ram but they still occur ... now I also get a crash where everything shows up as "Running" but no one can log on to the webclient or IMAP through outlook.

    The original crashes still happen but heres the catalina.out from the "silent" crash, I added cp to c.o.$$ in my zmrestart script

    There was also output from infoTen.pl which is supposed to show CPU usage but it had a wierd error:
    idle time on this box has gone backwards, and some old loaddata has been lost.
    normally it looks like:
    CPU data for wifi.duxarea.com User 7.22 % - System 1.38 % - Idle 91.40
    Attached Files Attached Files

  9. #29
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Dux, What version do you have? Seems you hit a deadlock in the session cache. How many users, and what interfaces? POP? IMAP? Outlook? Web UI?
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  10. #30
    Dux T's Avatar
    Dux T is offline Senior Member
    Join Date
    Jan 2006
    Location
    Seattle, WA
    Posts
    53
    Rep Power
    9

    Default

    Quote Originally Posted by KevinH
    Dux, What version do you have? Seems you hit a deadlock in the session cache. How many users, and what interfaces? POP? IMAP? Outlook? Web UI?
    Ver 3.01
    76 total users
    Most are IMAP via Outlook some are Web UI a couple via POP3 in outlook and outlook express ... I use everything (Outlook, Thunderbird, Web UI, Kontact) but prefer the Web UI
    [zimbra@wifi ~]$ zmmtareport
    Generating report


    2922 messages found for 5364 recipients (264121)
    351095718 total bytes
    120155.96 bytes/msg
    1.84 recipients/msg
    90.39 delay/msg (sec)
    41 bounced deliveries
    137 deferred deliveries
    I saw the other post regarding a Deadlock issue KevinH suggested increasing the number of IMAP threads to perhaps 4 / User ... would that apply here? Should POP be done the same way for the same ratio?
    Last edited by Dux T; 03-08-2006 at 02:33 PM.

Page 3 of 5 FirstFirst 12345 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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, 07: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, 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
  •