Massive 2.0.53 errors on 5.4-PRE

Clement Laforet sheepkiller at cultdeadsheep.org
Mon Apr 4 12:39:01 PDT 2005


On Mon, Apr 04, 2005 at 07:16:36PM +0200, Emanuel Strobl wrote:
> Am Sonntag, 3. April 2005 23:50 schrieb Clement Laforet:
> > On Sun, Apr 03, 2005 at 09:24:59PM +0200, Emanuel Strobl wrote:
> > > I see the following line in the error log every second!
> > > [Sun Apr 03 21:07:15 2005] [warn] (61)Connection refused: connect to
> > > listener
> > Can you please send us the output of httpd -V, your kernel config
> > (if it's a particular one) and your loaded modules?
> 
> httpd -V:
> Server version: Apache/2.0.53
> Server built:   Mar 23 2005 19:15:26
> Server's Module Magic Number: 20020903:9
> Architecture:   32-bit
> Server compiled with....
>  -D APACHE_MPM_DIR="server/mpm/prefork"
>  -D APR_HAS_SENDFILE
>  -D APR_HAS_MMAP
>  -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
>  -D APR_USE_FLOCK_SERIALIZE
>  -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
>  -D APR_HAS_OTHER_CHILD
>  -D AP_HAVE_RELIABLE_PIPED_LOGS
>  -D HTTPD_ROOT="/usr/local"
>  -D SUEXEC_BIN="/usr/local/bin/suexec"
>  -D DEFAULT_PIDLOG="/var/run/httpd.pid"
>  -D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status"
>  -D DEFAULT_LOCKFILE="/var/run/accept.lock"
>  -D DEFAULT_ERRORLOG="/var/log/httpd-error.log"
>  -D AP_TYPES_CONFIG_FILE="etc/apache2/mime.types"
>  -D SERVER_CONFIG_FILE="etc/apache2/httpd.conf"
> 
> The thing is running in a jail, kernel is a customized, you can get the full 
> config at http://www.schmalzbauer.de/statics/phobos/GA-6IEML
> The jail environmet can be read by the make.conf here:
> http://www.schmalzbauer.de/statics/phobos/jail.make.conf
> The apache configuration can be found here:
> http://www.schmalzbauer.de/statics/phobos/httpd.conf

Thanks, I presume pf and altq are running on this machine.
How many request per second do you have?

> I'm absolutely no apache guru and like i said, this is a productive machine, 
> so I don't know where to start finding out the meaning of the error.
From source, httpd-2.0.53/server/mpm_common.c ;-)

Does sysctl oid net.inet.ip.intr_queue_drops increase when these 
warnings occur? if yes:
- increase net.inet.ip.intr_queue_maxlen to see if it solve the 
  problem or limit the rate of error.
- does apache compiled  with WITH_KQUEUE_SUPPORT fix the problem?

OTOH, it can come from you sslmutex configuration  which may prevent 
apache to work correctly in a jail.


I'll give a try when I have some free time, thanks for the reports.

clem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-apache/attachments/20050404/153f622b/attachment.bin


More information about the freebsd-apache mailing list