Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 43613 invoked from network); 22 Aug 2010 13:11:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Aug 2010 13:11:52 -0000 Received: (qmail 51677 invoked by uid 500); 22 Aug 2010 13:11:52 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 51368 invoked by uid 500); 22 Aug 2010 13:11:49 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 51359 invoked by uid 99); 22 Aug 2010 13:11:48 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Aug 2010 13:11:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Aug 2010 13:11:30 +0000 Received: from thor.apache.org (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7MDB9ar026568 for ; Sun, 22 Aug 2010 13:11:09 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o7MDB6iB026567; Sun, 22 Aug 2010 09:11:06 -0400 (EDT) Date: Sun, 22 Aug 2010 09:11:06 -0400 (EDT) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 49798] New: [mod_log_config] Piped Log scripts process cause warn X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_log_config X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: l.declercq@nuxwin.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=3D49798 Summary: [mod_log_config] Piped Log scripts process cause warn Product: Apache httpd-2 Version: 2.2.15 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: mod_log_config AssignedTo: bugs@httpd.apache.org ReportedBy: l.declercq@nuxwin.com Hello ; When I do an 'apache2ctl gracefull', I get following warning in my apache error.log: [Sun Aug 22 14:46:00 2010] [warn] long lost child came home! (pid 10436) After some avestigations, I found that it's the'mod_log_config' module that cause this issue when we use Piped Log. To show, the problem: 'ps aux' result before do the gracefull: root 8511 0.1 0.4 6824 4256 ? Ss 14:18 0:03 /usr/sbin/apache2 -k start root 10502 0.0 0.0 1748 500 ? S 14:46 0:00 /bin/sh -c /var/www/ispcp/engine/ispcp-apache-logger www-data 10503 0.0 0.2 6192 2324 ? S 14:46 0:00 /usr/sbin/apache2 -k start root 10504 0.0 0.2 4532 2984 ? S 14:46 0:00 /usr/bin/p= erl /var/www/ispcp/engine/ispcp-apache-logger www-data 10505 0.0 0.2 6824 2188 ? S 14:46 0:00 /usr/sbin/apache2 -k start www-data 10506 0.0 0.2 228236 2856 ? Sl 14:46 0:00 /usr/sbin/apache2 -k start www-data 10507 0.0 0.2 228236 2860 ? Sl 14:46 0:00 /usr/sbin/apache2 -k start Here, you can see my main Piped Log script process (pid 10502) and the seco= nd (pid 10504) that is the background process from (pid 10436). When I do the graceful, I get the following: [Sun Aug 22 14:52:50 2010] [notice] SIGUSR1 received. Doing graceful resta= rt [Sun Aug 22 14:52:51 2010] [notice] Stopping ispCP Apache logger (pid 10504) [Sun Aug 22 14:52:51 2010] [notice] Apache/2.2.16 (Debian) mod_fcgid/2.3.5 configured -- resuming normal operations [Sun Aug 22 14:52:51 2010] [warn] long lost child came home! (pid 10502) [Sun Aug 22 14:52:51 2010] [notice] Starting ispCP Apache logger (pid 10579) Note: Log lines for the logger come from my logging script (Added to show t= he problem). After the gracefull, my 'px aux' result is like this: root 8511 0.1 0.4 6824 4256 ? Ss 14:18 0:03 /usr/sbin/apache2 -k start root 10577 0.0 0.0 1748 500 ? S 14:52 0:00 /bin/sh -c /var/www/ispcp/engine/ispcp-apache-logger www-data 10578 0.0 0.2 6192 2324 ? S 14:52 0:00 /usr/sbin/apache2 -k start root 10579 0.0 0.2 4532 2984 ? S 14:52 0:00 /usr/bin/p= erl /var/www/ispcp/engine/ispcp-apache-logger www-data 10580 0.0 0.2 6824 2188 ? S 14:52 0:00 /usr/sbin/apache2 -k start www-data 10581 0.0 0.2 228236 2856 ? Sl 14:52 0:00 /usr/sbin/apache2 -k start www-data 10582 0.0 0.2 228236 2860 ? Sl 14:52 0:00 /usr/sbin/apache2 -k start Ok, it's just a warn but I think that should be solved. I've tried with alternative syntax (Shell not involved at all) and the same problem occurs = on the main process. My system: root@ispcp:/etc/apache2/sites-available# uname -a Linux ispcp 2.6.32-5-686 #1 SMP Sat Jul 24 02:27:10 UTC 2010 i686 GNU/Linux The involved SHELL: root@ispcp:/etc/apache2/sites-available# ls -la /bin/sh lrwxrwxrwx 1 root root 4 21 ao=C3=BBt 07:11 /bin/sh -> dash The Apache information: root@ispcp:/etc/apache2/sites-available# apache2ctl -V Server version: Apache/2.2.16 (Debian) Server built: Jul 24 2010 20:24:16 Server's Module Magic Number: 20051115:24 Server loaded: APR 1.4.2, APR-Util 1.3.9 Compiled using: APR 1.4.2, APR-Util 1.3.9 Architecture: 32-bit Server MPM: Worker threaded: yes (fixed thread count) forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR=3D"server/mpm/worker" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=3D128 -D HTTPD_ROOT=3D"/etc/apache2" -D SUEXEC_BIN=3D"/usr/lib/apache2/suexec" -D DEFAULT_PIDLOG=3D"/var/run/apache2.pid" -D DEFAULT_SCOREBOARD=3D"logs/apache_runtime_status" -D DEFAULT_ERRORLOG=3D"logs/error_log" -D AP_TYPES_CONFIG_FILE=3D"mime.types" -D SERVER_CONFIG_FILE=3D"apache2.conf" Thank a lot if you can solve this problem. Note: Sorry for my poor English, I'm french. Note2: not 2.2.16 version is selectable here , why ? --=20 Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=3De= mail ------- You are receiving this mail because: ------- You are the assignee for the bug.= --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org