Note that there are some explanatory texts on larger screens.

plurals
  1. POCakePHP + APC User Cache Entries Timeout Issue
    primarykey
    data
    text
    <p>I'm using CakePHP (version 1.3.8) and APC (version 3.1.3p1) with these settings:</p> <p>apc.ini</p> <pre><code>extension=apc.so apc.enabled=1 apc.enable_cli=0 apc.shm_size=128 apc.stat=0 apc.num_files_hint=10000 apc.user_entries_hint=10000 apc.max_file_size=5 apc.user_ttl = 3600 apc.ttl = 3600 </code></pre> <p>Cake Core Settings:</p> <pre><code>Cache::config('default', array( 'engine' =&gt; 'Apc', 'duration'=&gt; '+5 minutes', 'probability'=&gt; 100, 'prefix' =&gt; Inflector::slug(APP_DIR) . '_', )); </code></pre> <p>And for some reason, the timeout listed for the User Cache Entries (as viewed through mysite.com/apc.php) are all 86313600 seconds (999 days). I have no idea why it would be so high considering I've set both apc.user_ttl and apc.ttl in apc.ini and set the duration via Cake. I've tried clearing all of the APC caches and restarting Apache.</p> <p>Any assistance would be much appreciated. Thanks.</p> <p>Edit: thought it would be worth mentioning that the Runtime Settings shown through apc.php do have proper TTLs set as per the apc.ini config:</p> <pre><code>apc.cache_by_default: 1 apc.canonicalize: 1 apc.coredump_unmap: 0 apc.enable_cli: 0 apc.enabled: 1 apc.file_md5: 0 apc.file_update_protection: 2 apc.filters apc.gc_ttl: 3600 apc.include_once_override: 0 apc.lazy_classes: 0 apc.lazy_functions: 0 apc.max_file_size: 5 apc.mmap_file_mask apc.num_files_hint: 10000 apc.preload_path apc.report_autofilter: 0 apc.rfc1867: 0 apc.rfc1867_freq: 0 apc.rfc1867_name: APC_UPLOAD_PROGRESS apc.rfc1867_prefix: upload_ apc.rfc1867_ttl: 3600 apc.shm_segments: 1 apc.shm_size: 128 apc.stat: 0 apc.stat_ctime: 0 apc.ttl: 3600 apc.use_request_time: 1 apc.user_entries_hint: 10000 apc.user_ttl: 3600 apc.write_lock: 1 </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload