Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 99069 invoked from network); 18 Oct 2005 05:40:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Oct 2005 05:40:23 -0000 Received: (qmail 72170 invoked by uid 500); 18 Oct 2005 05:40:13 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 71917 invoked by uid 500); 18 Oct 2005 05:40:12 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 71446 invoked by uid 99); 18 Oct 2005 05:40:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [81.56.215.125] (HELO mail.bulix.org) (81.56.215.125) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2005 22:40:06 -0700 Received: from skikda.appart.bulix.org ([10.0.0.10]) by frog with smtp (Exim 4.54) id 1ERk7P-00017m-Nv for dev@httpd.apache.org; Tue, 18 Oct 2005 07:34:36 +0200 Received: by skikda.appart.bulix.org (sSMTP sendmail emulation); Tue, 18 Oct 2005 07:34:33 +0200 Date: Tue, 18 Oct 2005 07:34:33 +0200 From: Maxime Petazzoni To: dev@httpd.apache.org Subject: Re: mod_mbox spinning processes on ajax Message-ID: <20051018053432.GK17803@bulix.org> Reply-To: maxime.petazzoni@bulix.org Mail-Followup-To: dev@httpd.apache.org References: <4352AFEA.2090503@slive.ca> <20051016230859.GE16817@bulix.org> <4353B8FC.3090104@slive.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MSd2ShuMixI0uVaZ" Content-Disposition: inline In-Reply-To: <4353B8FC.3090104@slive.ca> User-Agent: Mutt/1.5.11 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --MSd2ShuMixI0uVaZ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Hi, * Joshua Slive [2005-10-17 10:45:16]: > Maxime Petazzoni wrote: > >Salut, > > > >* Joshua Slive [2005-10-16 15:54:18]: > > > >>There appear to be some httpd processes spinning on cpu on ajax. > >>Attaching with gdb and asking for a backtrace gives me something > >>like this: > > > >[snip] > > > >Could you send us the URL that raised the problem ? We don't see > >anything that could be wrong in the mbox_wrap_text code :( > > This URL seems to give the problem: > http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-commits/200012.mbox/%3c20001212191857.95050.qmail@locus.apache.org%3e > > There are no spinning httpds on ajax at the moment -- they seem to > come and go. I suspect that they are not permanently spinning, but > rather are dying whenever the client gives up on waiting. > Connecting to the above URL gives me instant 100% CPU usage on the > server that lasts until I hit "stop" on the browser. I get no > content from the server. > > I would debug further, but that would involve actually looking at the > code, which I have so far managed to avoid ;-) This email is 457 kbytes long, maybe it just take some time to iterate through 450k+ characters. Maybe we could find a better algorithm ? I have no clue. - Sam -- Maxime Petazzoni (http://www.bulix.org) -- gone crazy, back soon. leave message. --MSd2ShuMixI0uVaZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDVIlo7KsOe4Pmrg0RAjhFAJ0UDSilV4tsM4zO+JHzHc+dpayq/ACeKva/ aLXEDaJVpym3sPy7zAEId8I= =l7wO -----END PGP SIGNATURE----- --MSd2ShuMixI0uVaZ--