[bind10-dev] shutdown message not seen

Jelte Jansen jelte at isc.org
Fri Nov 20 09:37:40 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jreed at isc.org wrote:
> I don't think the demo parkinglot server is receiving the "shutdown" 
> message on the communication channel.
> 
> The bigtool sends the shutdown message to the bind10 boss and that 
> should send a shutdown message to the parkinglot.  I know the bind10 
> boss is getting the shutdown message, but the parkinglot is not.
> 
> This is in the branches/f2f200910.
> 
> See src/bin/parkinglot/ccsession.cc and src/bin/parkinglot/parkinglot.cc 
> and "stop_all_processes" in src/bin/bind10/bind10.py
> 

hmm, it appears none of the subprocesses is seeing the shutdown message sent by
the boss process; apparently when subscribing as a specific instance, you don't
get messages sent to (<channel>, "*"), i'm not sure whether this is a bug or
wrong usage of the cc (in case of the last, i have another feature request
michael ;) )

i've changed the boss to send two shutdown commands to specific instances
(ConfigManager and ParkingLot), the msgq daemon is still killed with a signal (i
don't think it's acting on command channel commands, and am not sure it should)

rev. 301

Jelte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksGY2QACgkQ4nZCKsdOncVjnQCgivPR2yQSh1ttiP95w+RhAfLM
LbUAoNEo5kDilx/NfV0JO7bA8Tny3OLU
=sCAL
-----END PGP SIGNATURE-----



More information about the bind10-dev mailing list