Giuseppe Lavagetto has submitted this change and it was merged.
Change subject: hhvm: expire APC keys after 2 days
......................................................................
hhvm: expire APC keys after 2 days
We don't want keys to live indefinitely in APC in HHVM (as it implies
memory starving), so we set an upper limit to the TTL of any key.
Bug: T104769
Change-Id: I2259991ac6d68bc107c9c3c8ced4bd1a9abfe3c1
---
M modules/hhvm/manifests/init.pp
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Giuseppe Lavagetto: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/hhvm/manifests/init.pp b/modules/hhvm/manifests/init.pp
index dfb52e1..fdf1673 100644
--- a/modules/hhvm/manifests/init.pp
+++ b/modules/hhvm/manifests/init.pp
@@ -127,6 +127,7 @@
light_process_file_prefix => '/var/tmp/hhvm',
apc => {
expire_on_sets => true, # Purge on expiration
+ ttl_limit => to_seconds('2 days'),
},
},
hack => {
--
To view, visit https://gerrit.wikimedia.org/r/225858
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2259991ac6d68bc107c9c3c8ced4bd1a9abfe3c1
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits