Apache Server configuration support - apache recompile - HARD_SERVER_LIMIT

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > March 2005 > apache recompile - HARD_SERVER_LIMIT





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author apache recompile - HARD_SERVER_LIMIT
bill

2005-03-29, 7:51 am

Hi

I have to modifiy HARD_SERVER_LIMIT in httpd.h to increase the
Apache Maxclients on a production server.

Context :
Red hat AS 3 , Apache 1.3 , 8 Tomcat instances , JK connector , php ,
oracle client 9.2

PBM :
/etc/httpd/logs/error_log
....
[Tue Mar 8 11:06:54 2005] [notice] child pid 23911 exit signal
Segmentation fault (11)
[Tue Mar 8 11:07:14 2005] [notice] child pid 23734 exit signal
Segmentation fault (11)
[Tue Mar 8 11:21:57 2005] [error] server reached MaxClients setting,
consider raising the MaxClients setting
....


Summary of the install :
Apache
../configure --prefix=/usr/local/apache_1.3.31 --sysconfdir=/etc/apache
--localstatedir=/var --enable-shared=max ; make ; make install
JK connector
../configure --with-apxs=/usr/local/apache/bin/apxs
PHP
../configure --with-oracle=/home/oracle/product/9.2.0
--with-oci8=/home/oracle/product/9.2.0
--with-apxs=/usr/local/apache_1.3.31/bin/apxs



My question :
I have just to set HARD_SERVER_LIMIT in httpd.h
I think I will only have to do this :
../apachectl stop
sources/configure --prefix=/usr/local/apache_1.3.31
--sysconfdir=/etc/apache --localstatedir=/var --enable-shared=max ; make
; make install
../apachectl start

Is this correct ? Will I have any pbm with tomcat ? php ?
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com