Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Apache / WebSocket/ MPM-Module. Correct Config needed |
|
Author |
|
Dumbeldore
Joined: 23 Aug 2019 Posts: 3 Location: Germany
|
Posted: Tue 26 Jul '22 17:08 Post subject: Apache / WebSocket/ MPM-Module. Correct Config needed |
|
|
Hi there,
i need the correct settings when apache should handle 10000 or more concurrent websocket connections.
Currently i have this and sometimes i got an error like this:
"Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting"
Code: | # WinNT MPM
# ThreadsPerChild: constant number of worker threads in the server process
# MaxConnectionsPerChild: maximum number of connections a server process serves
<IfModule mpm_winnt_module>
ThreadLimit 15000
ThreadsPerChild 10000
MaxRequestsPerChild 0
AcceptFilter http none
AcceptFilter https none
AcceptFilter ws none
AcceptFilter wss none
</IfModule> |
I am unsure that the settings are correct, specially the not defined "MaxConnectionsPerChild".
Any hint?
bye... |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
Dumbeldore
Joined: 23 Aug 2019 Posts: 3 Location: Germany
|
Posted: Thu 28 Jul '22 6:39 Post subject: |
|
|
thanks a lot!
Bye |
|
Back to top |
|
|
|
|
|
|