waste of resources ?
hniksic at srce.hr
Mon Jun 7 21:25:29 CEST 1999
Arne Mueller <a.mueller at icrf.icnet.uk> writes:
> Im running python 1.5.2b2 on SGI power challange irix64 version 6.5.
> Everytime a child process is created via fork(), it realy does it's
> job but never dies, instead the number of zombie processes (as
> reported by the 'top' program) steadily increases, though I call the
> sys.exit(0) method for the child. Any idea how exit a process
> without creating a zombie?
The parent should wait() for its children. See a Unix programming
manual for more details.
More information about the Python-list