pulp task workers connect to mongo before forking
When celery task workers start up, the connect to mongo before forking off the process that actually works tasks. I've isolated the current known locations where the forked workers connect to mongo and wrapped them with a context manager to suppress them, but the initial connection(s) that happen(s) before the worker is still not found.
My debugging method used to find the post-fork connections was to
rpdb.set_trace() immediately after pymongo raises the connect before fork warning; a similar method may be helpful in finding connections created pre-fork.
Please register to edit this issue