Catrope has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/67571


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/71/67571/1

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: newchange
Gerrit-Change-Id: I8e4a3493ffbdd8e1a5f9838d0f9f59d906de56b3
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Catrope <[email protected]>

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

Reply via email to