where to change the maxclients etc?

erinys

New member
Joined
Mar 7, 2008
Messages
3
hi guys.

Ha luitjes

vbulletin recommended me some changes to my httpd.conf;
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 1

en

<IfModule mpm_prefork_module>
StartServers 15
MinSpareServers 15
MaxSpareServers 20
ServerLimit 256
MaxClients 150
MaxRequestsPerChild 1000
</IfModule>


where do i edit this? because these settings were/are located in the httpd-mpm.conf and not in the httpd.conf etc? but httpd.conf says i cannot change them in the included files because they can be rewritten?

Can i just add them to the httpd.conf?
does that then afterwards interfere with the included files?


thanks
 
where do i edit this? because these settings were/are located in the httpd-mpm.conf and not in the httpd.conf etc? but httpd.conf says i cannot change them in the included files because they can be rewritten?
Which OS distribution are you using? Which httpd version are you using?

If DirectAdmin can change those files then there are templates for them in the DirectAdmin directory path; look for those templates, move them to the custom subdirectory, and change them there.
Can i just add them to the httpd.conf?
does that then afterwards interfere with the included files?
It depends on where the files are included. Apache will read the httpd.conf file top-down as it starts, and use the last settings in the context in which the settings are located.

Understanding of context in Apache can be a bit confusing; the book Apache for Dummies is probably a good place to start.

Jeff
 
Back
Top