I have been working on tuning my Linode for use as a LAMP server. As part of this process I created a small spreadsheet to help. I thought I would share this with the community in hopes it may help others and also to get feedback on where my assumptions may be wrong.
The spreadsheet is at
http://dl.dropbox.com/u/4986351/LAMP.ods and in the spirit of open-source it is in ODF Spreadsheet format.
Here is a how-to guide for this spreadsheet:
The yellow boxes are values you need to enter. Next to each of these is a Linux command you can use to get the appropriate value. I am using PHP APC for opcode caching so that all PHP code is cached all the time, thus lowering the apache2 per process RAM.
After entering the values for the 1st 21 rows, you should enter your guess for apache2 max clients and then look in row 34 for the min free RAM to make sure it is not negative.