[TUHS] fork

Folkert van Heusden via TUHS tuhs at tuhs.org
Tue May 12 18:19:25 AEST 2026


Hello,

I succeeded in implementing DEQNA support in my emulator so I could put 
it on-line with a simple HTTP server on BSD 2.11.

Now something unexpected is happening: after a request, a "<defunct>" 
proces is left in the process list. Usually that is caused by a fork() 
not being join()ed afterwards. But in main() of httpdp I invoke 
signal(SIGCHLD, SIG_IGN); so I thought I took care of that?

Could it be that old UNIX systems do not allow the signal-construction 
for that? Or is something else going wrong?

regards

p.s. it is on http://pdp.komputilo.nl:8080/ (behind a NAT router) and it 
takes quite a while to serve pages :-)

-- 
www.vanheusden.com [1]

Links:
------
[1] http://www.vanheusden.com


More information about the TUHS mailing list