Dave Kirby wrote:
> I am working on a network management program written in python that has
> multiple threads (typically 20+) spawning subprocesses which are used
> to communicate with other systems on the network. ...
Let me check if I got you right: You are using fork() inside a thread in
a mu
Dave Kirby wrote:
>
> 5) WTF can I do about it?
Maybe using vfork rather than fork would help. But
I'm not sure that will work as intended when there
are multiple threads, in fact I'm not sure fork
will work either. You could have fork racing against
another thread being in a critical region thus
I am working on a network management program written in python that has
multiple threads (typically 20+) spawning subprocesses which are used
to communicate with other systems on the network. This runs fine for a
while, but eventually slows down to a crawl. Running sar shows that
when it is runni