> My development station is a SUN20 running Solaris 2.4 and I am using SUN's
> C compiler.
> I have a daemon that acts as a server for incoming socket connections. The
> parent process forks and waits with accept for a process to connect to the
> parent socket. The child process performs the asked job and terminates
> with an exit(0). This is the normal way it should be done.
> But the child processes do not really quit, they become zombies <defunct>
> and they disapear only if I kill the parent process.
> What can I do to kill the child processes ???
> Can someone help me?
> Thanks in advance.
signal handler which is activated on the signal of the child because in
this case the parent process which waits in in the accept routine will be
interrupted and can not wait anymore for sockets to connect.
You see my problem is not simple at all.
Roland