Moodle Performance Tuning MPM_EVENT

Moodle Performance Tuning MPM_EVENT

by Akam Omer -
Number of replies: 0

I recently tuned Moodle server using https://github.com/richardforth/apache2buddy/  which helped me to set correct values for mpm_prefork directives.

Now, I want to change mpm_prefork to mpm_event, is there any compatibility issue to change this worker on production site? I did it on test server and Moodle worked fine, But I didn't tested everything, I am not sure if Moodle with required PHP Modules are compatible also with mpm_event.

Also, The server has 80GB ram and 22 Core of processor, but I am not sure how to set mpm_event directives for high performance, currently, I did the following but I want to correct them if anyone has experience with this subject:

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

Thanks for your help,

Average of ratings: -