librelist archives

« back to archive

thread dump of resque workers with ree

thread dump of resque workers with ree

From:
Karl Baum
Date:
2010-10-14 @ 17:53
I am using xray (http://ph7spot.com/musings/caller-for-all-threads) to 
allow for thread dumps and although i can get this to work from a plain 
ruby process, i cannot see the thread dump information from my spawned 
resque workers.  Every now and then i get a resque worker that is hung up 
and i would love to see what it is doing.  I think the problem is that i 
do not know where standarderror ends up when using resque.    I am 
currently launching my workers with:

VVERBOSE=1 COUNT=5 QUEUE=*  rake resque:workers > resque.log 2>&1

any ideas?

thx.

-karl