Do you have a question? Post it now! No Registration Necessary. Now with pictures!
September 25, 2010, 1:19 pm
rate this thread
running the same application. The application is installed once on the
server outside of all sites' document root, and each document root has
symlinks to this central install.
By the nature of the application, there is nearly 25M of common files
included for every request from this central install. This cannot
change. I have installed APC on the server to attempt to alleviate
this include overhead. My current configuration looks like
apc.enabled = 1
apc.include_once_override = 1
apc.shm_size = 32M
apc.stat = 0
apc.ttl = 0
The issue is when I install the packaged apc.php to one of the site's
document root, I only ever see something like below
The only file being cached by apc seems to be the above apc.php file
itself, and none of the application resources from that central
location. Further, the caching is only out of 30M, not the 32M I
specified in the config above (though I believe this is due to me
needing to recompile APC to work using shared memory instead of mmap
Can someone point me in the right direction to getting my central
application code cached by APC?