From owner-freebsd-apache@FreeBSD.ORG Mon Mar 18 10:43:39 2013 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E544EFD0 for ; Mon, 18 Mar 2013 10:43:39 +0000 (UTC) (envelope-from gunay20073@hotmail.com) Received: from blu0-omc1-s5.blu0.hotmail.com (blu0-omc1-s5.blu0.hotmail.com [65.55.116.16]) by mx1.freebsd.org (Postfix) with ESMTP id B6167268 for ; Mon, 18 Mar 2013 10:43:39 +0000 (UTC) Received: from BLU0-SMTP446 ([65.55.116.8]) by blu0-omc1-s5.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 18 Mar 2013 02:48:11 -0700 X-EIP: [lkvC84o6Eg4zFvzbJCGO4gz/dETn6Gv8] X-Originating-Email: [gunay20073@hotmail.com] Message-ID: Received: from pop-174.182.escom.bg ([93.183.174.182]) by BLU0-SMTP446.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 18 Mar 2013 02:48:09 -0700 From: gunay20073 Subject: selam To: "apache" MIME-Version: 1.0 Date: Mon, 18 Mar 2013 11:48:07 +0200 X-OriginalArrivalTime: 18 Mar 2013 09:48:09.0750 (UTC) FILETIME=[B2E58360:01CE23BD] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Mar 2013 10:43:40 -0000 =EF=BB=BFselam ismim hayriye yunanistanda oturuyorum is ariyorum yatili olarak olabilir size fotoraflarimi gonderiyorum cep tlf num yaziyorum bana donerseniz cok sevinirim saygilar 00306949001159 From owner-freebsd-apache@FreeBSD.ORG Mon Mar 18 11:06:09 2013 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 73BB1775 for ; Mon, 18 Mar 2013 11:06:09 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 66158A1A for ; Mon, 18 Mar 2013 11:06:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2IB69hn001380 for ; Mon, 18 Mar 2013 11:06:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2IB68s3001378 for apache@FreeBSD.org; Mon, 18 Mar 2013 11:06:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Mar 2013 11:06:08 GMT Message-Id: <201303181106.r2IB68s3001378@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: apache@FreeBSD.org Subject: Current problem reports assigned to apache@FreeBSD.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Mar 2013 11:06:09 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/176759 apache [patch] www/serf plist mentions serf_private.h, which a ports/176659 apache www/apache22 2.2.24 build error o ports/174617 apache [new port] No www/apache24 in the ports tree o ports/165809 apache add mod_proxy patch to www/apache22 o ports/157554 apache www/apache22: Apache RLimitNPROC does not work as inte o ports/125183 apache www/apache22 wrong SUEXEC_DOCROOT o ports/124375 apache security/heimdal: www/mod_auth_kerb doesn't compile ag 7 problems total. From owner-freebsd-apache@FreeBSD.ORG Tue Mar 19 13:16:38 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E9DF88C2; Tue, 19 Mar 2013 13:16:38 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id C4AB7236; Tue, 19 Mar 2013 13:16:38 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2JDGcTt018428; Tue, 19 Mar 2013 13:16:38 GMT (envelope-from ohauer@freefall.freebsd.org) Received: (from ohauer@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2JDGcJm018427; Tue, 19 Mar 2013 13:16:38 GMT (envelope-from ohauer) Date: Tue, 19 Mar 2013 13:16:38 GMT Message-Id: <201303191316.r2JDGcJm018427@freefall.freebsd.org> To: hag@linnaean.org, ohauer@FreeBSD.org, apache@FreeBSD.org From: ohauer@FreeBSD.org Subject: Re: ports/176759: [patch] www/serf plist mentions serf_private.h, which it doesn't install X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2013 13:16:39 -0000 Synopsis: [patch] www/serf plist mentions serf_private.h, which it doesn't install State-Changed-From-To: open->closed State-Changed-By: ohauer State-Changed-When: Tue Mar 19 13:16:16 UTC 2013 State-Changed-Why: Committed, Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=176759 From owner-freebsd-apache@FreeBSD.ORG Tue Mar 19 13:20:01 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4942392E for ; Tue, 19 Mar 2013 13:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 3B386264 for ; Tue, 19 Mar 2013 13:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2JDK1ZJ018537 for ; Tue, 19 Mar 2013 13:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2JDK10v018536; Tue, 19 Mar 2013 13:20:01 GMT (envelope-from gnats) Date: Tue, 19 Mar 2013 13:20:01 GMT Message-Id: <201303191320.r2JDK10v018536@freefall.freebsd.org> To: apache@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/176759: commit references a PR X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2013 13:20:01 -0000 The following reply was made to PR ports/176759; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/176759: commit references a PR Date: Tue, 19 Mar 2013 13:16:10 +0000 (UTC) Author: ohauer Date: Tue Mar 19 13:16:01 2013 New Revision: 314641 URL: http://svnweb.freebsd.org/changeset/ports/314641 Log: - fix pkg-plist PR: 176759 Submitted by: Daniel Hagerty Modified: head/www/serf/pkg-plist Modified: head/www/serf/pkg-plist ============================================================================== --- head/www/serf/pkg-plist Tue Mar 19 13:04:30 2013 (r314640) +++ head/www/serf/pkg-plist Tue Mar 19 13:16:01 2013 (r314641) @@ -1,7 +1,6 @@ include/serf-1/serf.h include/serf-1/serf_bucket_types.h include/serf-1/serf_bucket_util.h -include/serf-1/serf_private.h lib/libserf-1.a lib/libserf-1.la lib/libserf-1.so _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" From owner-freebsd-apache@FreeBSD.ORG Tue Mar 19 15:48:30 2013 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EC8968E3 for ; Tue, 19 Mar 2013 15:48:30 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by mx1.freebsd.org (Postfix) with ESMTP id 96743A1 for ; Tue, 19 Mar 2013 15:48:30 +0000 (UTC) Received: from mailout-de.gmx.net ([10.1.76.17]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0Mfl1O-1U5yCf0auq-00NBus for ; Tue, 19 Mar 2013 16:48:29 +0100 Received: (qmail invoked by alias); 19 Mar 2013 15:48:29 -0000 Received: from p578be941.dip0.t-ipconnect.de (EHLO [192.168.0.100]) [87.139.233.65] by mail.gmx.net (mp017) with SMTP; 19 Mar 2013 16:48:29 +0100 X-Authenticated: #1956535 X-Provags-ID: V01U2FsdGVkX1/ch+IR0Gzcr/3TirYAndvDsGCLSImiWR8A+QeU3r UMSwQ3PPh8Rdcs Message-ID: <514888FC.8080708@gmx.de> Date: Tue, 19 Mar 2013 16:49:16 +0100 From: olli hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: apache@FreeBSD.org Subject: Re: Upgrade of mod_fastcgi References: <514348DE.9000701@devclic.fr> In-Reply-To: <514348DE.9000701@devclic.fr> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Lilian - Devclic X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2013 15:48:31 -0000 Hi Lilian, It seems the fix is included in the last mod_fastcgi snap. Please can you test the following diff. Index: Makefile =================================================================== --- Makefile (revision 314644) +++ Makefile (working copy) @@ -2,10 +2,10 @@ # $FreeBSD$ PORTNAME= mod_fastcgi -PORTVERSION= 2.4.6 -PORTREVISION= 3 +PORTVERSION= 2.4.7 CATEGORIES= www MASTER_SITES= http://www.fastcgi.com/dist/ +DISTNAME= mod_fastcgi-SNAP-0910052141 MAINTAINER= apache@FreeBSD.org COMMENT= A fast-cgi module for Apache Index: distinfo =================================================================== --- distinfo (revision 314644) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (mod_fastcgi-2.4.6.tar.gz) = a5a887eecc8fe13e4cb1cab4d140188a3d2b5e6f337f8a1cce88ca441ddbe689 -SIZE (mod_fastcgi-2.4.6.tar.gz) = 100230 +SHA256 (mod_fastcgi-SNAP-0910052141.tar.gz) = e6564ae206284806c781834e9e89aa4b0a4dd647b45c6da5cc389c65a984bdc7 +SIZE (mod_fastcgi-SNAP-0910052141.tar.gz) = 103255 -- Regards, olli On 2013-03-15 17:14, Lilian - Devclic wrote: > Hello, > > We had an issue with mod_fasctcgi. Some requests failed with no reason and these errors appears in the apache error log file : > > > [Fri Mar 15 15:38:57 2013] [error] [client 91.198.44.22] (4)Interrupted system call: FastCGI: comm with server "/usr/local/sbin/php-fpm" aborted: select() failed, referer: https://sql.devclic.fr/db_structure.php?token=b9b99b544a46d355583070251708d948&db=devclic_si > [Fri Mar 15 15:38:57 2013] [error] [client 91.198.44.22] FastCGI: incomplete headers (0 bytes) received from server "/usr/local/sbin/php-fpm", referer: https://sql.devclic.fr/db_structure.php?token=b9b99b544a46d355583070251708d948&db=devclic_si > > We had the same issue on Ubuntu and Debian system and we update the version to the latest 2.4.7. > > So, can you update the port to this version ? Or can you put this fix in the source code : > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504132 > >> Index: libapache-mod-fastcgi-2.4.2/mod_fastcgi.c >> =================================================================== >> --- libapache-mod-fastcgi-2.4.2.orig/mod_fastcgi.c 2008-11-02 16:42:49.000000000 +0000 >> +++ libapache-mod-fastcgi-2.4.2/mod_fastcgi.c 2008-11-02 16:50:46.000000000 +0000 >> @@ -2178,12 +2178,15 @@ >> } >> >> /* wait on the socket */ >> - select_status = ap_select(nfds, &read_set, &write_set, NULL, &timeout); >> + /* Interrupted system calls do happen now and then, so retry on EINTR */ >> + do { >> + select_status = ap_select(nfds, &read_set, &write_set, NULL, &timeout); >> + } while (select_status < 0 && errno == EINTR); >> >> if (select_status < 0) >> { >> ap_log_rerror(FCGI_LOG_ERR_ERRNO, r, "FastCGI: comm with server " >> - "\"%s\" aborted: select() failed", fr->fs_path); >> + "\"%s\" aborted: select() failed: \"%s\"", fr->fs_path, strerror(errno)); >> state = STATE_ERROR; >> break; >> } >> @@ -2246,11 +2249,19 @@ >> } >> >> rv = fcgi_buf_socket_recv(fr->serverInputBuffer, fr->fd); >> + /* >> + * select(2) states: Under Linux, select() may report a socket >> + * file descriptor as "ready for reading", while nevertheless a >> + * subsequent read blocks. >> + * Act as if the FD was not set if socket_recv returns EAGAIN. >> + */ >> + if (rv < 0 && errno == EAGAIN) >> + break; >> >> if (rv < 0) >> { >> ap_log_rerror(FCGI_LOG_ERR, r, "FastCGI: comm with server " >> - "\"%s\" aborted: read failed", fr->fs_path); >> + "\"%s\" aborted: read failed: \"%s\"", fr->fs_path, strerror(errno)); >> state = STATE_ERROR; >> break; >> } > > We test it on a production server and at this moment no more problem. > Thanks a lot. > Best Regards. > From owner-freebsd-apache@FreeBSD.ORG Tue Mar 19 16:07:01 2013 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D2A41DC4 for ; Tue, 19 Mar 2013 16:07:01 +0000 (UTC) (envelope-from lilian@devclic.fr) Received: from smtp01.mgmt.devclic.net (smtp01.mgmt.devclic.net [91.198.44.61]) by mx1.freebsd.org (Postfix) with ESMTP id 591261E4 for ; Tue, 19 Mar 2013 16:07:00 +0000 (UTC) Received: from mx-1.devclic.net (mx-1.devclic.net [91.198.44.12]) by smtp01.mgmt.devclic.net (Postfix) with ESMTP id 683D0C464; Tue, 19 Mar 2013 18:46:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=devclic.fr; s=dkim; t=1363715214; bh=9hjTRLGqYyR+o5hBoLR2FlpKQpDs2zO/o4d7giJ/Rnk=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=K8Z/WRUMZaNmVLfu8mKI1E73pRzAAVxeGBS4JmP0947kh3KHxNplI6bBNahQ5aQ+G pZQ/aCv3vnFz/DbEP0QjoMBMAs4Iej/Ye7tQMssnc1QI5JsqqByujkaqGleIwVhYiW 8Nf8TGPtIK5b6KJMI1dESWKuWKYlM7j84ZPscwvo= Received: from localhost (localhost [127.0.0.1]) by mx-1.devclic.net (Postfix) with ESMTP id 7BDE027BE5B; Tue, 19 Mar 2013 17:06:54 +0100 (CET) X-DSPAM-Result: Whitelisted X-DSPAM-Confidence: 0.7503 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 1,51488d18216551722577945 X-DSPAM-Factors: 27, X-Spam-Flag: NO X-Spam-Score: -5.759 X-Spam-Level: X-Spam-Status: No, score=-5.759 required=4 tests=[ALL_TRUSTED=-1.8, AWL=-1.961, BAYES_50=0.001, DSPAM_WHITELIST=-2, HTML_MESSAGE=0.001] Received: from mx-1.devclic.net ([127.0.0.1]) by localhost (devclic-node1.devclic.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SMjbyVKSM9QA; Tue, 19 Mar 2013 17:06:48 +0100 (CET) Received: from [0.0.0.0] (unknown [91.198.44.22]) by mx-1.devclic.net (Postfix) with ESMTPS id 2664C27B91D; Tue, 19 Mar 2013 17:06:48 +0100 (CET) Message-ID: <51488D17.7060707@devclic.fr> Date: Tue, 19 Mar 2013 17:06:47 +0100 From: Lilian - Devclic User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: olli hauer Subject: Re: Upgrade of mod_fastcgi References: <514348DE.9000701@devclic.fr> <514888FC.8080708@gmx.de> In-Reply-To: <514888FC.8080708@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: apache@FreeBSD.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2013 16:07:01 -0000 Hi, Thanks for reply. It seems to work and it compile well ! Thanks for fix. Le 19/03/2013 16:49, olli hauer a écrit : > Hi Lilian, > > It seems the fix is included in the last mod_fastcgi snap. > Please can you test the following diff. > > Index: Makefile > =================================================================== > --- Makefile (revision 314644) > +++ Makefile (working copy) > @@ -2,10 +2,10 @@ > # $FreeBSD$ > > PORTNAME= mod_fastcgi > -PORTVERSION= 2.4.6 > -PORTREVISION= 3 > +PORTVERSION= 2.4.7 > CATEGORIES= www > MASTER_SITES= http://www.fastcgi.com/dist/ > +DISTNAME= mod_fastcgi-SNAP-0910052141 > > MAINTAINER= apache@FreeBSD.org > COMMENT= A fast-cgi module for Apache > Index: distinfo > =================================================================== > --- distinfo (revision 314644) > +++ distinfo (working copy) > @@ -1,2 +1,2 @@ > -SHA256 (mod_fastcgi-2.4.6.tar.gz) = a5a887eecc8fe13e4cb1cab4d140188a3d2b5e6f337f8a1cce88ca441ddbe689 > -SIZE (mod_fastcgi-2.4.6.tar.gz) = 100230 > +SHA256 (mod_fastcgi-SNAP-0910052141.tar.gz) = e6564ae206284806c781834e9e89aa4b0a4dd647b45c6da5cc389c65a984bdc7 > +SIZE (mod_fastcgi-SNAP-0910052141.tar.gz) = 103255 > > -- > Regards, > olli > > > On 2013-03-15 17:14, Lilian - Devclic wrote: >> Hello, >> >> We had an issue with mod_fasctcgi. Some requests failed with no reason and these errors appears in the apache error log file : >> >> >> [Fri Mar 15 15:38:57 2013] [error] [client 91.198.44.22] (4)Interrupted system call: FastCGI: comm with server "/usr/local/sbin/php-fpm" aborted: select() failed, referer: https://sql.devclic.fr/db_structure.php?token=b9b99b544a46d355583070251708d948&db=devclic_si >> [Fri Mar 15 15:38:57 2013] [error] [client 91.198.44.22] FastCGI: incomplete headers (0 bytes) received from server "/usr/local/sbin/php-fpm", referer: https://sql.devclic.fr/db_structure.php?token=b9b99b544a46d355583070251708d948&db=devclic_si >> >> We had the same issue on Ubuntu and Debian system and we update the version to the latest 2.4.7. >> >> So, can you update the port to this version ? Or can you put this fix in the source code : >> >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504132 >> >>> Index: libapache-mod-fastcgi-2.4.2/mod_fastcgi.c >>> =================================================================== >>> --- libapache-mod-fastcgi-2.4.2.orig/mod_fastcgi.c 2008-11-02 16:42:49.000000000 +0000 >>> +++ libapache-mod-fastcgi-2.4.2/mod_fastcgi.c 2008-11-02 16:50:46.000000000 +0000 >>> @@ -2178,12 +2178,15 @@ >>> } >>> >>> /* wait on the socket */ >>> - select_status = ap_select(nfds, &read_set, &write_set, NULL, &timeout); >>> + /* Interrupted system calls do happen now and then, so retry on EINTR */ >>> + do { >>> + select_status = ap_select(nfds, &read_set, &write_set, NULL, &timeout); >>> + } while (select_status < 0 && errno == EINTR); >>> >>> if (select_status < 0) >>> { >>> ap_log_rerror(FCGI_LOG_ERR_ERRNO, r, "FastCGI: comm with server " >>> - "\"%s\" aborted: select() failed", fr->fs_path); >>> + "\"%s\" aborted: select() failed: \"%s\"", fr->fs_path, strerror(errno)); >>> state = STATE_ERROR; >>> break; >>> } >>> @@ -2246,11 +2249,19 @@ >>> } >>> >>> rv = fcgi_buf_socket_recv(fr->serverInputBuffer, fr->fd); >>> + /* >>> + * select(2) states: Under Linux, select() may report a socket >>> + * file descriptor as "ready for reading", while nevertheless a >>> + * subsequent read blocks. >>> + * Act as if the FD was not set if socket_recv returns EAGAIN. >>> + */ >>> + if (rv < 0 && errno == EAGAIN) >>> + break; >>> >>> if (rv < 0) >>> { >>> ap_log_rerror(FCGI_LOG_ERR, r, "FastCGI: comm with server " >>> - "\"%s\" aborted: read failed", fr->fs_path); >>> + "\"%s\" aborted: read failed: \"%s\"", fr->fs_path, strerror(errno)); >>> state = STATE_ERROR; >>> break; >>> } >> We test it on a production server and at this moment no more problem. >> Thanks a lot. >> Best Regards. >> -- Lilian RIGARD - Devclic Gérant - CEO & CTO Téléphone (Standard) / Phone : +33 811 69 64 45 (Prix appel local) Portable / Cell Phone : +33 6 29 59 21 34 E-mail : lilian@devclic.fr Web : http://www.devclic.fr Visitez nos sites internet : Forum-Webmaster - MeilleursPrix - NDFR - E-commercant - Blog du High-Tech From owner-freebsd-apache@FreeBSD.ORG Tue Mar 19 16:22:31 2013 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 49CF34D5 for ; Tue, 19 Mar 2013 16:22:31 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by mx1.freebsd.org (Postfix) with ESMTP id D247C2BF for ; Tue, 19 Mar 2013 16:22:30 +0000 (UTC) Received: from mailout-de.gmx.net ([10.1.76.2]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0LiZpS-1Upxbf2kKC-00cktm for ; Tue, 19 Mar 2013 17:22:23 +0100 Received: (qmail invoked by alias); 19 Mar 2013 16:22:23 -0000 Received: from p578be941.dip0.t-ipconnect.de (EHLO [192.168.0.100]) [87.139.233.65] by mail.gmx.net (mp002) with SMTP; 19 Mar 2013 17:22:23 +0100 X-Authenticated: #1956535 X-Provags-ID: V01U2FsdGVkX1/hQqIr6sLhltjUacmJkew4MLcclSoQ9XsbGHQID1 2/HLFO4kKoYMK3 Message-ID: <514890EE.1070601@gmx.de> Date: Tue, 19 Mar 2013 17:23:10 +0100 From: olli hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: apache@FreeBSD.org Subject: Re: Upgrade of mod_fastcgi References: <514348DE.9000701@devclic.fr> <514888FC.8080708@gmx.de> <51488D17.7060707@devclic.fr> In-Reply-To: <51488D17.7060707@devclic.fr> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 Cc: Lilian - Devclic , Lasse Brandt X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2013 16:22:31 -0000 Hi Lilian, can you test the patch some days and report back if everything is running OK. In worst case there are other issues not detected during a short time frame ... PS: I've send Lasse the same patch but haven't got any feedback until now. -- Regards, olli On 2013-03-19 17:06, Lilian - Devclic wrote: > Hi, > > Thanks for reply. > > It seems to work and it compile well ! > > Thanks for fix. > > Le 19/03/2013 16:49, olli hauer a écrit : >> Hi Lilian, >> >> It seems the fix is included in the last mod_fastcgi snap. >> Please can you test the following diff. >> >> Index: Makefile >> =================================================================== >> --- Makefile (revision 314644) >> +++ Makefile (working copy) >> @@ -2,10 +2,10 @@ >> # $FreeBSD$ >> >> PORTNAME= mod_fastcgi >> -PORTVERSION= 2.4.6 >> -PORTREVISION= 3 >> +PORTVERSION= 2.4.7 >> CATEGORIES= www >> MASTER_SITES= http://www.fastcgi.com/dist/ >> +DISTNAME= mod_fastcgi-SNAP-0910052141 >> >> MAINTAINER= apache@FreeBSD.org >> COMMENT= A fast-cgi module for Apache >> Index: distinfo >> =================================================================== >> --- distinfo (revision 314644) >> +++ distinfo (working copy) >> @@ -1,2 +1,2 @@ >> -SHA256 (mod_fastcgi-2.4.6.tar.gz) = a5a887eecc8fe13e4cb1cab4d140188a3d2b5e6f337f8a1cce88ca441ddbe689 >> -SIZE (mod_fastcgi-2.4.6.tar.gz) = 100230 >> +SHA256 (mod_fastcgi-SNAP-0910052141.tar.gz) = e6564ae206284806c781834e9e89aa4b0a4dd647b45c6da5cc389c65a984bdc7 >> +SIZE (mod_fastcgi-SNAP-0910052141.tar.gz) = 103255 >> >> -- >> Regards, >> olli >> >> >> On 2013-03-15 17:14, Lilian - Devclic wrote: >>> Hello, >>> >>> We had an issue with mod_fasctcgi. Some requests failed with no reason and these errors appears in the apache error log file : >>> >>> >>> [Fri Mar 15 15:38:57 2013] [error] [client 91.198.44.22] (4)Interrupted system call: FastCGI: comm with server "/usr/local/sbin/php-fpm" aborted: select() failed, referer: https://sql.devclic.fr/db_structure.php?token=b9b99b544a46d355583070251708d948&db=devclic_si >>> [Fri Mar 15 15:38:57 2013] [error] [client 91.198.44.22] FastCGI: incomplete headers (0 bytes) received from server "/usr/local/sbin/php-fpm", referer: https://sql.devclic.fr/db_structure.php?token=b9b99b544a46d355583070251708d948&db=devclic_si >>> >>> We had the same issue on Ubuntu and Debian system and we update the version to the latest 2.4.7. >>> >>> So, can you update the port to this version ? Or can you put this fix in the source code : >>> >>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504132 >>> >>>> Index: libapache-mod-fastcgi-2.4.2/mod_fastcgi.c >>>> =================================================================== >>>> --- libapache-mod-fastcgi-2.4.2.orig/mod_fastcgi.c 2008-11-02 16:42:49.000000000 +0000 >>>> +++ libapache-mod-fastcgi-2.4.2/mod_fastcgi.c 2008-11-02 16:50:46.000000000 +0000 >>>> @@ -2178,12 +2178,15 @@ >>>> } >>>> >>>> /* wait on the socket */ >>>> - select_status = ap_select(nfds, &read_set, &write_set, NULL, &timeout); >>>> + /* Interrupted system calls do happen now and then, so retry on EINTR */ >>>> + do { >>>> + select_status = ap_select(nfds, &read_set, &write_set, NULL, &timeout); >>>> + } while (select_status < 0 && errno == EINTR); >>>> >>>> if (select_status < 0) >>>> { >>>> ap_log_rerror(FCGI_LOG_ERR_ERRNO, r, "FastCGI: comm with server " >>>> - "\"%s\" aborted: select() failed", fr->fs_path); >>>> + "\"%s\" aborted: select() failed: \"%s\"", fr->fs_path, strerror(errno)); >>>> state = STATE_ERROR; >>>> break; >>>> } >>>> @@ -2246,11 +2249,19 @@ >>>> } >>>> >>>> rv = fcgi_buf_socket_recv(fr->serverInputBuffer, fr->fd); >>>> + /* >>>> + * select(2) states: Under Linux, select() may report a socket >>>> + * file descriptor as "ready for reading", while nevertheless a >>>> + * subsequent read blocks. >>>> + * Act as if the FD was not set if socket_recv returns EAGAIN. >>>> + */ >>>> + if (rv < 0 && errno == EAGAIN) >>>> + break; >>>> >>>> if (rv < 0) >>>> { >>>> ap_log_rerror(FCGI_LOG_ERR, r, "FastCGI: comm with server " >>>> - "\"%s\" aborted: read failed", fr->fs_path); >>>> + "\"%s\" aborted: read failed: \"%s\"", fr->fs_path, strerror(errno)); >>>> state = STATE_ERROR; >>>> break; >>>> } >>> We test it on a production server and at this moment no more problem. >>> Thanks a lot. >>> Best Regards. >>> > > From owner-freebsd-apache@FreeBSD.ORG Tue Mar 19 16:29:02 2013 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 020588B6 for ; Tue, 19 Mar 2013 16:29:02 +0000 (UTC) (envelope-from lilian@devclic.fr) Received: from smtp01.mgmt.devclic.net (smtp01.mgmt.devclic.net [91.198.44.61]) by mx1.freebsd.org (Postfix) with ESMTP id 79BAE324 for ; Tue, 19 Mar 2013 16:29:00 +0000 (UTC) Received: from mx-1.devclic.net (mx-1.devclic.net [91.198.44.12]) by smtp01.mgmt.devclic.net (Postfix) with ESMTP id 5E5D8C464; Tue, 19 Mar 2013 19:08:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=devclic.fr; s=dkim; t=1363716539; bh=LvXXxX3pZRJGqynDFMgSZwLSvbJzwcnQY6G1JVHY+gE=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=LhS0ptC0SywJ3+nKvDAawD5gpJKxR/DsEsl6tZ0WfREOzzj3FNng7Ey/BTjt11P4I B0u5LIMz27XTcknvbcwZlGHM9usDpaNHaXQu0Fn15EVWTRmNrX48rH4EjPjLBamV8y WBvCfrnd4tU58CgZaSe28E2jJdJpADqQ8n7tCu5M= Received: from localhost (localhost [127.0.0.1]) by mx-1.devclic.net (Postfix) with ESMTP id 74B1627BE9A; Tue, 19 Mar 2013 17:28:59 +0100 (CET) X-DSPAM-Result: Whitelisted X-DSPAM-Confidence: 0.7503 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 1,51489247278171804284693 X-DSPAM-Factors: 27, X-Spam-Flag: NO X-Spam-Score: -7.059 X-Spam-Level: X-Spam-Status: No, score=-7.059 required=4 tests=[ALL_TRUSTED=-1.8, AWL=-0.661, BAYES_00=-2.599, DSPAM_WHITELIST=-2, HTML_MESSAGE=0.001] Received: from mx-1.devclic.net ([127.0.0.1]) by localhost (devclic-node1.devclic.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u0xWFlC1m1jb; Tue, 19 Mar 2013 17:28:54 +0100 (CET) Received: from [0.0.0.0] (unknown [91.198.44.22]) by mx-1.devclic.net (Postfix) with ESMTPS id A4CEA27BDE0; Tue, 19 Mar 2013 17:28:54 +0100 (CET) Message-ID: <51489245.10409@devclic.fr> Date: Tue, 19 Mar 2013 17:28:53 +0100 From: Lilian - Devclic User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: olli hauer Subject: Re: Upgrade of mod_fastcgi References: <514348DE.9000701@devclic.fr> <514888FC.8080708@gmx.de> <51488D17.7060707@devclic.fr> <514890EE.1070601@gmx.de> In-Reply-To: <514890EE.1070601@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: apache@FreeBSD.org, Lasse Brandt X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2013 16:29:02 -0000 We have this version of mod_fastcgi on Debian system and we don't have problem. Thanks a lot. Best Regards Le 19/03/2013 17:23, olli hauer a écrit : > Hi Lilian, > > can you test the patch some days and report back if everything is running OK. > In worst case there are other issues not detected during a short time frame ... > > PS: > I've send Lasse the same patch but haven't got any feedback until now. > > -- > Regards, > olli > > > > On 2013-03-19 17:06, Lilian - Devclic wrote: >> Hi, >> >> Thanks for reply. >> >> It seems to work and it compile well ! >> >> Thanks for fix. >> >> Le 19/03/2013 16:49, olli hauer a écrit : >>> Hi Lilian, >>> >>> It seems the fix is included in the last mod_fastcgi snap. >>> Please can you test the following diff. >>> >>> Index: Makefile >>> =================================================================== >>> --- Makefile (revision 314644) >>> +++ Makefile (working copy) >>> @@ -2,10 +2,10 @@ >>> # $FreeBSD$ >>> >>> PORTNAME= mod_fastcgi >>> -PORTVERSION= 2.4.6 >>> -PORTREVISION= 3 >>> +PORTVERSION= 2.4.7 >>> CATEGORIES= www >>> MASTER_SITES= http://www.fastcgi.com/dist/ >>> +DISTNAME= mod_fastcgi-SNAP-0910052141 >>> >>> MAINTAINER= apache@FreeBSD.org >>> COMMENT= A fast-cgi module for Apache >>> Index: distinfo >>> =================================================================== >>> --- distinfo (revision 314644) >>> +++ distinfo (working copy) >>> @@ -1,2 +1,2 @@ >>> -SHA256 (mod_fastcgi-2.4.6.tar.gz) = a5a887eecc8fe13e4cb1cab4d140188a3d2b5e6f337f8a1cce88ca441ddbe689 >>> -SIZE (mod_fastcgi-2.4.6.tar.gz) = 100230 >>> +SHA256 (mod_fastcgi-SNAP-0910052141.tar.gz) = e6564ae206284806c781834e9e89aa4b0a4dd647b45c6da5cc389c65a984bdc7 >>> +SIZE (mod_fastcgi-SNAP-0910052141.tar.gz) = 103255 >>> >>> -- >>> Regards, >>> olli >>> >>> >>> On 2013-03-15 17:14, Lilian - Devclic wrote: >>>> Hello, >>>> >>>> We had an issue with mod_fasctcgi. Some requests failed with no reason and these errors appears in the apache error log file : >>>> >>>> >>>> [Fri Mar 15 15:38:57 2013] [error] [client 91.198.44.22] (4)Interrupted system call: FastCGI: comm with server "/usr/local/sbin/php-fpm" aborted: select() failed, referer: https://sql.devclic.fr/db_structure.php?token=b9b99b544a46d355583070251708d948&db=devclic_si >>>> [Fri Mar 15 15:38:57 2013] [error] [client 91.198.44.22] FastCGI: incomplete headers (0 bytes) received from server "/usr/local/sbin/php-fpm", referer: https://sql.devclic.fr/db_structure.php?token=b9b99b544a46d355583070251708d948&db=devclic_si >>>> >>>> We had the same issue on Ubuntu and Debian system and we update the version to the latest 2.4.7. >>>> >>>> So, can you update the port to this version ? Or can you put this fix in the source code : >>>> >>>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504132 >>>> >>>>> Index: libapache-mod-fastcgi-2.4.2/mod_fastcgi.c >>>>> =================================================================== >>>>> --- libapache-mod-fastcgi-2.4.2.orig/mod_fastcgi.c 2008-11-02 16:42:49.000000000 +0000 >>>>> +++ libapache-mod-fastcgi-2.4.2/mod_fastcgi.c 2008-11-02 16:50:46.000000000 +0000 >>>>> @@ -2178,12 +2178,15 @@ >>>>> } >>>>> >>>>> /* wait on the socket */ >>>>> - select_status = ap_select(nfds, &read_set, &write_set, NULL, &timeout); >>>>> + /* Interrupted system calls do happen now and then, so retry on EINTR */ >>>>> + do { >>>>> + select_status = ap_select(nfds, &read_set, &write_set, NULL, &timeout); >>>>> + } while (select_status < 0 && errno == EINTR); >>>>> >>>>> if (select_status < 0) >>>>> { >>>>> ap_log_rerror(FCGI_LOG_ERR_ERRNO, r, "FastCGI: comm with server " >>>>> - "\"%s\" aborted: select() failed", fr->fs_path); >>>>> + "\"%s\" aborted: select() failed: \"%s\"", fr->fs_path, strerror(errno)); >>>>> state = STATE_ERROR; >>>>> break; >>>>> } >>>>> @@ -2246,11 +2249,19 @@ >>>>> } >>>>> >>>>> rv = fcgi_buf_socket_recv(fr->serverInputBuffer, fr->fd); >>>>> + /* >>>>> + * select(2) states: Under Linux, select() may report a socket >>>>> + * file descriptor as "ready for reading", while nevertheless a >>>>> + * subsequent read blocks. >>>>> + * Act as if the FD was not set if socket_recv returns EAGAIN. >>>>> + */ >>>>> + if (rv < 0 && errno == EAGAIN) >>>>> + break; >>>>> >>>>> if (rv < 0) >>>>> { >>>>> ap_log_rerror(FCGI_LOG_ERR, r, "FastCGI: comm with server " >>>>> - "\"%s\" aborted: read failed", fr->fs_path); >>>>> + "\"%s\" aborted: read failed: \"%s\"", fr->fs_path, strerror(errno)); >>>>> state = STATE_ERROR; >>>>> break; >>>>> } >>>> We test it on a production server and at this moment no more problem. >>>> Thanks a lot. >>>> Best Regards. >>>> >> -- Lilian RIGARD - Devclic Gérant - CEO & CTO Téléphone (Standard) / Phone : +33 811 69 64 45 (Prix appel local) Portable / Cell Phone : +33 6 29 59 21 34 E-mail : lilian@devclic.fr Web : http://www.devclic.fr Visitez nos sites internet : Forum-Webmaster - MeilleursPrix - NDFR - E-commercant - Blog du High-Tech From owner-freebsd-apache@FreeBSD.ORG Tue Mar 19 22:23:21 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8530D80D; Tue, 19 Mar 2013 22:23:21 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 60819A4D; Tue, 19 Mar 2013 22:23:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2JMNLQI021774; Tue, 19 Mar 2013 22:23:21 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2JMNL3d021772; Tue, 19 Mar 2013 22:23:21 GMT (envelope-from edwin) Date: Tue, 19 Mar 2013 22:23:21 GMT Message-Id: <201303192223.r2JMNL3d021772@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, apache@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/177118: devel/apr1 with FREETDS enabled, does not have proper depends to include expat.h X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2013 22:23:21 -0000 Synopsis: devel/apr1 with FREETDS enabled, does not have proper depends to include expat.h Responsible-Changed-From-To: freebsd-ports-bugs->apache Responsible-Changed-By: edwin Responsible-Changed-When: Tue Mar 19 22:23:21 UTC 2013 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=177118