Jump to content

<IfModule prefork.c help


Doridroz

Recommended Posts

Name: AMD Athlon 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

Link to comment
https://forums.phpfreaks.com/topic/102253--/
Share on other sites

Settings for the prefork have mostly to do with memory and cpu available.

 

The following settings are used on a server with the same specs:

<IfModule prefork.c>

StartServers        8

MinSpareServers    5

MaxSpareServers    20

MaxClients          256

MaxRequestsPerChild 1000

</IfModule>

 

-steve

Link to comment
https://forums.phpfreaks.com/topic/102253--/#findComment-523882
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.