You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by System <sy...@eluminoustechnologies.com> on 2003/07/18 07:36:08 UTC
[users@httpd] Apache Goes up and Down : server reached MaxClients setting
Hello List,
I am running RedHat 8.0/Apache/1.3.27 (Unix) mod_log_bytes/1.2
mod_bwlimited/1.0 PHP/4.3.2 FrontPage/5.0.2.2634 mod_ssl/2.8.14
OpenSSL/0.9.6b.
My Apache server goes up and down very frequently. When i checked the Logs
it says :
[Thu Jul 17 22:28:54 2003] [error] server reached MaxClients setting,
consider raising the MaxClients setting
So Restart Apache by increasing the MaxClient then it works Fine.
After the restart whenever a new request comes it again reaches the
Maxclient to the limit and gives me the Message in the error_log as
[Thu Jul 17 22:28:54 2003] [error] server reached MaxClients setting,
consider raising the MaxClients setting
and Apache Goes down.
I rebuild apache again but the samething is happening again and again.
Meanwhile i upgraded my kernel to 2.4.20-18.8.The Apache prob was before the
upgarde and after the upgarde also.I know Kernel and Apache concerns no
where but just to inform the list abt it.
Any Help would be appreciated.
Regards,
Tina.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache Goes up and Down : server reached MaxClients setting
Posted by System <sy...@eluminoustechnologies.com>.
The Problem still continues Any Help!
> Thanks For the Reply.
>
> > On Fri, 18 Jul 2003, System wrote:
> >
> > > I am running RedHat 8.0/Apache/1.3.27 (Unix) mod_log_bytes/1.2
> > > mod_bwlimited/1.0 PHP/4.3.2 FrontPage/5.0.2.2634 mod_ssl/2.8.14
> > > OpenSSL/0.9.6b.
> > >
> > > My Apache server goes up and down very frequently. When i checked the
> Logs
> > > it says :
> > > [Thu Jul 17 22:28:54 2003] [error] server reached MaxClients setting,
> > > consider raising the MaxClients setting
> > >
> > > So Restart Apache by increasing the MaxClient then it works Fine.
> > > After the restart whenever a new request comes it again reaches the
> > > Maxclient to the limit and gives me the Message in the error_log as
> > > [Thu Jul 17 22:28:54 2003] [error] server reached MaxClients setting,
> > > consider raising the MaxClients setting
> > > and Apache Goes down.
> >
> > What did you raise your MaxClients to?
> 256
> I restart apache and after a couple of mins the samething.
> >
> > What is your ServerLimit set to?
> > Re-reading your post, I se you have Apache Httpd 1.3.27. It doesn't use
> > the ServerLimit directive. "To configure more than 256 clients, you must
> > edit the HARD_SERVER_LIMIT entry in httpd.h and recompile" (from the
> > docs).
> I have set the Hard_server_Limit while compiling Apache see the httpd.h
> file.
> root@host [~]# cat /usr/local/apache/include/httpd.h | grep
> HARD_SERVER_LIMIT
> #ifndef HARD_SERVER_LIMIT
> #define HARD_SERVER_LIMIT 1024
> #define HARD_SERVER_LIMIT 2048
> #define HARD_SERVER_LIMIT 2048
> root@host [~]# ulimit
> unlimited
> > Does your Apache really crash? It should queue (based on ListenBacklog
> > directive).
> Yep!
> >
> > Jeremy C. Reed
> > echo 'G014AE824B0-07CC?/JJFFFI?D64CB>D=3C427=>;>6HI2><J' |
> > tr /-_ :\ Sc-y./ | sed swxw`uname`w
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > " from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> >
> >
> Regards,
> Tina.
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache Goes up and Down : server reached MaxClients setting
Posted by System <sy...@eluminoustechnologies.com>.
Thanks For the Reply.
> On Fri, 18 Jul 2003, System wrote:
>
> > I am running RedHat 8.0/Apache/1.3.27 (Unix) mod_log_bytes/1.2
> > mod_bwlimited/1.0 PHP/4.3.2 FrontPage/5.0.2.2634 mod_ssl/2.8.14
> > OpenSSL/0.9.6b.
> >
> > My Apache server goes up and down very frequently. When i checked the
Logs
> > it says :
> > [Thu Jul 17 22:28:54 2003] [error] server reached MaxClients setting,
> > consider raising the MaxClients setting
> >
> > So Restart Apache by increasing the MaxClient then it works Fine.
> > After the restart whenever a new request comes it again reaches the
> > Maxclient to the limit and gives me the Message in the error_log as
> > [Thu Jul 17 22:28:54 2003] [error] server reached MaxClients setting,
> > consider raising the MaxClients setting
> > and Apache Goes down.
>
> What did you raise your MaxClients to?
256
I restart apache and after a couple of mins the samething.
>
> What is your ServerLimit set to?
> Re-reading your post, I se you have Apache Httpd 1.3.27. It doesn't use
> the ServerLimit directive. "To configure more than 256 clients, you must
> edit the HARD_SERVER_LIMIT entry in httpd.h and recompile" (from the
> docs).
I have set the Hard_server_Limit while compiling Apache see the httpd.h
file.
root@host [~]# cat /usr/local/apache/include/httpd.h | grep
HARD_SERVER_LIMIT
#ifndef HARD_SERVER_LIMIT
#define HARD_SERVER_LIMIT 1024
#define HARD_SERVER_LIMIT 2048
#define HARD_SERVER_LIMIT 2048
root@host [~]# ulimit
unlimited
> Does your Apache really crash? It should queue (based on ListenBacklog
> directive).
Yep!
>
> Jeremy C. Reed
> echo 'G014AE824B0-07CC?/JJFFFI?D64CB>D=3C427=>;>6HI2><J' |
> tr /-_ :\ Sc-y./ | sed swxw`uname`w
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
Regards,
Tina.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache Goes up and Down : server reached MaxClients
setting
Posted by "Jeremy C. Reed" <re...@wcug.wwu.edu>.
On Fri, 18 Jul 2003, System wrote:
> I am running RedHat 8.0/Apache/1.3.27 (Unix) mod_log_bytes/1.2
> mod_bwlimited/1.0 PHP/4.3.2 FrontPage/5.0.2.2634 mod_ssl/2.8.14
> OpenSSL/0.9.6b.
>
> My Apache server goes up and down very frequently. When i checked the Logs
> it says :
> [Thu Jul 17 22:28:54 2003] [error] server reached MaxClients setting,
> consider raising the MaxClients setting
>
> So Restart Apache by increasing the MaxClient then it works Fine.
> After the restart whenever a new request comes it again reaches the
> Maxclient to the limit and gives me the Message in the error_log as
> [Thu Jul 17 22:28:54 2003] [error] server reached MaxClients setting,
> consider raising the MaxClients setting
> and Apache Goes down.
What did you raise your MaxClients to?
What is your ServerLimit set to?
Re-reading your post, I se you have Apache Httpd 1.3.27. It doesn't use
the ServerLimit directive. "To configure more than 256 clients, you must
edit the HARD_SERVER_LIMIT entry in httpd.h and recompile" (from the
docs).
Does your Apache really crash? It should queue (based on ListenBacklog
directive).
Jeremy C. Reed
echo 'G014AE824B0-07CC?/JJFFFI?D64CB>D=3C427=>;>6HI2><J' |
tr /-_ :\ Sc-y./ | sed swxw`uname`w
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org