[MediaWiki-commits] [Gerrit] HHVM: set MALLOC_CONF envvar in upstart job def - change (operations/puppet)
Ori.livneh has submitted this change and it was merged. Change subject: HHVM: set MALLOC_CONF envvar in upstart job def .. HHVM: set MALLOC_CONF envvar in upstart job def Have HHVM start with jemalloc's memory profiling capabilities enabled but inactive. Profiling can then be toggled on-the-fly by cURLing the /jemalloc-prof-* endpoints of the admin server. Change-Id: I74c8f3376a7e1e495ea68815bf36a0b1cbc4c7c2 --- M modules/hhvm/files/hhvm.conf 1 file changed, 7 insertions(+), 0 deletions(-) Approvals: Ori.livneh: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/hhvm/files/hhvm.conf b/modules/hhvm/files/hhvm.conf index 06fca71..fc19065 100644 --- a/modules/hhvm/files/hhvm.conf +++ b/modules/hhvm/files/hhvm.conf @@ -21,6 +21,13 @@ ( cd /usr/lib/x86_64-linux-gnu/hhvm/extensions; ln -Trsf "$API_VERSION" current; ) end script +# Start HHVM with memory profiling capabilities enabled but inactive. +# Profiling can then be toggled on-the-fly by cURLing the /jemalloc-prof-* +# endpoints of the admin server. See the jemalloc(3) man page for details. +# You can override these options by assigning MALLOC_CONF a different value +# in /etc/default/hhvm. +env MALLOC_CONF="prof:true,prof_active:false" + script . /etc/default/hhvm # HHVM clears its PID file on exit. We need it in the post-stop -- To view, visit https://gerrit.wikimedia.org/r/168919 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I74c8f3376a7e1e495ea68815bf36a0b1cbc4c7c2 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Ori.livneh Gerrit-Reviewer: Ori.livneh Gerrit-Reviewer: Tim Starling Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] HHVM: set MALLOC_CONF envvar in upstart job def - change (operations/puppet)
Ori.livneh has uploaded a new change for review. https://gerrit.wikimedia.org/r/168919 Change subject: HHVM: set MALLOC_CONF envvar in upstart job def .. HHVM: set MALLOC_CONF envvar in upstart job def Have HHVM start with jemalloc's memory profiling capabilities enabled but inactive. Profiling can then be toggled on-the-fly by cURLing the /jemalloc-prof-* endpoints of the admin server. Change-Id: I74c8f3376a7e1e495ea68815bf36a0b1cbc4c7c2 --- M modules/hhvm/files/hhvm.conf 1 file changed, 7 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/19/168919/1 diff --git a/modules/hhvm/files/hhvm.conf b/modules/hhvm/files/hhvm.conf index 06fca71..fc19065 100644 --- a/modules/hhvm/files/hhvm.conf +++ b/modules/hhvm/files/hhvm.conf @@ -21,6 +21,13 @@ ( cd /usr/lib/x86_64-linux-gnu/hhvm/extensions; ln -Trsf "$API_VERSION" current; ) end script +# Start HHVM with memory profiling capabilities enabled but inactive. +# Profiling can then be toggled on-the-fly by cURLing the /jemalloc-prof-* +# endpoints of the admin server. See the jemalloc(3) man page for details. +# You can override these options by assigning MALLOC_CONF a different value +# in /etc/default/hhvm. +env MALLOC_CONF="prof:true,prof_active:false" + script . /etc/default/hhvm # HHVM clears its PID file on exit. We need it in the post-stop -- To view, visit https://gerrit.wikimedia.org/r/168919 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I74c8f3376a7e1e495ea68815bf36a0b1cbc4c7c2 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Ori.livneh ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits