From 96a1aadb532396840f11396a293b9cf9b158cc1a Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Thu, 21 Apr 2016 11:44:35 +0200 Subject: [PATCH] ansible-inventories/arocom#76 Configure APC --- defaults/main.yml | 3 +++ templates/etc-php5-conf-d-apc.ini | 3 +++ 2 files changed, 6 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index 03cebb6..c894e0a 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -51,6 +51,9 @@ apc_rfc1867: '1' apc_shm_size: '256M' apc_shm_segments: '1' apc_num_files_hint: '0' +apc_ttl: '7200' +apc_user_ttl: '7200' +apc_gc_ttl: '3600' # opcache.ini opcache_memory_consumption: '128' diff --git a/templates/etc-php5-conf-d-apc.ini b/templates/etc-php5-conf-d-apc.ini index 22596b2..807226f 100644 --- a/templates/etc-php5-conf-d-apc.ini +++ b/templates/etc-php5-conf-d-apc.ini @@ -3,3 +3,6 @@ apc.rfc1867 = {{ apc_rfc1867 }} apc.shm_size = {{ apc_shm_size }} apc.shm_segments = {{ apc_shm_segments }} apc.num_files_hint = {{ apc_num_files_hint }} +apc.ttl = {{ apc_ttl }} +apc.user_ttl = {{ apc_user_ttl }} +apc.gc_ttl = {{ apc_gc_ttl }} -- GitLab