https://bugzilla.wikimedia.org/show_bug.cgi?id=73395

--- Comment #5 from ssas...@wikimedia.org ---
So, this is the code that we use to cleanly terminate the workers (see
api/server.js)

                cluster.disconnect(function() {
                        logger.log( "info", "exiting" );
                        process.exit(0);
                });

This waits for worker to shut down. However, in the common case, the title
should get processed fairly quicly and clear the timeout => all the workers
should shut down in a timely fashion. I don't think (or at least, I would be
surprised if it were) all those cases of hung processes that do indeed take 5
mins and eventually get killed by the timeout.

So, one question I now have is if we are holding onto timeouts after request
processing and not clearing those out cleanly in all cases.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to