One of the things I was looking forward to trying on a VPS was XCache support, however, I didn't realise that its cache memory seems to be added to each PHP process (at least when running via fast-cgi) which means it quickly bloated my memory.
I'm just wondering what options I have for tuning XCache to run more efficiently; I only really have one set of heavily used scripts, specifically a phpBB forum, so I don't think I should need a huge cache, but it should really be shared between processes since they are all doing the same basic tasks most of the time.
Should I be running PHP as CGI or Fast-CGI, should I enable XCache at the server level or per-domain? Really I'm just wondering what the best way to use it is, or if it's just going to be too memory hungry to enable? My site should only need about 300-450mb in total during peak periods, and I'm looking to set my host at the 600mb mark to keep things affordable. Enabling XCache as things are now though just causes my server to restart, but I don't really see why it should need so much memory, as 16mb shared between all processes (I peak at around 20 PHP processes) should be able to hold all of the scripts in an uncompiled format.