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
  #21 (permalink)  
Old 02-25-2006, 05:13 PM
Zimbra Employee
 
Posts: 2,103
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?
Reply With Quote
  #22 (permalink)  
Old 02-25-2006, 08:46 PM
Senior Member
 
Posts: 53
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?
Reply With Quote
  #23 (permalink)  
Old 02-25-2006, 08:58 PM
Senior Member
 
Posts: 53
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/
Reply With Quote
  #24 (permalink)  
Old 02-25-2006, 11:34 PM
Zimbra Employee
 
Posts: 2,103
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
Reply With Quote
  #25 (permalink)  
Old 02-26-2006, 02:19 PM
Senior Member
 
Posts: 53
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
Reply With Quote
  #26 (permalink)  
Old 03-05-2006, 11:07 PM
Member
 
Posts: 14
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
File Type: zip stacktrace.5825.ZIP (11.0 KB, 110 views)
Reply With Quote
  #27 (permalink)  
Old 03-05-2006, 11:53 PM
Zimbra Employee
 
Posts: 4,792
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.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #28 (permalink)  
Old 03-07-2006, 02:32 PM
Senior Member
 
Posts: 53
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:
Quote:
idle time on this box has gone backwards, and some old loaddata has been lost.
normally it looks like:
Quote:
CPU data for wifi.duxarea.com User 7.22 % - System 1.38 % - Idle 91.40
Attached Files
File Type: zip catalina.out.zip (17.2 KB, 104 views)
Reply With Quote
  #29 (permalink)  
Old 03-07-2006, 06:19 PM
Zimbra Employee
 
Posts: 4,792
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?
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #30 (permalink)  
Old 03-07-2006, 07:38 PM
Senior Member
 
Posts: 53
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
Quote:
[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..
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.