You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by sam berman <sa...@att.com> on 1999/01/18 20:40:38 UTC

mod_log-any/3713: Piped Error Logs spawn extra process(es)

>Number:         3713
>Category:       mod_log-any
>Synopsis:       Piped Error Logs spawn extra process(es)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jan 18 11:50:03 PST 1999
>Last-Modified:
>Originator:     sam.berman@att.com
>Organization:
apache
>Release:        1.3.4
>Environment:
SunOS hdpww02 5.5.1 Generic_103640-23 sun4m sparc SUNW,SPARCstation-20
gcc
>Description:
With an error log directive
    ErrorLog ErrorLog "| grep -v ABCDE >/home/sam/apache_1.3.4/logs/error_log"
The following processes are spawned:
    root 27313 27312  0 14:36:54 ?        0:00 /bin/sh -c  grep -v ABCDE >/home/
sam/apache_1.3.4/logs/error_log
    root 27314 27313  0 14:36:54 ?        0:00 grep -v ABCDE
    root 27311     1  0 14:36:51 pts/10   0:00 grep -v ABCDE 

    root 27312     1  0 14:36:51 ?        0:00 /home/sam/text/apache_1.3.4/bin/h
ttpd
     sam 27317 27312  0 14:36:54 ?        0:00 /home/sam/text/apache_1.3.4/bin/h
ttpd
     sam 27319 27312  0 14:36:54 ?        0:00 /home/sam/text/apache_1.3.4/bin/h
ttpd
     sam 27318 27312  0 14:36:54 ?        0:00 /home/sam/text/apache_1.3.4/bin/h
ttpd
     sam 27315 27312  0 14:36:54 ?        0:00 /home/sam/text/apache_1.3.4/bin/h
ttpd
     sam 27316 27312  0 14:36:54 ?        0:00 /home/sam/text/apache_1.3.4/bin/h
ttpd
===========
Restarting the Apache process (kill -USR1 27312) spawns extra piped log programs
running.
>How-To-Repeat:
See the description.
>Fix:
Sorry, no.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]