mpm_worker_module

Problems with the Windows version of XAMPP, questions, comments, and anything related.

mpm_worker_module

Postby matrixebiz » 06. December 2017 22:26

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>
matrixebiz
 
Posts: 22
Joined: 09. August 2017 19:47
XAMPP version: 7.1.7
Operating System: Windows Server 2016

Re: mpm_worker_module

Postby gsmith » 07. December 2017 09:22

Xampp on Windows only has mpm_winnt, worker and event are Unix/Linux etc.
gsmith
 
Posts: 218
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP version: 0.0.0
Operating System: Win XP to 2012R2/VS 6,9,11,14

Re: mpm_worker_module

Postby matrixebiz » 07. December 2017 14:47

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?
matrixebiz
 
Posts: 22
Joined: 09. August 2017 19:47
XAMPP version: 7.1.7
Operating System: Windows Server 2016

Re: mpm_worker_module

Postby gsmith » 07. December 2017 20:47

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
gsmith
 
Posts: 218
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP version: 0.0.0
Operating System: Win XP to 2012R2/VS 6,9,11,14

Re: mpm_worker_module

Postby matrixebiz » 08. December 2017 13:14

Okay, I'll check into it. thanks
matrixebiz
 
Posts: 22
Joined: 09. August 2017 19:47
XAMPP version: 7.1.7
Operating System: Windows Server 2016


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 82 guests