You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
stackimpact python agent is causing threading issues #4
my app tries to send stuff before it finished receiving and so on and it all goes south.
when my app is supposed to have a serial behavior, send receive send more receive send receive.. no parallel stuff and definitely not send before it finished receiving.
is there any way to run stackimpact in an app that uses socket lib ?
My assumption is that signals that profilers rely on interfere with blocking operations. Are you handling errors from blocking calls, such as EINTR? To test if that's the case, you can try to start the agent with disabled profilers by setting the flags cpu_profiler_disabled, allocation_profiler_disabled, block_profiler_disabled to False.
Activity
dmelikyan commentedon Aug 31, 2017
My assumption is that signals that profilers rely on interfere with blocking operations. Are you handling errors from blocking calls, such as EINTR? To test if that's the case, you can try to start the agent with disabled profilers by setting the flags
cpu_profiler_disabled,allocation_profiler_disabled,block_profiler_disabledtoFalse.