Apache prefork directives
#1
Apache prefork directives
Hi,

Where is a good place to adjust prefork directives ?

On CentOS 6 ( Apache 2.2 ) i can do this in /etc/httpd/confhttpd.conf in prefork section, is this safe regarding the updates and possible changes in future releses of Sentora ?

On CentOS 7 ( Apache 2.4 ) there is no prefork section in /etc/httpd/confhttpd.conf, so the question is, is it safe to make changeis
to /etc/httpd/conf/httpd.conf as long as i don't delete last include ?

Regards,
Stefan
Reply
#2
RE: Apache prefork directives
you can adjust depending on your webserver load. We don't tune it currently.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
#3
RE: Apache prefork directives
In CentOS 7 ( Apache 2.4 ) a did edit:
/etc/httpd/conf.modules.d/10-php.conf

with:
<IfModule prefork.c>
StartServers 20
MinSpareServers 5
MaxSpareServers 15
ServerLimit 750
MaxClients 750
MaxRequestsPerChild 2000
LoadModule php5_module modules/libphp5.so
</IfModule>
Reply
#4
RE: Apache prefork directives
@[chipset]
I do not know your server load or resources in order to give you a educated guess.

Please take a look at the following articles:
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
#5
RE: Apache prefork directives
Yes,
Load - 0.42, 1.30, 1.07
System
core i3 2.9 ghz
RAM 12 GB
2xHDD RAID1 500 GB

Thank's a lot apinto.
Nice day.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora & Apache behind Nginx Reverse Proxy Feilding Weather 7 19 ,349 08-06-2021, 02:58 PM
Last Post: ccr1969
How to run multiple version PHP with Apache (use Sentora panel) on Centos ??? BigBang 4 11 ,398 12-23-2020, 03:31 PM
Last Post: djkashdui1
SSL install breaks apache service EGOSKY123 1 5 ,507 10-28-2020, 12:12 AM
Last Post: iraqiboy90

Forum Jump:


Users browsing this thread: 1 Guest(s)