Faidon Liambotis has submitted this change and it was merged. 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(-) Approvals: Faidon Liambotis: Verified; Looks good to me, approved 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: merged Gerrit-Change-Id: I91ddb2da440640386332bba8ae3d2b4b1ee54ac0 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Faidon Liambotis <[email protected]> Gerrit-Reviewer: Faidon Liambotis <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
