Posted by mitchelljj on April 20, 2011 at 7:39pm
I had our sysadmin install APC and it tested as slower then before he installed it.
Is this possible?
I had our sysadmin install APC and it tested as slower then before he installed it.
Is this possible?
Comments
Check that the APC cache is
Check that the APC cache is large enough to hold all the code. The default 30MB on debian/ubuntu is never enough. Kernel shared memory maximum must also be increased. Which distro? Check apc.php for cache full count.
This
This is almost certainly the problem. If the cache is too small, then you're shuffling code in/out on every bootstrap, resulting in degraded performance.
Suggested tuning: bump the SHM size way up (say 256MB), go to your site and flush the caches and load/save the admin/build/modules page (heaviest page in all of drupal), and then see how much memory is used in apc.php. You'll want to make the final SHM size that + at least 50%.
https://pantheon.io | http://www.chapterthree.com | https://www.outlandishjosh.com
which version of drupal...
hi mitchell..long shot but which version of drupal are u using? I notice the latest version of apc needs php 5.3 which doesn't play nicely with drupal 6.x
Drupal 6 and PHP 5.3 work
Drupal 6 and PHP 5.3 work just fine together. Some contrib modules still have problems (shame on you, Date), but that shouldn't be taken against Drupal itself.
The Boise Drupal Guy!
..
I agree. it shouldn't be held against drupal, but, I'm not so sure the errors thrown up using drupal 6.x (or pressflow) with php 5.3 is restricted to contrib modules. I stand corrected...just never had the time to dig into that.
dub