[Chicago] multiprocessing

Oren Livne livne at uchicago.edu
Fri Aug 9 13:34:05 CEST 2013


Dear Carl,

Thanks so much! I was not sure hwo to run this program. Is this a 
standalone server that runs in the background? At any rate, I've been 
killing them manually for now. :)

Oren

On 8/8/2013 10:07 AM, Carl Karsten wrote:
> This sounds like a problem I had that a friend fixed, and I never
> really bothered to look at what he did, it just worked so I merged his
> code.
>
> https://github.com/CarlFK/dvsmon/blob/master/dvs-mon.py
>
> Feel free to ask questions about it, cuz maybe someone else can answer ;)
>
> On Thu, Aug 8, 2013 at 9:18 AM, Oren Livne <livne at uchicago.edu> wrote:
>> Dear All,
>>
>> - If I spawn a multiprocessed python program and need to kill it in the
>> middle of the run, how can I get rid of all the child python processes it
>> spawns? They don't die when I kill the manager process. To
>> - If I print (with a lock) from within a process' function to stdout and
>> flush stdout, I still don't see the printout until after the run completes.
>> How can I see process printouts in real time?
>>
>> Thanks
>> Oren
>>
>> --
>> A person is just about as big as the things that make him angry.
>>
>> _______________________________________________
>> Chicago mailing list
>> Chicago at python.org
>> http://mail.python.org/mailman/listinfo/chicago
>
>


-- 
A person is just about as big as the things that make him angry.



More information about the Chicago mailing list