Top Nav

Apache MaxClients

Determine the “max process size”:

will give output like:

Use the largest value in the RSS column. In this case 14768. The number is in KB of memory.

Determine MaxClients by dividing the available memory by the max process size. Keep in mind that MySQL and other applications may need some memory.

Here’s a one liner to get max per process usage: