[IRCServices Coding] Spontaneous SIGHUP problem in 4.5.43
Aragon Gouveia
aragon at phat.za.net
Wed Sep 18 15:05:11 PDT 2002
I never knew 4.5 could even be SIGHUP'd ...
| By Ballsy <ballsy at mystical.net>
| [ 2002-09-18 23:34 +0200 ]
> I erroneously posted to ircservices@ about this originally...I
> believe it belongs here.
>
> FreeBSD 4.2
> ircservices 4.5.43
> bahamut-1.4.30
>
> Over the past 2 days I've encountered some apparently spontaneous
> SIGHUPs with 4.5.43, which, according to the logs, are about to initiate a
> restart, but services never return. I just had another one a short time
> ago, and had debugging set to 3, and got the following (last number of
> entries, anyhow).
>
> [Sep 18 16:43:10.407449 2002] debug: Top of main loop
> [Sep 18 16:43:12.289542 2002] debug: buffered_read_one wanted 52524, got
> 24
> [Sep 18 16:43:12.289800 2002] debug: Received: :Serra PART #apprentice
> [Sep 18 16:43:12.289898 2002] debug: finduser(0xbfbffb00)
> [Sep 18 16:43:12.289984 2002] debug: finduser(Serra) -> 0x822ff00
> [Sep 18 16:43:12.290069 2002] debug: Serra leaves #apprentice
> [Sep 18 16:43:12.290154 2002] debug: chan_deluser() called...
> [Sep 18 16:43:12.290237 2002] debug: Deleting channel #apprentice
> [Sep 18 16:43:12.290322 2002] debug: chan_deluser() complete.
> [Sep 18 16:43:12.290415 2002] debug: Top of main loop
> [Sep 18 16:43:12.290502 2002] debug: Checking timeouts at time_msec =
> 1589641.250
> [Sep 18 16:43:12.290702 2002] debug: Finished timeout list
> [Sep 18 16:43:12.571615 2002] Received SIGHUP, restarting.
>
> It happened this morning after Services were up for only a couple
> hours, and just happened now after they were up for about 8hrs. Anyone
> come across this oddity? Nobody online is sending RESTART, and can't
> imagine anyone would be sending it from the shell....and even if they
> were, shouldn't services just do a proper restart ?
>
> Puzzled,
>
> David
>