From owner-freebsd-apache@FreeBSD.ORG Sun Nov 20 11:54:16 2005 Return-Path: X-Original-To: apache@hub.freebsd.org Delivered-To: freebsd-apache@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96A6516A41F; Sun, 20 Nov 2005 11:54:16 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6163043D4C; Sun, 20 Nov 2005 11:54:16 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAKBsGwh091862; Sun, 20 Nov 2005 11:54:16 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAKBsGlW091858; Sun, 20 Nov 2005 11:54:16 GMT (envelope-from edwin) Date: Sun, 20 Nov 2005 11:54:16 GMT From: Edwin Groothuis Message-Id: <200511201154.jAKBsGlW091858@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, apache@FreeBSD.org Cc: Subject: Re: ports/89308: [patch] www/mod_accounting crash on request_timeout X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Nov 2005 11:54:16 -0000 Synopsis: [patch] www/mod_accounting crash on request_timeout Responsible-Changed-From-To: freebsd-ports-bugs->apache Responsible-Changed-By: edwin Responsible-Changed-When: Sun Nov 20 11:54:15 GMT 2005 Responsible-Changed-Why: Over to maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=89308 From owner-freebsd-apache@FreeBSD.ORG Mon Nov 21 10:00:52 2005 Return-Path: X-Original-To: apache@freebsd.org Delivered-To: freebsd-apache@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A18316A41F for ; Mon, 21 Nov 2005 10:00:52 +0000 (GMT) (envelope-from fenner+portsurvey@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED00343D46 for ; Mon, 21 Nov 2005 10:00:51 +0000 (GMT) (envelope-from fenner+portsurvey@FreeBSD.org) Received: from freefall.freebsd.org (fenner@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jALA0pR2077139 for ; Mon, 21 Nov 2005 10:00:51 GMT (envelope-from fenner+portsurvey@freefall.freebsd.org) Received: (from fenner@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jALA0pTM077138; Mon, 21 Nov 2005 10:00:51 GMT (envelope-from fenner+portsurvey) Date: Mon, 21 Nov 2005 10:00:51 GMT Message-Id: <200511211000.jALA0pTM077138@freefall.freebsd.org> From: fenner@freebsd.org (Bill "distfiles" Fenner) To: apache@freebsd.org Cc: Subject: FreeBSD ports: 6 unfetchable distfiles: www/mod_accesscookie, www/mod_injection, www/mod_put, www/mod_v2h, www/mod_vdbh, www/mod_webapp X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ports@freebsd.org List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2005 10:00:52 -0000 Dear apache@freebsd.org, You are listed as the FreeBSD port maintainer for 6 ports whose distfiles are not fetchable from their MASTER_SITES. Could you please visit http://people.freebsd.org/~fenner/portsurvey/apache@freebsd.org.html and correct the problems listed there? The individual ports with problems are www/mod_accesscookie,www/mod_injection,www/mod_put,www/mod_v2h,www/mod_vdbh,www/mod_webapp. If you have already corrected the problems and submitted a PR, please accept my thanks and apologies for the delay in getting the fixes into the tree. This reminder is created automatically and does not (yet) have a way to know if a PR fixing the problem has been submitted. Please do *NOT* send your response to me directly; I do not necessarily have time to commit your fix; please instead submit a PR via 'send-pr' so it doesn't get lost. Problems are usually of two types: 1. The software package has been upgraded and the version in the port has been removed. The best solution to this problem is to upgrade the port to the most current version of the software package. If you are a FreeBSD committer, then you can just upgrade the port directly. If not, you should create the updated port on your own machine, test it (and maybe even run "portlint" on it), and then use "send-pr" to submit a "diff -uNr old-port updated-port". If you added or deleted any files, please make an explicit note of it. 2. The mirror site being used no longer contains the software package in question, or no longer exists. Solutions include: a) If there are other mirror sites, just remove the bad site from the list. (Make sure that what appears to be a bad site isn't actually a problem of type 1, upgrade) b) If the README or other support files in the software documentation mention where to get the software package, use one of those sites. c) Use a search engine to find another place to get the original DISTFILES. Make sure that you don't pick a FreeBSD distfiles mirror -- if you can't find any other places where the file exists, it can be a LOCAL_PORT or you can simply comment out the MASTER_SITES= line, with a comment explaining why. Once you have a solution, use "send-pr" to submit a "diff -u" of the Makefile. Note that this isn't an urgent issue, as people who try to build the port now will just fall back to the FreeBSD distfiles mirror. Please just put it on your list to do and get to it when you have time. These messages will continue to arrive twice a month until the fix is committed, as a reminder. Thanks, Bill "distfiles" Fenner. From owner-freebsd-apache@FreeBSD.ORG Mon Nov 21 11:01:28 2005 Return-Path: X-Original-To: apache@freebsd.org Delivered-To: freebsd-apache@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E92016A41F for ; Mon, 21 Nov 2005 11:01:28 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41CB943D4C for ; Mon, 21 Nov 2005 11:01:28 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jALB1S39089122 for ; Mon, 21 Nov 2005 11:01:28 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jALB1Rk4089115 for apache@freebsd.org; Mon, 21 Nov 2005 11:01:27 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 21 Nov 2005 11:01:27 GMT Message-Id: <200511211101.jALB1Rk4089115@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: apache@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2005 11:01:28 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/11/20] ports/89308 apache [patch] www/mod_accounting crash on reque 1 problem total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/12/09] ports/74907 apache [PATCH] www/mod_perl: cleanups o [2005/05/18] ports/81183 apache apache13-modperl can not compile with por o [2005/10/21] ports/87773 apache duplicate INDEX entry: www/mod_rpaf* 3 problems total. From owner-freebsd-apache@FreeBSD.ORG Fri Nov 25 02:38:52 2005 Return-Path: X-Original-To: apache@freebsd.org Delivered-To: freebsd-apache@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5EC616A41F for ; Fri, 25 Nov 2005 02:38:52 +0000 (GMT) (envelope-from mv@roq.com) Received: from vault.mel.jumbuck.com (ppp166-27.static.internode.on.net [150.101.166.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id E24EA43D55 for ; Fri, 25 Nov 2005 02:38:51 +0000 (GMT) (envelope-from mv@roq.com) Received: from vault.mel.jumbuck.com (localhost [127.0.0.1]) by vault.mel.jumbuck.com (Postfix) with ESMTP id A0E128A014 for ; Fri, 25 Nov 2005 13:38:42 +1100 (EST) Received: from [192.168.46.52] (unknown [192.168.46.250]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vault.mel.jumbuck.com (Postfix) with ESMTP id 85A1F8A00D for ; Fri, 25 Nov 2005 13:38:42 +1100 (EST) Message-ID: <4386793A.3090202@roq.com> Date: Fri, 25 Nov 2005 13:38:50 +1100 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.12) Gecko/20051110 X-Accept-Language: en-us, en MIME-Version: 1.0 To: apache@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: Subject: Weird threads problem X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2005 02:38:53 -0000 I am building apache2 with worker mode using something like this portupgrade -NRr -m 'WITH_MPM=worker -DWITH_PROXY_MODULES' /usr/ports/www/apache2 With 'ExtendedStatus On' I have noticed that after doing a apache benchmark test with 'ab' I see a lot of stuck http gets in /server-status listing I can leave the apache2 server untouched for days but they still remain there, doing a apachectl graceful doesn't make them go away either. This only appears to be happening with worker MPM on and not prefork. Does any one know if this is some kind of stuck thread problem or what? Thanks, Mike From owner-freebsd-apache@FreeBSD.ORG Fri Nov 25 15:38:20 2005 Return-Path: X-Original-To: apache@freebsd.org Delivered-To: freebsd-apache@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09C5D16A41F for ; Fri, 25 Nov 2005 15:38:20 +0000 (GMT) (envelope-from sheepkiller@cultdeadsheep.org) Received: from goofy.cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with SMTP id 832F843D4C for ; Fri, 25 Nov 2005 15:38:16 +0000 (GMT) (envelope-from sheepkiller@cultdeadsheep.org) Received: (qmail 42791 invoked by uid 1000); 25 Nov 2005 16:38:13 +0100 Date: Fri, 25 Nov 2005 16:38:13 +0100 From: Clement Laforet To: Michael Vince Message-ID: <20051125153813.GB32924@goofy.cultdeadsheep.org> References: <4386793A.3090202@roq.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="24zk1gE8NUlDmwG9" Content-Disposition: inline In-Reply-To: <4386793A.3090202@roq.com> User-Agent: Mutt/1.5.10i Cc: apache@freebsd.org Subject: Re: Weird threads problem X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2005 15:38:20 -0000 --24zk1gE8NUlDmwG9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 25, 2005 at 01:38:50PM +1100, Michael Vince wrote: > I am building apache2 with worker mode using something like this > portupgrade -NRr -m 'WITH_MPM=3Dworker -DWITH_PROXY_MODULES'=20 > /usr/ports/www/apache2 >=20 > With 'ExtendedStatus On' I have noticed that after doing a apache=20 > benchmark test with 'ab' I see a lot of stuck http gets in=20 > /server-status listing I can leave the apache2 server untouched for days= =20 > but they still remain there, doing a apachectl graceful doesn't make=20 > them go away either. > This only appears to be happening with worker MPM on and not prefork. > Does any one know if this is some kind of stuck thread problem or what? Which version of apache and FreeBSD do you use? if FreeBSD >5.x which=20 threading library is used? thanks clem --24zk1gE8NUlDmwG9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFDhy/ksRhfjwcjuh0RAvwuAKCdsUN/Th+ljL4zgL8NZNbSrXq82QCg4a/I K8T4hy4EPZ3kQMQP+BVbX4Y= =DpId -----END PGP SIGNATURE----- --24zk1gE8NUlDmwG9-- From owner-freebsd-apache@FreeBSD.ORG Sat Nov 26 00:36:21 2005 Return-Path: X-Original-To: apache@freebsd.org Delivered-To: freebsd-apache@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1663916A420 for ; Sat, 26 Nov 2005 00:36:21 +0000 (GMT) (envelope-from mv@roq.com) Received: from vault.mel.jumbuck.com (ppp166-27.static.internode.on.net [150.101.166.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE14C43D5F for ; Sat, 26 Nov 2005 00:36:18 +0000 (GMT) (envelope-from mv@roq.com) Received: from vault.mel.jumbuck.com (localhost [127.0.0.1]) by vault.mel.jumbuck.com (Postfix) with ESMTP id C6CAE8A02B; Sat, 26 Nov 2005 11:36:08 +1100 (EST) Received: from [192.168.0.4] (ppp157-158.static.internode.on.net [150.101.157.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vault.mel.jumbuck.com (Postfix) with ESMTP id 475A78A01F; Sat, 26 Nov 2005 11:36:08 +1100 (EST) Message-ID: <4387AE00.4010604@roq.com> Date: Sat, 26 Nov 2005 11:36:16 +1100 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.12) Gecko/20051110 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Clement Laforet References: <4386793A.3090202@roq.com> <20051125153813.GB32924@goofy.cultdeadsheep.org> In-Reply-To: <20051125153813.GB32924@goofy.cultdeadsheep.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: apache@freebsd.org Subject: Re: Weird threads problem X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2005 00:36:21 -0000 Clement Laforet wrote: >On Fri, Nov 25, 2005 at 01:38:50PM +1100, Michael Vince wrote: > > >>I am building apache2 with worker mode using something like this >>portupgrade -NRr -m 'WITH_MPM=worker -DWITH_PROXY_MODULES' >>/usr/ports/www/apache2 >> >>With 'ExtendedStatus On' I have noticed that after doing a apache >>benchmark test with 'ab' I see a lot of stuck http gets in >>/server-status listing I can leave the apache2 server untouched for days >>but they still remain there, doing a apachectl graceful doesn't make >>them go away either. >>This only appears to be happening with worker MPM on and not prefork. >>Does any one know if this is some kind of stuck thread problem or what? >> >> > >Which version of apache and FreeBSD do you use? if FreeBSD >5.x which >threading library is used? > >thanks >clem > > The machine is 6.0-Release on i386 dual pentium 4 SMP I been doing my testing on both libpthread and libthr The testing I have been doing is this ab -k -n 25500 -c 900 http://server/338kbyte.file I have tried enabling libthr with this below in libmap.conf and restarting Apache2 and have noticed that libthr can serve the requests in a far less amount of load (35 for libpthread and around 4.5 for libthr) With libthr it actually has less stuck listed gets (892) after a few refreshes of /server-status wget -q -O - http://localhost/server-status | grep -c "338k" 892 With libpthread it sits at 900 full stuck get lists in /server-status , no amounts of refreshes ever decrease the number. wget -q -O - http://localhost/server-status | grep -c "338k" 900 libmap.conf [/usr/local/sbin/httpd] libpthread.so.2 libthr.so.2 libpthread.so libthr.so On the good side of things the ab output says that all requests were completed correctly, the test is done from another FreeBSD box. ab -k -n 25500 -c 900 http://server/338kbyte.file This is ApacheBench, Version 2.0.41-dev <$Revision: 1.121.2.12 $> apache-2.0 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/ Benchmarking server (be patient) Completed 2550 requests Completed 5100 requests Completed 7650 requests Completed 10200 requests Completed 12750 requests Completed 15300 requests Completed 17850 requests Completed 20400 requests Completed 22950 requests Finished 25500 requests Server Software: Apache/2 Server Hostname: server Server Port: 80 Document Path: /338kbyte.file Document Length: 338141 bytes Concurrency Level: 900 Time taken for tests: 74.539460 seconds Complete requests: 25500 Failed requests: 0 Write errors: 0 Keep-Alive requests: 25500 Total transferred: 8745188465 bytes HTML transferred: 8737830199 bytes Requests per second: 342.10 [#/sec] (mean) Time per request: 2630.804 [ms] (mean) Time per request: 2.923 [ms] (mean, across all concurrent requests) Transfer rate: 114573.18 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 42 1081.2 0 34206 Processing: 59 2467 1508.0 2188 14334 Waiting: 4 90 336.9 18 4469 Total: 59 2509 1860.8 2197 41153 Percentage of the requests served within a certain time (ms) 50% 2197 66% 2818 75% 3264 80% 3572 90% 4486 95% 5352 98% 6528 99% 7370 100% 41153 (longest request) Regards, Mike