Name: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ Fedora Core 6 2048MB RAM 500GB Hard Drive 10Mbps Uplink I have a dedicated server with that configuration and in my apache i have this setting <IfModule prefork.c> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 0 </IfModule> my site is a mp3 site and have too many downloads.. max clients 150 always taken by user so i have to restart the apache to work for them again .. i have cpanel and WHM with my server so my question is with that configuration what is the maximum i can put for <IfModule prefork.c> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 0 </IfModule> by the way i have 3300 GB bandwidth !! anybody help
You have great server, what you need is apache optimisation. First I would say, edit your prefork.c with this <IfModule prefork.c> ServerLimit 1000 StartServers 15 MinSpareServers 10 MaxSpareServers 20 MaxClients 650 MaxRequestsPerChild 1000 </IfModule> I have kept max clients 650, but you can go ahead and increase it to more as per usage. Secondly, I would definitely recommend you to install mod_limitipconn for limiting per IP connections (to like 10-20), as people use download accelerators/managers/softwares to download mp3's and it takes lot of simultaneous connections because of that other users get affected. http://dominia.org/djao/limitipconn2.html Visit this for more info, very easy to install..if not able to contact me via PM. Let worker.c be the way it is .. after all is done do service httpd restart .. Let us know, if any issues. Thanks