I have a standard LAMP server hosted on a VPS. The server currently has 2 GBs of RAM and over the last month I have been having lots of server crashes (the server runs out of RAM). Sometimes, daily. After dropping my MaxClients down to something my web server can handle, the crashes have dropped a little bit, but I would like to handle the traffic a little better. I think it is time for me to upgrade hardware again, but I am not sure if I should just throw more ram at this VPS or if I should get multiple servers and have a dedicated DB server and another dedicated Apache server.
I know you guys will probably need more information than this, so please just let me know if you need anything else.