APC-Cache: Best setting for concrete5?
Permalink 1 user found helpful
Hey Dev/Ops!
I just installed php-apc and configured c5 to use it. The page load time was shortend about 1/2 secs. Very impressive. I also use apc.php for monitoring.
But now I try to figure out how I get the most out of apc and prevent problems for the future. Has somebody advices on how to configure apc properly?
I'm running a virtual server with 4 GB ram:
http://www.hosteurope.de/produkt/Virtual-Server-Linux-XXL...
I did a 50 user test withhttp://loadimpact.com . I attached the screenshot of the apc monitoring results. Maybe this is helpful for advices on optimization.
Thanks in advance!
Matthias
I just installed php-apc and configured c5 to use it. The page load time was shortend about 1/2 secs. Very impressive. I also use apc.php for monitoring.
But now I try to figure out how I get the most out of apc and prevent problems for the future. Has somebody advices on how to configure apc properly?
I'm running a virtual server with 4 GB ram:
http://www.hosteurope.de/produkt/Virtual-Server-Linux-XXL...
I did a 50 user test withhttp://loadimpact.com . I attached the screenshot of the apc monitoring results. Maybe this is helpful for advices on optimization.
Thanks in advance!
Matthias
I would also be interested in some APC guidance (recently moved my site to a host that allows APC). Should the concrete5 cache be enabled at all when APC is installed?
I have apc.shm_size at 128m and apc.max_file_size at 2m.
There is a good article about optimizing APC here:http://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-vi...
I also bumped up a couple PHP settings:
realpath_cache_size = 64m
realpath_cache_ttl = 180
The sites are running well
There is a good article about optimizing APC here:http://chrisgilligan.com/wordpress/how-to-configure-apc-cache-on-vi...
I also bumped up a couple PHP settings:
realpath_cache_size = 64m
realpath_cache_ttl = 180
The sites are running well
What about in the dashboard > sitewide settings? What are you using for Basic Cache / Full Page Caching/ Full Page Cache Lifetime?
I could be wrong, but I believe defining CACHE_ID is no longer necessary as of 5.4.1.
You're absolutely right - wasn't aware of that, but checking inside base.php if CACHE_ID is not defined it creates one. So all good :)
Jon
Jon