Page 1 of 1

mpm_worker_module

PostPosted: 06. December 2017 22:26
by matrixebiz
How do I check and see if Xampp Apache is using mpm_worker_module?
To make sure I can serve as many files as I can to as many people that are connected to the Streaming Webserver as best as possible, I found this on the net;

<IfModule mpm_worker_module>
ServerLimit 250
StartServers 10
MinSpareThreads 75
MaxSpareThreads 250
ThreadLimit 64
ThreadsPerChild 32
MaxRequestWorkers 8000
MaxConnectionsPerChild 10000
</IfModule>

Re: mpm_worker_module

PostPosted: 07. December 2017 09:22
by gsmith
Xampp on Windows only has mpm_winnt, worker and event are Unix/Linux etc.

Re: mpm_worker_module

PostPosted: 07. December 2017 14:47
by matrixebiz
Oh, ok but it only has the options for;

ThreadsPerChild 25
MaxConnectionsPerChild 0

Can I add in the other options available like in the other modules or are they the only 2 that have any effect for the Windows version?

What does adding the below do?;
AcceptFilter http none
AcceptFilter https none

I was trying to read up on it but could not understand. Does this help the server serve more files or does it stop the server from sending files when there is not enough Threads or whatever?

Re: mpm_worker_module

PostPosted: 07. December 2017 20:47
by gsmith
mpm_winnt's default ThreadsPerChild is 64, reducing it I doubt is a good idea.
MaxConnectionsPerChild 0 = unlimited. Since Apache Widows only has one child, 0 is a good choice.

AcceptFilter, best explained by the docs.
http://httpd.apache.org/docs/2.4/mod/co ... ceptfilter

mpm_winnt has more than just the two directives.
AcceptFilter
CoreDumpDirectory
Listen
ListenBacklog
MaxConnectionsPerChild
MaxMemFree
PidFile
ReceiveBufferSize
ScoreBoardFile
SendBufferSize
ThreadLimit
ThreadsPerChild
ThreadStackSize

http://httpd.apache.org/docs/2.4/mod/mpm_winnt.html

Re: mpm_worker_module

PostPosted: 08. December 2017 13:14
by matrixebiz
Okay, I'll check into it. thanks