The last days i am experimenting with APC respective Xcache.
Using various settings and increasing max cache sizes values, the behavior is the same in Xcache or APC.
The cache fills up very quick and i get OOMs, cache fragmented.
Right now i have Xcache running with 128MB xcache.size and xcache.count = 1 because i only have one core.
I need advice how to tune it so i can use Xcache (or APC for that matter) properly. Or is my Hybrid server way too under-dimensioned and i need more ram?
Hybrid server running Centos 5.6 64bit, Cpanel/WHM
1 XEON core, 2GB of memory.
Varnish, Apache, PHP5.3.6, W3 Total Cache on my sites, CDN etc..
I am hosting quite a bunch of accounts/sites (about 30+) wordpress sites...so on one hand i am not surprised that the caches are filling up and 128MB Xcache.size are not enough.
Right now, after about 30 mins running on 128M i already have 12.000 OOMs in Xcache...
Var cache is fine by the way
Edit: I didnt even have W3 Total Cache configured yet to use Xcache for DB/Obj..my sites are rather low traffic, with the bussiest site getting about 2000/day...the rest of the sites gets very little traffic.