From owner-freebsd-apache@FreeBSD.ORG Mon Aug 21 10:00:42 2006 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 4EB7216A4E8 for ; Mon, 21 Aug 2006 10:00:42 +0000 (UTC) (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 A2ED943D49 for ; Mon, 21 Aug 2006 10:00:41 +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.4/8.13.4) with ESMTP id k7LA0fuV005102 for ; Mon, 21 Aug 2006 10:00:41 GMT (envelope-from fenner+portsurvey@freefall.freebsd.org) Received: (from fenner@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7LA0fRZ005101; Mon, 21 Aug 2006 10:00:41 GMT (envelope-from fenner+portsurvey) Date: Mon, 21 Aug 2006 10:00:41 GMT Message-Id: <200608211000.k7LA0fRZ005101@freefall.freebsd.org> From: fenner@freebsd.org (Bill "distfiles" Fenner) To: apache@freebsd.org Cc: Subject: FreeBSD ports: 7 unfetchable distfiles: www/mod_accesscookie, www/mod_auth_mysql2, www/mod_index_rss, www/mod_injection, 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 Aug 2006 10:00:42 -0000 Dear apache@freebsd.org, You are listed as the FreeBSD port maintainer for 7 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_auth_mysql2,www/mod_index_rss,www/mod_injection,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 Aug 21 19:54:06 2006 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 024F716A519 for ; Mon, 21 Aug 2006 19:54:06 +0000 (UTC) (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 C388C43D7D for ; Mon, 21 Aug 2006 19:53:49 +0000 (GMT) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7LJrj85061674 for ; Mon, 21 Aug 2006 19:53:45 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7LJriL2061670 for apache@FreeBSD.org; Mon, 21 Aug 2006 19:53:44 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Aug 2006 19:53:44 GMT Message-Id: <200608211953.k7LJriL2061670@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon 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 Aug 2006 19:54:06 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/89308 apache [patch] www/mod_accounting crash on request_timeout 1 problem total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/74907 apache [PATCH] www/mod_perl: cleanups o ports/89972 apache portupgrade apache+ssl fails on dependencies o ports/97385 apache www/mod_auth_kerb configure script faults with heimdal o ports/97883 apache www/mod_bw 0.7 doesn't work on 4.x due to patch in fil 4 problems total. From owner-freebsd-apache@FreeBSD.ORG Tue Aug 22 08:44:09 2006 Return-Path: X-Original-To: freebsd-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 92A7016A4E2 for ; Tue, 22 Aug 2006 08:44:09 +0000 (UTC) (envelope-from teo@labsys.biz) Received: from mail.labsys.biz (vls93-1-82-241-223-97.fbx.proxad.net [82.241.223.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55D4643D5C for ; Tue, 22 Aug 2006 08:44:01 +0000 (GMT) (envelope-from teo@labsys.biz) Received: from [192.168.60.10] (unknown [192.168.60.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.labsys.biz (My pleasure to meet you on Labsys Solution Mail Server) with ESMTP id 07C5673093 for ; Tue, 22 Aug 2006 10:42:50 +0200 (CEST) Message-ID: <44EAC3BA.5040701@labsys.biz> Date: Tue, 22 Aug 2006 10:43:38 +0200 From: Teo Labsys Organization: Labsys User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: freebsd-apache@freebsd.org Content-Type: multipart/related; boundary="------------010203080604000309070300" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Apache 2.2.3 + php5 + PostgreSQL 8.0.4 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: teo@labsys.biz List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2006 08:44:09 -0000 This is a multi-part message in MIME format. --------------010203080604000309070300 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Hi everybody, I hope it's the right place for problem ! Please let's me know if i'm wring mainling list. I installed Apache/2.2.3 + PHP5 (used in module with apache) on a FreeBSD 5.4-RELEASE for an intranet website, and I don't know why my server is sometimes very Slow. At the beginning when i start Apache the top command give me : last pid: 16280; load averages: 0.00, 0.01, 0.00 up 0+19:25:58 10:11:08 49 processes: 1 running, 47 sleeping, 1 zombie CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 57M Active, 249M Inact, 111M Wired, 24K Cache, 112M Buf, 1586M Free Swap: 994M Total, 994M Free PID UID PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 16154 80 4 0 14652K 12008K accept 0:00 0.00% 0.00% httpd 16155 80 4 0 14776K 12148K accept 0:00 0.00% 0.00% httpd 16159 80 4 0 14812K 12144K accept 0:00 0.00% 0.00% httpd 16157 80 4 0 14812K 12140K accept 0:00 0.00% 0.00% httpd 16171 80 4 0 14752K 12104K accept 0:00 0.00% 0.00% httpd 16158 80 4 0 14812K 12144K accept 0:00 0.00% 0.00% httpd 16156 80 4 0 14812K 12120K accept 0:00 0.00% 0.00% httpd 16163 80 4 0 14540K 11896K accept 0:00 0.00% 0.00% httpd 16161 80 4 0 14784K 12116K accept 0:00 0.00% 0.00% httpd 16162 80 4 0 14752K 12116K accept 0:00 0.00% 0.00% httpd 16160 80 4 0 14804K 12116K accept 0:00 0.00% 0.00% httpd 16229 80 4 0 12952K 10188K accept 0:00 0.00% 0.00% httpd 16230 80 4 0 12952K 10188K accept 0:00 0.00% 0.00% httpd 16231 80 4 0 12952K 10188K accept 0:00 0.00% 0.00% httpd and after 1 or 2 minutes using my website the result is last pid: 16557; load averages: 0.16, 0.04, 0.01 up 0+19:29:05 10:14:15 64 processes: 1 running, 62 sleeping, 1 zombie CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 68M Active, 249M Inact, 111M Wired, 24K Cache, 112M Buf, 1574M Free Swap: 994M Total, 994M Free PID UID PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 16158 80 20 0 14812K 12164K lockf 0:00 0.00% 0.00% httpd 16154 80 20 0 14836K 12204K lockf 0:00 0.00% 0.00% httpd 16157 80 20 0 14860K 12200K lockf 0:00 0.00% 0.00% httpd 16155 80 20 0 14844K 12224K lockf 0:00 0.00% 0.00% httpd 16171 80 20 0 14848K 12216K lockf 0:00 0.00% 0.00% httpd 16159 80 20 0 14812K 12152K lockf 0:00 0.00% 0.00% httpd 16161 80 20 0 14680K 12032K lockf 0:00 0.00% 0.00% httpd 16163 80 20 0 14844K 12212K lockf 0:00 0.00% 0.00% httpd 16162 80 20 0 14552K 11932K lockf 0:00 0.00% 0.00% httpd 16156 80 20 0 14812K 12148K lockf 0:00 0.00% 0.00% httpd 16231 80 20 0 14820K 12148K lockf 0:00 0.00% 0.00% httpd 16229 80 20 0 14812K 12144K lockf 0:00 0.00% 0.00% httpd 16230 80 20 0 14812K 12144K lockf 0:00 0.00% 0.00% httpd 16160 80 96 0 14860K 12200K select 0:00 0.00% 0.00% httpd 16543 80 20 0 13252K 10460K lockf 0:00 0.00% 0.00% httpd 16545 80 20 0 13252K 10460K lockf 0:00 0.00% 0.00% httpd 16547 80 20 0 13252K 10460K lockf 0:00 0.00% 0.00% httpd 16544 80 4 0 13040K 10244K accept 0:00 0.00% 0.00% httpd 16546 80 4 0 13040K 10244K accept 0:00 0.00% 0.00% httpd 16550 80 4 0 12952K 10188K accept 0:00 0.00% 0.00% httpd 16552 80 4 0 12952K 10188K accept 0:00 0.00% 0.00% httpd 16551 80 4 0 12952K 10188K accept 0:00 0.00% 0.00% httpd 16554 80 4 0 12952K 10188K accept 0:00 0.00% 0.00% httpd 16549 80 4 0 12952K 10188K accept 0:00 0.00% 0.00% httpd 16548 80 4 0 12952K 10188K accept 0:00 0.00% 0.00% httpd 16556 80 4 0 12952K 10188K accept 0:00 0.00% 0.00% httpd 16553 80 4 0 12952K 10188K accept 0:00 0.00% 0.00% httpd 16557 80 4 0 12952K 10188K accept 0:00 0.00% 0.00% httpd 16555 80 4 0 12952K 10188K accept 0:00 0.00% 0.00% httpd At the same time the command iostat give me : tty ad4 ad6 ar0 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 0 11 0.52 0 0.00 0.52 0 0.00 20.76 2 0.03 0 0 0 0 100 0 229 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 0 100 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 0 100 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 26 0 0 0 74 0 76 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 1 0 99 0 76 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 4 0 0 0 96 0 76 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 21 0 2 0 77 0 76 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 0 100 0 77 0.00 0 0.00 0.00 0 0.00 6.00 4 0.02 0 0 0 0 100 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 0 100 0 77 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0 0 0 0 100 and netstat -m 91 mbufs in use 86/25600 mbuf clusters in use (current/max) 0/3/6656 sfbufs in use (current/peak/max) 194 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines The server never crash and I have no timeout. It give me everytime the answer for my query but it's very slow when State is Lockf. So I've tried to install the webserver on a FreeBSD 6.0 or 6.1, on different hardware server and different version of apache with the same configuration but STATE is still lockf and very slow. I've read this answer from google newsgroups but i think is an old on : " They're using a lockfile around the select() call on the accept'ing socket. Basically, when apache is listening on multiple IPs/ports it needs to select() on several filedescriptors. The problem (under FreeBSD at least) is that whenever you have some process select()'ing on a descriptor and another process wants to do the same you get a "select collision", a collision requires that all processes waiting on the same select channel wake up then reassert thier desire to select. So... if you have 500 apache processes select()'ing and one wakes up to service a request, finished serving, then goes to select again, all the rest (499) have to wake up and reaffirm thier desire to select(). This doesn't scale very well at all. What apache does to fix this, is only allow one process to select() at any given time by keeping a lockf lock on a file while waiting in select(). When select returns it releases the lock and this allows another process to enter the select() call. It's still not as efficient because (under FreeBSD) I think this still can wakeup each process blocked on the lock, but it's still an order of magnitude better than having select() collisions. If you want to get it the most optimal, try to not specify individual IPs for apache to bind to. If you can tell apache to bind to only port 80 on "*" (all IPs) you'll get much better performance because then apache no longer needs to select, it only needs to accept() on a single socket which is the most optimal thing to do. You'll know if you've got the single select working if you see the majority of the apache processes in "accept" rather than "lockf". You might also want to check out using accept filters to get even more performance out of apache, see the accf_http manpage and check the apache docs for the compile time stuff you need to do to enable this." Apache configuration httpd-default.conf HostnameLookups Off KeepAlive Off Timeout 300 httpd-mpm.conf PidFile /var/run/httpd.pid LockFile /var/log/accept.lock StartServers 10 MinSpareServers 10 MaxSpareServers 50 MaxClients 150 MaxRequestsPerChild 5000 httpd-vhosts.conf I've tried with vhosts by name but like i use ssl I've changed for IP ALIASING, But the result is the same. NameVirtualHost *:443 ServerName xxx ServerAlias xxx ServerAdmin xxx@xxx DocumentRoot xxx SSLEngine on SSLCertificateFile xxx SSLCertificateKeyFile xxx ErrorLog xx TransferLog xxxx idem as below idem as below Do you know what i could do ? thanks, -- teo Gsm: +33 (0)6 29 79 74 64 Skype (FR): 0870 444 139 [1]teo@labsys.biz.com [2]My status References 1. mailto:teo@labsys.biz.com 2. skype:lacour_a?call --------------010203080604000309070300-- From owner-freebsd-apache@FreeBSD.ORG Tue Aug 22 10:24:34 2006 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 6E93516A4DF; Tue, 22 Aug 2006 10:24:34 +0000 (UTC) (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 7309F43D70; Tue, 22 Aug 2006 10:24:31 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7MAOVF3054196; Tue, 22 Aug 2006 10:24:31 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7MAOVBt054192; Tue, 22 Aug 2006 10:24:31 GMT (envelope-from edwin) Date: Tue, 22 Aug 2006 10:24:31 GMT From: Edwin Groothuis Message-Id: <200608221024.k7MAOVBt054192@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, apache@FreeBSD.org Cc: Subject: Re: ports/102376: mod_auth_cookie_mysql2 has a new web page 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: Tue, 22 Aug 2006 10:24:34 -0000 Synopsis: mod_auth_cookie_mysql2 has a new web page Responsible-Changed-From-To: freebsd-ports-bugs->apache Responsible-Changed-By: edwin Responsible-Changed-When: Tue Aug 22 10:24:30 UTC 2006 Responsible-Changed-Why: Over to maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=102376