How much memory (RAM) would the average LAMP production server use, assuming little-to-no traffic, barebones except Apache2, PHP 5.3, MySQL5 installed and running?
How much memory (RAM) would the average LAMP production server use, assuming little-to-no traffic, barebones except Apache2, PHP 5.3, MySQL5 installed and running?
My default is 4GB right now for all server roles because memory is cheap. For a low usage server with hardy anything running using that software, you could probably get away with <1GB. If you're that concerned about the cost of RAM, it will be worth your time to test your RAM usage. Otherwise, just get 4GB and you're almost guaranteed to be fine.
I really depends on usage but I run that lot in 240Mb without any problems. Is the 300Mb all processes or mostly disk cache and buffers? Linux will keep using memory for disk cache till it is all gone.