Installing APC on Ubuntu 10.04
Thanks!
7 Replies
apt-get -y install php-apc
that's all you need to install apc.
However installing apc won't make your OOM problems go away if anything it'll make them worse.
Your OOM is probably due to max clients, search the forums for "max clients" you'll find tons of posts about tuning it.
@obs:
However installing apc won't make your OOM problems go away if anything it'll make them worse.
Your OOM is probably due to max clients, search the forums for "max clients" you'll find tons of posts about tuning it.
Can we all agree to rename this problem "Memory, Out Of"?
James
![](
I also agree that the OOM MaxClients issue should be written about in the Linode docs – it's probably one of the major issues that all Linode n00bs have.
@gavinr:
I also agree that the OOM MaxClients issue should be written about in the Linode docs – it's probably one of the major issues that all Linode n00bs have.
it's a little buried, but there
I switched to nginx.
The performance difference is day and night. Not only my wordpress site becomes more responsive, but also I have not seen any OOM errors. The Swap IO is the best thing I saw improved. The system barely swaps now.
My suggestion is to try Nginx.
Max
@gavinr:
Haha I agree - I have reduced my MaxClients to 20 and reduced KeepActiveTimeout to 2, which has improved my OOM problems. While reading through all the discussions on performance, though, I've taken an interest in making my box even better, and since I'm running nothing but WordPress instances, it sounds like APC is the way to go. Agree/disagree?
I also agree that the OOM MaxClients issue should be written about in the Linode docs – it's probably one of the major issues that all Linode n00bs have.
@picmax:
My suggestion is to try Nginx.