We help IT Professionals succeed at work.

Apache MPM Module

klajdi asked
This is a apache module running on linux, how to make this module run on windows?

This is the website that explains it, and it seems the windows command is a little bit different from linux: http://httpd.apache.org/docs/2.0/mod/mpm_winnt.html 

<IfModule mpm_worker_module>

StartServers 2
MinSpareThreads 15
MaxSpareThreads 35
ThreadLimit 24
ThreadsPerChild 15
MaxClients   50
MaxRequestPerChild 1000
Watch Question


Anybody can help please?
Hi Klajdi,

mpm_winnt_module is what you are looking for.  You can check all the directives in http://httpd.apache.org/docs/2.0/mod/mpm_common.html for Apache 2.0 or http://httpd.apache.org/docs/2.2/mod/mpm_common.html for Apache 2.2.  Just search for winnt on the webpage.

Example of setting mpm_winnt is:

<IfModule mpm_winnt_module>
  ThreadLimit 1000
  ThreadsPerChild 500
  MaxRequestsPerChild 0
  KeepAlive On
  KeepAliveTimeout 60 
  MaxKeepAliveRequests 100
  MaxMemFree 100

Open in new window



Thanks a lot for all your help! One seen I have realized with this module when I run some testing on apache, the httpd.exe service on services monitoring once it reaches 1.5gb limit it closes and starts a new session. Is there a way to modify this module that will increase this 1.5b on httpd.exe to go beyond 1.5 limit?

Hi Klajdi,

Are you using pure Apache or with Tomcat, PHP, etc?


It's a sugarcrm package that includes, apache, php and mysql but we also use tomcat as well.

So you think there are memory limits on others too? And how do i maximize on all of them?

Explore More ContentExplore courses, solutions, and other research materials related to this topic.