Re: Cyrus backend crashing (Solaris)

2010-07-20 Thread Gary Mills
On Mon, Jul 19, 2010 at 05:04:18PM +0100, David Mayo wrote:
> 
> When trying to diagnose the issue, on any attempt to run ps, prstat or 
> to HUP the syslogd process (to set the log level for imapd to "debug") 
> the command hangs and cannot be exited with Ctrl+C. Similarly, attempts 
> to kill the master process or shut down the system (even bypassing the 
> shutdown scripts by using "reboot") do not have any effect other than 
> hanging the shell in which the commands were issued. New shells can be 
> opened and certain commands run, but we aren't much closer to knowing 
> precisely what is wrong. The only way to bring the system back is to 
> reset it via the on board console.

This happened to me about a year ago with Cyrus on a Solaris 10
server.  The cause was a deadlock in one of the kernel ZFS modules.
The problem is fixed in the current Solaris patches.

-- 
-Gary Mills--Unix Group--Computer and Network Services-

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Cyrus backend crashing (Solaris)

2010-07-20 Thread Duncan Gibb
On 19/07/10 17:04, David Mayo wrote:

DM> My suspicion is somehow the behaviour in Cyrus is tickling a
DM> Solaris bug, but I wanted to check with other Cyrus admins to
DM> see if they have seen similar behaviour and had tracked it
DM> down to anything in particular.

Can't say as I have - Solaris is not our preferred platform  ;-)

Is it possible the box is running out of swap space?  Are you using BDB
for your Cyrus databases (deliver.db in particular)?  If so, what
version?  Might be worth looking what's happening with shared memory.


Cheers


Duncan

-- 
Duncan Gibb - Technical Director
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk/ || t: +44 870 608 0063
Debian Cyrus Team - https://alioth.debian.org/projects/pkg-cyrus-imapd/

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html