cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

OneAgent plugin extensions gets timeout if plugin implementation uses Python's multiprocessing.process lib

kapilv
Participant

Hello ,

 

I have seen weird behavior where if plugin implementation includes flow where it expects to execute piece of code in 'multiprocessing.process()' flow then somehow plugin flow gets blocked (but same implementation (class) works fine if we test outside oneagent extension runtime.

any idea what could be reason? does oneagent has constraint on execution of plugin in parallel or outside its process?

Thanks in advance. Kapil

1 REPLY 1

Mike_L
Dynatrace Guru
Dynatrace Guru

The plugin thread and all child threads spawned by it needs to be finished within 1 minute. If you spawn additional threads, make sure that you close them within this period.

This will be changed in Python in Extension Framework 2.0, as threads can run as long as you like.

Mike

Featured Posts