[SOGo] HttpAdaptor SIGPIPE

Helge Hess sogo@opengroupware.org
Mon, 21 Nov 2005 16:16:20 +0100


On Nov 21, 2005, at 16:03, mwacker@linagora.com wrote:
> Nov 10 15:31:58 sogod-0.9 [5959]: [WARN] <0x0836CADC[WOHttpAdaptor]>
> caught SIGPIPE !

SIGPIPE happens if some socket goes down. This can be one of those:
a) Apache=>SOGo socket
b) LDAP connection
c) IMAP4 connection
d) PostgreSQL connection

Its a bit hard to debug if we can't reproduce it though :-/

> After that content isn't served correctly (page are still available but
> without storage content : no apt showed, no mailboxes)

Weird. Please file a bugreport.

Its not unusual that signal handler bugs corrupt memory, so maybe there 
is some bug in there. But of course the real question is why the 
SIGPIPE occurs in the first place.

One thing to do for you: if you have a sogod instance running for some 
two days, list the file descriptors which are opened by the process 
(using lsof as root).
Attach that to the bug. Maybe we can see what connections are still 
open and might go down.

> The only thing i know about that is that it appends frequently after a
> certain amount time (3-4 days) during which sogod is not requested at 
> all.

It would be best if SOGo instances would recycle themselves once a day 
automagically.

Greets,
   Helge
-- 
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org