A new profiling tool pulled a thread. What’s actually in a .pstats file, how cProfile produces it, and why tottime = 0 doesn’t mean fast.
Posts for: #Python
What fork() actually copies and how it impact your celery service
A configuration flag changed. A boolean. The side effect opened a database connection pool before fork() and took down every Celery worker in production. This is an account of the investigation, the OS internals behind it, and a proposed solution still waiting for staging validation.