Problem using APC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I just installed APC on my server that is running PHP and the APC appears to
be randomly crashing.  Below are the symptoms that my server is experiencing
and the configuration of my system.  Has anyone seen this type of problem
with APC and can you give me any advice to fix it?

*Symptom #1 - APC appears to be stable but then restarts after a couple
hours with no page requests*
1. Reboot server
2. Load apc.php.  It shows that the cache is empty except for one or two
system files.  These are the files that are used to create the apc.php page.
3. Load some other PHP pages.  And re-load apc.php after each pageview.  The
cache starts filling up with other cached items and the hit rate goes up.
4. Leave the server alone for a couple hours.
5. Load apc.php.  It shows that the cache is empty.  Also, the cache uptime
is less than an hour - in other words, the cache appears to have restarted
itself.

*Symptom #2 - APC restarts in the middle of serving some pages*
1. Reboot server
2. Load apc.php.  It shows that the cache is empty except for one or two
system files.  These are the files that are used to create the apc.php page.
3. Load some other PHP pages.  And re-load apc.php after each pageview.  The
cache starts filling up with other cached items and the hit rate goes up.
4. On some of the PHP pages, however, apc.php shows that the cache has
emptied and has started again.

*System Configuration
*1. OS: FreeBSD amd64
2. PHP v. 4.4.8
3. APC v. 3.0.19
4. Shared Memory: 128MB, 1 segment, mmap memory, file locking

David

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux