twisted / ampoule

Process pool for Twisted, using AMP
Other
12 stars 19 forks source link

Too hard to associate Ampoule worker IDs with real processes #11

Open moshez opened 6 years ago

moshez commented 6 years ago

Ampoule assigns its own IDs to worker processes. This isn't necessarily bad, but the lack of PID information in any of the logging related to workers means that it's very challenging to associate an actual process with an Ampoule worker. This kind of association is very useful for debugging. For example, a process might begin to use lots of CPU or RAM. Being able to tie this to a particular Ampoule worker process can be helpful in determining which job that process is executing.