zsh-workers
 help / color / mirror / code / Atom feed
* night of the living dead (processes)?
@ 1997-10-22  0:14 TGAPE!
  1997-11-27  7:16 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: TGAPE! @ 1997-10-22  0:14 UTC (permalink / raw)
  To: zsh-workers

Is there any way to handle the children produced in the <() construct
(and similar ones, as well) in zsh, instead of tossing them to init?
I've been running scripts which utilize this construct heavily, and I've
been monitoring them with top, and I've noticed they toss an awful lot
of zombies to init, based on the fact that init starts taking lots of
time (60%+ CPU at bad times), and if I renice init, top starts catching
zombies, a couple times more than twenty.

init is not good at handling zombies, since it needs to re-read
/etc/inittab each time (and it should, too), as well as checking all of
the tasks mentioned there to make sure they're still running.  I'm
running ZSH_VERSION 3.1.1.  I contemplated upgrading to 3.0.5, but it's
slower for all of my longest running tasks (**/glob stuff, and such) as
well as all other so I did not make install.  Bash also has this
problem.

Ed


^ permalink raw reply	[flat|nested] 4+ messages in thread
* night of the living dead (processes)?
@ 1997-10-22  0:14 Ed Grimm
  0 siblings, 0 replies; 4+ messages in thread
From: Ed Grimm @ 1997-10-22  0:14 UTC (permalink / raw)
  To: zsh-workers

Is there any way to handle the children produced in the <() construct
(and similar ones, as well) in zsh, instead of tossing them to init?
I've been running scripts which utilize this construct heavily, and I've
been monitoring them with top, and I've noticed they toss an awful lot
of zombies to init, based on the fact that init starts taking lots of
time (60%+ CPU at bad times), and if I renice init, top starts catching
zombies, a couple times more than twenty.

init is not good at handling zombies, since it needs to re-read
/etc/inittab each time (and it should, too), as well as checking all of
the tasks mentioned there to make sure they're still running.  I'm
running ZSH_VERSION 3.1.1.  I contemplated upgrading to 3.0.5, but it's
slower for all of my longest running tasks (**/glob stuff, and such) as
well as all other so I did not make install.  Bash also has this
problem.

Ed


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-12-05  5:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-22  0:14 night of the living dead (processes)? TGAPE!
1997-11-27  7:16 ` Bart Schaefer
1997-12-04 23:52   ` workaround for " TGAPE!
1997-10-22  0:14 Ed Grimm

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).