Lcarr has submitted this change and it was merged.

Change subject: Deal with stuck Parsoid workers when restarting the service
......................................................................


Deal with stuck Parsoid workers when restarting the service

Change-Id: I8e4a3493ffbdd8e1a5f9838d0f9f59d906de56b3
---
M files/misc/parsoid.init
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Lcarr: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/files/misc/parsoid.init b/files/misc/parsoid.init
index 5fcbb56..a50ab1e 100644
--- a/files/misc/parsoid.init
+++ b/files/misc/parsoid.init
@@ -36,6 +36,8 @@
 
 stop_parsoid() {
        start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE
+       # Stuck workers don't always restart properly, so kill them hard
+       pkill -9 -f Parsoid/js/api/server.js
 }
 
 status_parsoid() {

-- 
To view, visit https://gerrit.wikimedia.org/r/67571
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8e4a3493ffbdd8e1a5f9838d0f9f59d906de56b3
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Catrope <[email protected]>
Gerrit-Reviewer: Faidon <[email protected]>
Gerrit-Reviewer: Lcarr <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to