octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #37591] system with async option results in zo


From: anonymous
Subject: [Octave-bug-tracker] [bug #37591] system with async option results in zombie processes
Date: Fri, 22 Sep 2017 02:57:14 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #9, bug #37591 (project octave):

With respect to comment #5: are you proposing to periodically reap
asynchronously started child processes in the background? Actually, I have
code that relies on the present behaviour: I use octave to run a number of
processes in the background (lengthy calculations in external programs) in
parallel. I start a number of these processes asynchronously, and then
periodically check with waitpid(..,WNOHANG) whether one has exited, in which
case I start the next one.

So yes, I see that it is problematic if octave is gathering zombie processes.
So if you introduce automatic periodic reaping of these processes, then please
make provisions to allow also for excluding specific processes from that, for
instance by introducing further type options in the system call, for instance
"async_noreap".

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37591>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]