php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #59928 APC: Clarification of ttl documentation
Submitted: 2011-09-01 05:54 UTC Modified: 2017-10-24 08:48 UTC
Votes:2
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: michalcharemza at gmail dot com Assigned: kalle (profile)
Status: Closed Package: APC (PECL)
PHP Version: 5.3.6 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: michalcharemza at gmail dot com
New email:
PHP Version: OS:

 

 [2011-09-01 05:54 UTC] michalcharemza at gmail dot com
Description:
------------
It is unclear from the documentation from which point in time 
the ttl settings are used. Is it from the time the cache 
entries are created or modified, or from the last time they 
are accessed?

The documentation uses the phrase "idle in a slot", but does 
not specify what it means for an entry to "idle". i.e. does 
the act of accessing, but not modifying, an entry count as an 
action that stops idling?

The settings in question are:

apc.ttl
apc.user_ttl


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-04-17 16:49 UTC] rpamfil at gmail dot com
I was confused by the terminology too, but I think that you just need to interpret 
idle as 'not used', where used = created/modified, or accessed. So a read(hit) 
will reset the counter, and a write(put) will also do so.
 [2016-11-18 21:37 UTC] kalle@php.net
-Summary: Clarification of ttl documentation +Summary: APC: Clarification of ttl documentation
 [2017-10-24 08:48 UTC] kalle@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: kalle
 [2017-10-24 08:48 UTC] kalle@php.net
With APC dead, I don't this is something anyone will ever work on as no stable version of PHP today are supported by APC
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 12:01:31 2024 UTC