Apache Lounge


About Forum Index Downloads Search Register Log in RSS Twitter

Keep Server Online

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



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: concurrent connections

Joined: 03 Apr 2023
Posts: 7
Location: Bridgeton,NJ,USA

PostPosted: Fri 07 Apr '23 17:56    Post subject: concurrent connections Reply with quote

hi,i heard somewhere that windows has a maximum connection limit of 20.
does this apply to apache or mariadb/mysql server?
i am using wampserver to host my website and was looking at the MPM config file trying to tune it up a bit.
Back to top
James Blond

Joined: 19 Jan 2006
Posts: 7202
Location: Germany, Next to Hamburg

PostPosted: Sat 08 Apr '23 23:30    Post subject: Reply with quote

In the httpd.conf file from apachelounge you need to remove the # before the loading of the mpm setting file


#Include conf/extra/httpd-mpm.conf


Include conf/extra/httpd-mpm.conf

In the httpd-mpm.conf file you find a section with


ThreadsPerChild defines the max number of concurrent connections. Default 150.0 Sure you can increase that.

For mariadb see https://mariadb.com/kb/en/server-system-variables/#max_connections

- Disable mod_status. That will increase the speed a lot.
- Use PHP not as a module but use mod_fcgid.
- Disable the use of .htaccess (AllowOverride)

When you have hangs, slow traffic and/or when having in your log entries like Asynchronous AcceptEx failed. You can try the following settings:

AcceptFilter http none
AcceptFilter https none
EnableSendfile off
EnableMMAP off
Back to top

Reply to topic   Topic: concurrent connections View previous topic :: View next topic
Post new topic   Forum Index -> Apache