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:

Have a project or a problem?

Talk with a senior engineer for practical recommendations—no obligation.

Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Categories

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.