Project

Profile

Help

Task #6537

Updated by pulpbot about 1 year ago

 

 **Ticket moved to GitHub**: "pulp/pulpcore/1884":https://github.com/pulp/pulpcore/issues/1884 




 ---- 


 We've seen a few issues recently (eg [0]) about tasks getting stuck, etc. It would help to have a guide for developers and plugin writers on how to debug tasks. 

 A few topics: 

 * Using py-spy[1] to debug tasks 
 * Running asyncio in debug mode [2] 
 * Looking at coredumps of Pulp tasks 

 [0] https://pulp.plan.io/issues/6533 
 [1] https://github.com/benfred/py-spy 
 [2] https://docs.python.org/3/library/asyncio-dev.html#debug-mode 

Back