Help Maximize Apache Prefork MPM
Anyone can share prefork config, so i have problem cant maximize my ram and cpu. in my case i have a lots of request but in different pages, kind of news website. like 1-2 view on one page but a lot of pages.
My server had 32Gb ram, but only use 16Gb and load is only 0.5 on its peak traffic of websites. but after a day its always timeout in 60s on every request, so i need to restart apache2 service. how i can optimize prefork, really i need prefork and not other mpm, already try mpm event but the case is same.
Here my prefork config:
<IfModule mpm_prefork_module> StartServers 8 ServerLimit 512 MaxClients 512 MinSpareServers 5 MaxSpareServers 20 MaxRequestWorkers 256 MaxRequestsPerChild 5120 MaxConnectionsPerChild 0 </IfModule>