Tuning Apache w/ mpm_event for 8GB VPS

I recently configured my apache2 to use mpm_event upon several recommendations however I can't find much info about tuning it.

I have following VPS:
2 Cores Xeon 2370v4
8GB RAM
80GB Raid10 NVME

My mysql inno3d buffer is set to 3GB so I would like apache2 to take advantage of 2-3 GB of RAM.
My page views are about 50,000 per day.

My current mpm_event config is:

Code:
<IfModule mpm_event_module>
        ServerLimit              2800
        StartServers             4
        MinSpareThreads          25
        MaxSpareThreads          75
        ThreadLimit              64
        ThreadsPerChild          25
        MaxRequestWorkers        1200
        MaxConnectionsPerChild   1000
</IfModule>

Any ideas on optimizing the above?
 
Tuning it has to do with your traffic so even knowing "50,000 per day" is not enough. You need to dynamically watch and tune it based on your maximum load at any given time.

What you've got there looks pretty reasonable to me honestly.

Enabling and configuring mod_status will help you in determining sane values here. Check it out at https://httpd.apache.org/docs/2.4/mod/mod_status.html
 
Top Bottom