VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » IT, programs, coding
Optimizing Apache Memory Usage - Mpm prefork settings - Chris Titus Tech

Optimizing Apache Memory Usage - Mpm prefork settings - Chris Titus Tech

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Optimizing Apache Memory Usage - Mpm prefork settings - Chris Titus Tech This video goes over optimizing apache memory usage by configuring mpm prefork module to optimal values for your server. Run this curl command and it will just tell you what you should put curl -sL https://raw.githubusercontent.com/richardforth/apache2buddy/master/apache2buddy.pl - perl Commands used: Check Apache Memory usage ps -ylC apache2 sort:rss - awk '-sum+=$8; ++n- END -print Tot=sum(n);print Avg=sum/n=sum/n/1024MB-' Launch Memory manager / resource viewer 'htop' OR you can use 'top' for less options and visuals Values to calculate: Total System Memory Free - Buffer / Apache2 MB usage = MaxRequestWorkers, ServerLimit, and MaxClients My Settings in Video: Server Instance (Standard) 1 dedicated vCPU with 3.5 GB of Memory # prefork MPM # StartServers: number of server processes to start # MinSpareServers: minimum number of server processes which are kept spare # MaxSpareServers: maximum number of server processes which are kept spare # MaxRequestWorkers: maximum number of server processes allowed to start # MaxConnectionsPerChild: maximum number of requests a server process serves StartServers 3 MinSpareServers 5 MaxSpareServers 10 ServerLimit 45 MaxClients 45 MaxRequestWorkers 45 MaxConnectionsPerChild 2000 45 processes x 68 MB per = 3060 MB
Date: 2022-03-20

Comments and reviews: 5


Dude , you dialed back from this , I guess to reach a larger audience but a technical video like this is great to see. I started watching you regular after 'Drunk Arch Install' so I never saw this. The audience you have now wouldn't be with this , like you said your doing entry level pushing for the adoption of linux. Personally I think you should start doing some videos like this one for more advanced/technical users every once and a while.
reply

Hi..great video..very helpful..keep it up.THanks..anyway do you know where to edit this using Dockerfile?or where to place the configurations inside docker? we are using Wordpress in Azure.THanks
reply

I need to know apache server optimization for large scale application where worker threads are working. So that willl be helpful for us.
Thanks

reply

Chris, you said you would do a video no optimizing Apache modules for minimum memory usage. Not sure you released it yet?
reply

Thanks for the video. Any way how to know which module is actively in use by apache, so that rest of them can be disabled ?
reply
Add a review, comment






Other channel videos