[IRCServices Coding] Spontaneous SIGHUP problem in 4.5.43

Ballsy ballsy at mystical.net
Wed Sep 18 19:50:06 PDT 2002


On Thu, 19 Sep 2002, Andrew Church wrote:

>      A question on the SIGHUPs: does the time they occur have any relation
> to the time you log out of your shell?  Also, do you have the executable
> path configured correctly (i.e. does an OperServ RESTART actually restart
> Services properly?)

	That timing question crossed my mind today as well, as the shell 
actually logs me out after 65mins.  In fact, it just did so in the last 
couple hours (wasn't watching).  Services stuck around both when I was auto 
logged out, and when I manually exit the shell the last couple times I've 
tested it.
	Just used OperServ's RESTART command and services promptly 
returned in fine working order...here's snippets of debug level 3...

[Sep 18 22:39:17.047755 2002] OperServ: Ballsy: restart
[Sep 18 22:39:17.047964 2002] Received SIGHUP, restarting.
[Sep 18 22:39:17.048088 2002] debug: Top of main loop
[Sep 18 22:39:17.048171 2002] debug: Running expire routines

<snip> tons of "Updating last seen time" here

[Sep 18 22:39:17.061834 2002] debug: nextuser() returning NULL (end of 
list)
[Sep 18 22:39:17.062240 2002] debug: Saving databases
[Sep 18 22:39:17.496414 2002] Restarting
[Sep 18 22:39:17.496680 2002] debug: flush_write_buffer wanted 90, got 90
[Sep 18 22:39:17.496937 2002] debug: Sent: :services.mystical.net SQUIT 
services.mystical.net :RESTART command received from Ballsy
[Sep 18 22:39:17 2002] Services 4.5.43 (compiled for ircd.dal Bahamut) 
starting up
[Sep 18 22:39:18 2002] Databases loaded

	I have another shell from which to run them (RedHat 7.3, versus 
the current FreeBSD one), which I 
may try tomorrow if this continues, just to try to rule another thing out.  
Thanks for the continued support and good work.


David