When trying to follow the steps in "help/apc/README.txt" step 2 results in 100% fragmentation and slower page loads.

I am currently developing my website on my Ubuntu 11.10 home computer so used synaptic to install APC. I manually installed the Drupal Alternative PHP Cache Module.

I have added the following to my php.ini :

extension=apc.so
apc.enabled = 1
apc.shm_size = 80

I needed to increase the apc.shm_size to 80 in order to eliminate my 1st encounter with 100% fragmentation and a very bad hit/miss ratio. I have Commerce Kickstart installed so there's a bunch of enabled modules.

I have also applied the following to my kernal :
sudo sysctl -w kernel.shmmax=84000000

The way I test to see how things are working is restart apache2, go to my site and click around virtually every page like a new visitor may do, then go look at mydrupalsite/apc.php?SCOPE=A&SORT1=H&SORT2=D&COUNT=20&OB=1 to view the statistics.

Any help getting this to work would be greatly appreciated. Thanks in advance for your time!

Drupal skill level = beginner ;-)

Comments

R.Muilwijk’s picture

Status:Active» Postponed (maintainer needs more info)

Which drupal cache bins did you enable the the APC cache? It's best to only put caches in which do not change often.

twistor’s picture

Issue summary:View changes
Status:Postponed (maintainer needs more info)» Closed (cannot reproduce)

Looks like your problem is fixed.

If you're still having a problem, feel free to re-open this issue.