[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

increasing maxclients/hard server limit in apache



I'm stumped on this, mainly because I'm trying to do it a certain way.
I have a box running Redhat 7.3 with apache rpms (1.3.27-2).

I would like to increase the number of maxclients, which can be
configured in httpd.conf, but on linux is dependent on the
HARD_SERVER_LIMIT in httpd.h, which is 256.

I don't want to fetch source and rebuild a fresh copy because of future
upgrades and consistency with other boxes.  Also, I want to make sure
whatever options were included in the rpm build are still present in the
new binary.

I *should* be able to grab the SRPM and do:
rpm --upgrade apache-XXX

This does unpack the srpm and rebuild apache, however, it also deletes
the source tree when it's done, so I cannot edit httpd.h.

I need to figure out how to either have it leave the source alone so I
can edit httpd.h and rebuild, or, how I can pass a compile-time
directive to the rpm command above (something like
-DHARD_SERVER_LIMIT="256")

If there's another way, I'm open to that too.

Thanks.
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers@linuxmanagers.org
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers

[Home]     [Kernel List]     [Linux SCSI]     [Video 4 Linux]     [Linux Admin]     [Yosemite News]     [Motherboards]

Powered by Linux