Faidon Liambotis has uploaded a new change for review. https://gerrit.wikimedia.org/r/99345
Change subject: ganglia_new: write a gmond.pid pidfile ...................................................................... ganglia_new: write a gmond.pid pidfile varnish::instance compares the mtime of the gmond & Varnish pidfiles to decide when to restart gmond. After the migration to ganglia_new & our custom upstart script there's no pidfile, which makes gmond restart on every puppet run. Fortunately, gmond can write its own pidfile, so pass that option from upstart and fix the constantly restarting ganglia-monitor process. Change-Id: I91ddb2da440640386332bba8ae3d2b4b1ee54ac0 --- M modules/ganglia_new/files/upstart/ganglia-monitor.conf 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/45/99345/1 diff --git a/modules/ganglia_new/files/upstart/ganglia-monitor.conf b/modules/ganglia_new/files/upstart/ganglia-monitor.conf index 5709f3f..3ba85b4 100644 --- a/modules/ganglia_new/files/upstart/ganglia-monitor.conf +++ b/modules/ganglia_new/files/upstart/ganglia-monitor.conf @@ -9,4 +9,4 @@ respawn respawn limit 10 5 -exec /usr/sbin/gmond \ No newline at end of file +exec /usr/sbin/gmond --pid-file /var/run/gmond.pid -- To view, visit https://gerrit.wikimedia.org/r/99345 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I91ddb2da440640386332bba8ae3d2b4b1ee54ac0 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Faidon Liambotis <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
