hashar added a comment.
Quibble terminates MySQL via `quibble.backend.Backend.stop()` which does:
def stop(self):
if self.server is not None:
self.log.info('Terminating %s', self.__class__.__name__)
self.server.terminate()
try:
self.server.wait(2)
except subprocess.TimeoutExpired:
self.server.kill() # SIGKILL
finally:
self.server = None
`terminate` sends the `SIGTERM` signal. It might be ignored and the server
can definitely take time to complete. We allow two seconds grace period
(`wait(2)`) then it is send `SIGKILL` which really should terminate it abruptly
no question asked.
So I don't know why it would be holding :( Maybe something is still running
or holding :-\
TASK DETAIL
https://phabricator.wikimedia.org/T265615
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: hashar
Cc: Aklapper, dduvall, bd808, jeena, Daimona, thcipriani, hashar, awight,
kostajh, Lucas_Werkmeister_WMDE, 786, TheReadOnly, Suran38, Biggs657,
Invadibot, Lalamarie69, maantietaja, Juan90264, Alter-paule, Beast1978, Un1tY,
Akuckartz, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, NebulousIris,
Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan,
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen,
rosalieper, Liudvikas, Scott_WUaS, Wikidata-bugs, aude, Jdforrester-WMF,
Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]