On Fri, 2003-08-01 at 09:44, [EMAIL PROTECTED] wrote:
> Anyone has experiences in re-compile apache-1.3.27-2.src.rpm and increasing Apache 
> MaxClients 2048? 
> 
> 
> i try to recompile  apache-1.3.27-2.src.rpm 
> like rpm -ivh  apache-1.3.27-2.src.rpm
> then i go to /usr/src/redhat/SOURCES/apache_1.3.27/src/include/httpd.h and changed 
> 256 to 2048 
> then  go to /usr/src/redhat/SPECS did rpm -bp apache.spec , 
> then go /usr/src/redhat/RPMS/i386 and did rpm -Uvh apache-1.3.27-1.7.2.i386.rpm 
> --force, 
> last i goto edit httpd.conf changed MaxClients 450 and restart apache 

Comment on process.  Read the man page for rpm/rpmbuild.  Look at the
-bp does (it unpacks sources and applies patches), hence it overwrites
your change.  You will need to write a patch file and insert code into
the spec file to apply the patch.

Comment on what you are trying to do.  Why?   Apache 1.x is
non-threaded, so increasing MaxClients beyond 256 usually results in 
lower performance; often dramatically lower performance.  At a prior
job I worked with a customer trying to optimize Apache 1.3x; found 
that pumping up values like MaxClient was counter-productive.  Go
ahead and try, but the limits are set for a reason.

- rick 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to