View Full Version : PHP compiling difference (customapache and custombuild)
Hello, I recently switched from customapache to custombuild so I've build again Apache, PHP, etc. for my Server. The problem is that everything now seems to be slower than it was before :( So I'm wondering... are there any difference from customapache to custombuild in the way they compile Apache or PHP? Does custombuild add more modules than customapache? I just can't explain this slowness... :(
smtalk
09-11-2007, 02:50 AM
You should want to take a look at /etc/httpd/conf/extra/httpd-mpm.conf and /etc/httpd/conf/extra/httpd-default.conf files. I think that you have this problem because of changed Timeout, KeepAlive, Min/MaxSpareServers values.
Zoner
09-12-2007, 12:16 AM
You should want to take a look at /etc/httpd/conf/extra/httpd-mpm.conf and /etc/httpd/conf/extra/httpd-default.conf files. I think that you have this problem because of changed Timeout, KeepAlive, Min/MaxSpareServers values.
Orginal Directadmin install uses these values, in httpd.conf file:
Timeout 300
KeepAlive On
MaxKeepAliveRequests 500
KeepAliveTimeout 5
MinSpareServers 5
MaxSpareServers 20
StartServers 8
MaxClients 450
MaxRequestsPerChild 1000
When using custombuild, then have these, so question smtalk, why not use same values as default DA instllation ?
httpd.conf file:
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 1000
extra/httpd-default.conf
Timeout 60
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 1
smtalk
11-04-2007, 04:07 AM
Values will be changed into the next release of httpd.conf file.
Chrysalis
11-04-2007, 12:06 PM
I would say the custombuild values are better than the customapache values.
smtalk
11-04-2007, 12:07 PM
Chrysalis, yes, and they will be much better than they are now. I didn't say that they will be the same as they are in CustomApache :)
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.