From owner-freebsd-hackers Mon Mar 4 19: 1:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from sleet.ispgateway.de (sleet.ispgateway.de [62.67.200.125]) by hub.freebsd.org (Postfix) with SMTP id 9CD0537B402 for ; Mon, 4 Mar 2002 19:01:31 -0800 (PST) Received: (qmail 10533 invoked from network); 5 Mar 2002 03:01:29 -0000 Received: from unknown (HELO max) (132451@[80.141.115.86]) (envelope-sender ) by sleet.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 5 Mar 2002 03:01:29 -0000 From: =?iso-8859-1?Q?Max_David_Kr=FCper?= To: "Thomas Hurst" Cc: Subject: AW: httpd in malloc(): warning: recursive call (FreeBSD error??) Date: Tue, 5 Mar 2002 04:02:59 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20020302132955.GA9708@voi.aagh.net> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG we moved the rewrite into the httpd.conf, this was the solution, works very well now! Thanks a lot for that Information guys! Ciao, Max -----Ursprüngliche Nachricht----- Von: owner-freebsd-hackers@FreeBSD.ORG [mailto:owner-freebsd-hackers@FreeBSD.ORG]Im Auftrag von Thomas Hurst Gesendet: Samstag, 2. März 2002 14:30 An: freebsd-hackers@freebsd.org Betreff: Re: httpd in malloc(): warning: recursive call (FreeBSD error??) * Max David Krüper (m.krueper@linuxwork.de) wrote: > I have a FreeBSD 4.5-STABLE box running, when i start apache first > all works fine, but after like 3 minutes in the logfile i see this > messages: > > httpd in free(): warning: chunk is already free > httpd in free(): warning: recursive call > httpd in malloc(): warning: recursive call > httpd in malloc(): warning: recursive call > [Fri Mar 1 19:49:16 2002] [alert] [client 195.93.64.xx] > /usr/local/httpd/htdocs/qm-dev/.htaccess: RewriteRule: cannot compile > regular expression 'F([0-9]+)(.htm(l)?)?' I've had lots of fun nuking Apache using mod_rewrite. It's can be fragile at times; the solution is usually to rewrite the regex. It's also a good idea to put it in httpd.conf on a production server, since .htaccess support is conciderably slower and more of a hack then anything. Also keep in mind with php embedded in the server, bugs in that and it's extensions (some of which are dodgy at the best of times, like XSLT) can show up as Apache errors. Try disabling it and seeing if it still happens (after mod_rewrite :) -- Thomas 'Freaky' Hurst - freaky@aagh.net - http://www.aagh.net/ - No problem is so formidable that you can't just walk away from it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message