logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: What about mpm_winnt_module in Apache 2.2.2?
Author
zanders



Joined: 09 May 2006
Posts: 5
Location: Luxemburg

PostPosted: Fri 19 May '06 23:00    Post subject: What about mpm_winnt_module in Apache 2.2.2? Reply with quote

Hi,

I have a question about the modul "mpm_winnt_module". It seem to be, that no module in the htpd.conf script are loaded.

Apache 2.0.58

WinNT MPM
# ThreadsPerChild: constant number of worker threads in the server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_winnt.c>
ThreadsPerChild 64
MaxRequestsPerChild 4000
MaxMemFree 100
</IfModule>

Apache 2.2.2

# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
<IfModule !mpm_winnt_module>
<IfModule !mpm_netware_module>
LockFile logs/accept.lock
</IfModule>
</IfModule>

My Question is now, if I can copy the WinNT MPM from the Conf Apache 2.0.58 in the Conf of Apache 2.2.2, or is the "mpm_winnt_module" running when Apache2.2.2 is starting?
And what about ThreadsPerChild, MaxRequestsPerChild, MaxMemFree are they still a function?

Any help would be appreciated.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3049
Location: Hilversum, NL, EU

PostPosted: Fri 19 May '06 23:18    Post subject: Reply with quote

Not sure about what you are worried.

When you excute in a DOS box httpd.exe -V , the you see that the loaded Server MPM is winnt.


When you look in conf/extra/httpd-mpm.conf you see as default:

<IfModule mpm_winnt_module>
ThreadsPerChild 250
MaxRequestsPerChild 0
</IfModule>

According to the 2.2 docu you can still use the directives you have in 2.0.x , see eg. http://httpd.apache.org/docs/2.2/mod/mpm_common.html#maxmemfree

Btw the line <IfModule !mpm_winnt_module> means: if NOT mpm-winnt


Bottom line, there is no difference as far I can see.

Steffen
Back to top
zanders



Joined: 09 May 2006
Posts: 5
Location: Luxemburg

PostPosted: Fri 19 May '06 23:42    Post subject: Reply with quote

Thx Steffen for your fast answer on my post. I will try it, thx a lot.
Back to top


Reply to topic   Topic: What about mpm_winnt_module in Apache 2.2.2? View previous topic :: View next topic
Post new topic   Forum Index -> Apache