Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003795 [Quercus] minor always 12-01-09 17:48 01-13-10 16:19
Reporter nam View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 4.0.2
Summary 0003795: APC cache should not be an LRU cache
Description (rep by QuiddleDeeDoodler)

I am using Quercus with compile set to true.

I would like to store multiple site-particular variables in APC. This works fine, for a while. But after an indeterminable period the variables are lost.

I've have the following settings in the web.xml ...


<!-- QUERCUS -->
<servlet-mapping url-pattern="*.php" servlet-name="resin-php">
<init>
<compile>true</compile>
<script-encoding>UTF-8</script-encoding>
<php-ini>

<apc.enabled>1</apc.enabled>
<apc.shm_segments>400</apc.shm_segments>
<apc.shm_size>30</apc.shm_size>
<apc.write_lock>1</apc.write_lock>
<apc.num_files_hint>1000</apc.num_files_hint> <apc.user_entries_hint>1000</apc.user_entries_hint>

</php-ini>
</init>
</servlet-mapping>


Any suggestions welcomed.
Additional Information
Attached Files

- Relationships

- Notes
(0004366)
davidstrauss
12-30-09 21:31

"But after an indeterminable period the variables are lost."

PECL APC does not guarantee persistence, either. Even if you set a TTL of zero, you could end up with the entire user cache flushed if space runs out.
 
(0004382)
ferg
01-13-10 16:19

Hmmm. The interesting bit is that we can provide either functionality LRU (cache) or full store capability, depending on what's actually needed. We'd actually like to provide more capabilities than the APC API makes accessible.
 

- Issue History
Date Modified Username Field Change
12-01-09 17:48 nam New Issue
12-30-09 21:31 davidstrauss Note Added: 0004366
01-03-10 06:55 davidstrauss Issue Monitored: davidstrauss
01-13-10 16:19 ferg Note Added: 0004382


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker