Web Hosting Talk







View Full Version : Apache MaxClients


emkatzen
11-30-2001, 09:21 PM
I am having problems trying to build a binary rpm of apache from a source rpm. I need to bump up the HARD_SERVER_LIMIT in httpd.h before the %build part of the spec file runs.

Bitserve helped me with this earlier, but I don't know how to contact him.

Any help is appreciated.

Eli

bobcares
12-01-2001, 10:47 AM
I'm not quite sure what you are looking for.
If you want to build an rpm from a source rpm use the following command.
rpm --rebuild soure.srpm

What we usually do for max clients is change the value in the httpd.conf file.
I hope this helps. Otherwise just neglect it....

Have a great day :)

Regards
amar

emkatzen
12-01-2001, 01:12 PM
I think I explained myself quite clearly. You can only put the MaxClients up to 256 with a default build of Apache. Its a compile time limitation.

rpm --rebuild source.srpm would work great, if I could somehow modify the HARD_SERVER_LIMIT in httpd.h before the actual compile takes place.

Eli