[Cialug] Slightly OT, .. Tuning Apache under Chocolatey

Dave Hala dave at 58ghz.net
Mon Jan 27 19:58:36 UTC 2020


Try adjusting MaxRequestWorkers and ThreadsPerChild. If you do that,
Serverlimit needs to be >= MaxrequestWorkers / ThreadsPerChild

I'm guessing, because it depends on your traffic  Try bumping it up to:

MaxRequestWorkers  600
ThreadsPerChild  100
ServerLimit  16  -should be  ok  (600/100 = 6)

Be sure to restart apache after you make the changes.

Here's the apache docs:
https://httpd.apache.org/docs/2.4/mod/worker.html

:) Dave





On Mon, Jan 27, 2020 at 1:35 PM L. V. Lammert <lvl at omnitec.net> wrote:

> On Mon, 27 Jan 2020, Dave Hala wrote:
>
> > What does the httpd log say?
> >
> AH00326: Server ran out of threads to serve requests. Consider raising the
> ThreadsPerChild setting
>
> Found that in httpd-mpm.conf, .. they were set at MaxClients 150 and
> Threads pr Child 25. What would be reasonable values for a prod server?
>
>         Thanks!
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
>


-- 
NIFCAP  -The Premier Client Intake System for Non-Profit Organizations.
https://www.osis.us


More information about the Cialug mailing list