Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2001 18:51:35 GMT
From:      "Bradley W. Dutton" <bdutton@uno.mnl.com>
To:        Jon Nathan <jon@rupture.net>
Cc:        freebsd-questions@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: httpsd in free(): warning: chunk is already free.
Message-ID:  <20010328185135.42206.qmail@uno.mnl.com>
In-Reply-To: <Pine.BSF.4.33.0103281304040.41958-100000@froody.rupture.net> 
References:  <Pine.BSF.4.33.0103281304040.41958-100000@froody.rupture.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Are you using any caching modules with php, BwareCache or APC?  I noticed 
BwareCache was doing it on one of my machines. 

Brad 

Jon Nathan writes: 

> hello, 
> 
> i'm running apache 1.3.19 on freebsd 4.3-RC cvsupped 03/23/01.  apache
> was built by hand with php4.0.4pl1 and apache_1.3.19+ssl_1.42.  in the
> parent server error log, i am getting thousands of the following
> message: 
> 
> httpsd in free(): warning: chunk is already free.
> httpsd in free(): warning: chunk is already free. 
> 
> occasionally it will say "page is already free." instead of chunk. 
> 
> am i correct in assuming that this means httpsd uses freebsd's libc
> and that the free() function from libc is reporting this warning
> message? 
> 
> how should i go about trying to fix it?  it fills up my logfile
> partition - yesterday i had a 730MB error_log. 
> 
> i had this same problem on freebsd 3.4-release as well. 
> 
> here is some info: 
> 
> ijon@froody:~# uname -a
> FreeBSD froody.rupture.net 4.3-RC FreeBSD 4.3-RC #0: Sat Mar 24
> 04:52:09 GMT 2001
> jon@froody.rupture.net:/usr/obj/usr/src/sys/RUPTURE  i386
> jon@froody:~# /web/bin/httpsd -l
> Compiled-in modules:
>   http_core.c
>   mod_env.c
>   mod_log_config.c
>   mod_mime.c
>   mod_negotiation.c
>   mod_status.c
>   mod_include.c
>   mod_autoindex.c
>   mod_dir.c
>   mod_cgi.c
>   mod_asis.c
>   mod_imap.c
>   mod_actions.c
>   mod_userdir.c
>   mod_alias.c
>   mod_access.c
>   mod_auth.c
>   mod_setenvif.c
>   apache_ssl.c
>   mod_php4.c
> suexec: disabled; invalid wrapper /web/bin/suexec
> jon@froody:~# cat /work/apache_1.3.19/a
> ./configure --with-layout=web
> --activate-module=src/modules/php4/libphp4.a
> jon@froody:~# cat /work/php-4.0.4pl1/a
> ./configure --with-mysql=/usr/local --with-apache=../apache_1.3.19 \
> --enable-track-vars --prefix=/usr/local  --with-gd \
>  --with-imap=/usr/local/imap
> jon@froody:~# 
> 
> 
> a search turned up this page:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=gnu%2F7821 
> 
> which refers to a similar problem with free().  i have no idea if it's
> related/helpful though. 
> 
>  
> 
> 
> -jon 
> 
> -- 
> Jon Nathan
> jon@rupture.net
> http://www.rupture.net/~jon/ 
> 
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010328185135.42206.qmail>