A Daemon Phreaking out.
Paul Cardwell
CCUCARD%indsvax1.bitnet at uicvm.uic.edu
Tue May 8 04:45:27 AEST 1990
I'm currently developing a Game for unix style systems.
I'm currently having troubles with my daemon.
Lets say someone did a 'kill -9' on the terminal that
is talking to the daemon. Ok for one the terminal dies.
Two the daemon goes nuts and eats CPUtime like you wouldn't
believe. I do check for errors reading & writing to the
terminal, but somehow the daemon still goes running like mad.
Yes, I close() the socket and unmask it from the mask.
I'm confused! Any ideas! Oh, of course I'm not 'root' so
I cannot use msgctl().
Paul.
p.s. I currently use BSD 4.2 on a Sequent (8 parallel processors).
More information about the Comp.unix.wizards
mailing list