[OGo-Users] Webui killed by watchdog?
Adam Tauno Williams
users@opengroupware.org
Tue, 12 Feb 2008 08:57:38 -0500
--=-v+ckJ9iJSq++GSTk4seK
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
> I sometimes see that the OgO web ui is dead, and foundee the following =20
> in the err log:
> <snip>
> [14777]: watchdog handling SIGTERM ..
> watchdog[14777]: terminating child 14779 ..
> Feb 12 08:20:42 ogo-webui-1.1 [14779]: <0x0x1257398[WOHttpAdaptor]> =20
> adaptor stops application: <OpenGroupware[0x0x73c998]: =20
> name=3Dogo-webui-1.1 terminating> ...
> terminated child 14779 exit=3D0.
> </snip>
> I run a self-compiled OgO 1.1.7 on Ubuntu 7.10.
> Questions:
> - what is the reason for the watchdog timeout? =20
Well, there is "watchdog handling SIGTERM". I think this message comes
from wsignalHandler in SOPE; the most likely cause is someone or
something killed the process -
case SIGTERM:
/* TERM signal (kill 'pid') */
fprintf(stderr, "[%i]: watchdog handling SIGTERM ..\n", getpid());
killChild();
exit(0);
/* shouldn't get here */
abort();
Do you see anything in the error log file immediately before this
occurs?
> I /might/ be related by =20
> OgO trying to contact an *extremely* slow M$ Exchange server which =20
> sometimes needs 2 minutes (!!) to return a message list (this software =20
> is complete crap!). =20
> Any way to increase this timeout?
Not to my knowledge. You could set ImapLogEnabled,
ImapPreventConnectionExceptions, ProfileImapEnabled, and/or
ImapDebugEnabled in some combination to see what you can see. =20
Or you could fix the really slow IMAP server. :)
> - if the watchdog kills a process, is it possible to restart it =20
> immediately?
I think that is the intent of the watchdog.
--=-v+ckJ9iJSq++GSTk4seK
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQBHsaXSLRePpNle04MRAl5bAJ0bjcBO4yGpCx62nfab1s98Ye5i9ACfVCPX
S3USfOdX9+C12t1setCw0eY=
=NA8/
-----END PGP SIGNATURE-----
--=-v+ckJ9iJSq++GSTk4seK--