Re: [sage-support] Re: Zombie processes when using sage0 interface

2016-02-22 Thread William Stein
On Mon, Feb 22, 2016 at 12:30 PM, Volker Braun wrote: > Every interfaces tries to launch the sage-cleaner. If it is already running, > the newly-forked sage-cleaner quits immediately. But there is nobody reaping > the child, so a zombie remains. > > The standard solutions are either > 1) waitpid i

Re: [sage-support] Re: Zombie processes when using sage0 interface

2016-02-22 Thread Volker Braun
Every interfaces tries to launch the sage-cleaner. If it is already running, the newly-forked sage-cleaner quits immediately. But there is nobody reaping the child, so a zombie remains. The standard solutions are either 1) waitpid in the parent e.g. whenever a new interface is created, 2) dou

Re: [sage-support] Re: Zombie processes when using sage0 interface

2016-02-22 Thread William Stein
On Sun, Feb 21, 2016 at 2:30 AM, Sho Takemori wrote: > I also experienced this. (I use SageMath 7.0 on Ubuntu 15.10) > I guess this is not specific to sage0. The following code will spawn five > zombie processes. > > [a.eval("1") for a in [gp, gap, maxima, sage0, singular]] > > By debugging with p