PHP compiling difference (customapache and custombuild)

DDJ

Verified User
Joined
Sep 7, 2007
Messages
11
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... :(
 
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.
 
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
 
Values will be changed into the next release of httpd.conf file.
 
I would say the custombuild values are better than the customapache values.
 
Last edited:
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 :)
 
Back
Top