My goal is to find out, roughly, how many apache2 connections my server can handle at one time. I've gone through all of my running processes, including the apache2 processes, and figure that of the 840mb total used, 480 mb or so can be associated with "overhead" and the remaining 360 mb comes from the apache processes (averages 20 mb per single apache2 process).
So, is this a fair formula to determine my max connections allowed?
(server size - overhead) / 20
So, based on the numbers above with a 1 GB server, I should be able to handle 27 connections. With a 2 GB server, I should be able to handle 78. And so forth.
Does this approach make any sense whatsoever?