Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2007
    Posts
    688

    apache errors / down

    Tailed apache logs and found this:


    [Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10308 for (*)
    [Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10309 for worker proxy:reverse
    [Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10310 for worker proxy:reverse
    [Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
    [Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
    [Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10309 for (*)
    [Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10310 for (*)
    [Sun Apr 20 08:29:35 2008] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 2 idle, and 45 total children
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10311 for worker proxy:reverse
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10311 for (*)
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10312 for worker proxy:reverse
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10312 for (*)
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10313 for worker proxy:reverse
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10313 for (*)
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10314 for worker proxy:reverse
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10314 for (*)
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10315 for worker proxy:reverse
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10315 for (*)
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10316 for worker proxy:reverse
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10316 for (*)
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10317 for worker proxy:reverse
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10317 for (*)
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10318 for worker proxy:reverse
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
    [Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10318 for (*)


    What on earth is all these proxy_util.c errors?

    Also, I could not find any details in the httpd.conf file regarding StartServers, or Min/MaxSpareServers.

    I'm using Centos 4 / Apache 2.2 / PHP 5 / Cpanel

  2. #2
    Join Date
    Jan 2007
    Posts
    688
    For example, these lines are no where to be found in apache 2.2. version of httpd.conf (where they were included by default in 1.3v)

    Code:
    KeepAlive On
    Timeout 15
    MaxKeepAliveRequests 64
    KeepAliveTimeout 1
    MinSpareServers 5
    MaxSpareServers 15
    StartServers 15
    MaxClients 256
    MaxRequestsPerChild 64
    HostNameLookups Off
    ServerTokens Prod
    ServerSignature Off
    UseCanonicalName Off
    Why is that?


    I manually added this anyway to the httpd.conf

    Code:
    PidFile logs/httpd.pid
    LockFile logs/accept.lock
    # Defined in /var/cpanel/cpanel.config: apache_port
    Listen 0.0.0.0:80
    Timeout 15
    User nobody
    Group nobody
    ExtendedStatus On
    ServerAdmin [email protected]
    ServerName server.logicweb.com
    LogLevel debug
    
    KeepAlive On
    MaxKeepAliveRequests 64
    KeepAliveTimeout 1
    MinSpareServers 5
    MaxSpareServers 15
    StartServers 30
    MaxClients 500
    MaxRequestsPerChild 64
    HostNameLookups Off
    ServerTokens Prod
    ServerSignature Off
    UseCanonicalName Off
    ServerLimit 1000
    I restarted and now got this error:

    WARNING: MaxClients of 500 exceeds ServerLimit value of 256 servers,
    lowering MaxClients to 256. To increase, please see the ServerLimit
    directive.

    That doesn't make any sense.

    There is only one line (the one I added above manually) for ServerLimit and no results on search for "256"
    Last edited by Calibaba; 04-20-2008 at 09:46 AM.

  3. #3
    Join Date
    Jan 2007
    Posts
    688
    Can someone kindly help me out on this please? Thanks

  4. #4
    Join Date
    Jan 2006
    Location
    Athens, Greece
    Posts
    1,479
    Apache 2 configuration is split to many files, check the extras folder inside the
    directory where httpd.conf is.

    MaxRequestsPerChild is very low, increase it. You will find it in httpd-mpm.conf i think.

  5. #5
    What the error is saying is, your MaxClients and ServerLimit parameters must be set to the same value, whether that is 256 or 500. Fix that and restart apache.
    ServiceFlex - High Performance Web Solutions

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •