pyres icon indicating copy to clipboard operation
pyres copied to clipboard

Dump current worker state

Open yashh opened this issue 13 years ago • 1 comments

Can we send the SIGUSR1 signal to the pyres_manager and have it dump the current log traceback of workers?

kill -USR1 <pid of pyres_manager>

dump the current traceback to -f pyres.log

This feature is really useful because often there are workers that might get stuck on a memcache connection or some sort of service that is hung due to high CPU usage etc. Celery supports this feature and it would be good to have this in pyres as well.

yashh avatar Dec 14 '11 22:12 yashh

i like the idea, i'd have to look into how this would be best accomplished

binarymatt avatar Dec 15 '11 22:12 binarymatt