From owner-freebsd-stable Wed Apr 4 4:18:40 2001 Delivered-To: freebsd-stable@freebsd.org Received: from uno.mnl.com (uno.mnl.com [63.97.246.49]) by hub.freebsd.org (Postfix) with SMTP id C362737B726 for ; Wed, 4 Apr 2001 04:18:31 -0700 (PDT) (envelope-from bdutton@uno.mnl.com) Received: (qmail 42207 invoked by uid 1001); 28 Mar 2001 18:51:35 -0000 Message-ID: <20010328185135.42206.qmail@uno.mnl.com> References: In-Reply-To: From: "Bradley W. Dutton" To: Jon Nathan Cc: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org Subject: Re: httpsd in free(): warning: chunk is already free. Date: Wed, 28 Mar 2001 18:51:35 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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