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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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: Thu Mar 28 22:01:26 2024 UTC