2

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?

Nick S.
  • 131
  • 1

1 Answers1

0

The number of concurrent connections is directly dictated by the load that each client places on apache. So getting an accurate estimate of max connections is only possible if you know exactly what each connecting client will be doing. More activity = more load on CPU, Memory and disk.