• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 386
  • Last Modified:

How to determine the maximum memory for Apache

Hello experts,
I want to make sure my Apache server does not run out of memory. Then I want to set memory limit to a high value, like -XmX for Tomcat.
Please show me how to do that. I am running Apache 2.2 on windows.
1 Solution
Maciej SsysadminCommented:
As far as I know, you can't do that in such way.
You can set limit by using ulimit, but this will set limits for all your users (including apache user).
To tune apache you should look at prefork/worker module and set proper values for ServerLimit, MaxClients, etc... (take a look here: http://www.devside.net/articles/apache-performance-tuning).

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now