FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » APC + Multi-Site Install of Single Application
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
APC + Multi-Site Install of Single Application [message #169765] Sat, 25 September 2010 13:19
DEE is currently offline  DEE
Messages: 1
Registered: September 2010
Karma: 0
Junior Member
I have a dedicated server currently hosting more than a dozen sites
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]
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

http://screencast.com/t/NTY2NmM4MmI

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
memory).

Can someone point me in the right direction to getting my central
application code cached by APC?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Capture logoff on browser close
Next Topic: What's in this cookie?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 13:39:31 GMT 2024

Total time taken to generate the page: 0.02634 seconds