Anonymous | Login | Signup for a new account | 11-22-2024 02:29 PST |
Main | My View | View Issues | Change Log | Docs |
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 | 12-09-20 04:30 | |||||||
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 | ||||||||||||
|
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. |
(0006952) alexwriter 12-09-20 04:30 edited on: 12-09-20 04:30 |
<!-- QUERCUS --> <servlet-mapping url-pattern="*.php" servlet-name="resin-php"> <init> <compile>true</compile> <script-encoding> </script-encoding> <php-ini> <apc.enabled>1</apc.enabled> <apc.shm_segments>400</apc.shm_segments> <apc.shm_size>30</apc.shm_size> https://goo.gl/2DqXGj [^] <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> Fixed?? |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
37 total queries executed. 30 unique queries executed. |