Portal Home > Knowledgebase > Articles Database > APC/XCache caches constantly full/OOM/fragmented
Posted by GeorgRauh, 06-14-2011, 11:26 AM 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? My config: 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. Cheers 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. Last edited by GeorgRauh; 06-14-2011 at 11:33 AM.
Add to Favourites Print this Article