Received: (qmail 9956 invoked by uid 501); 17 Jan 2002 06:02:37 -0000 Message-Id: <20020117060237.9955.qmail@apache.org> Date: 17 Jan 2002 06:02:37 -0000 From: Tony Monfiletto Reply-To: tony@tntpro.com To: submit@bugz.apache.org Subject: sh proccess launched from an .shtml file dont die X-Send-Pr-Version: 3.110 >Number: 9507 >Category: apache-api >Synopsis: sh proccess launched from an .shtml file dont die >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Jan 16 22:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: tony@tntpro.com >Release: >Organization: apache >Environment: FreeBSD tntpro.com 4.5-RC FreeBSD 4.5-RC #0: Sun Jan 13 13:22:25 EST 2002 root@tntpro.com:/usr/obj/usr/src/sys/LUNAR i386 >Description: I have a "systemstatus" page that I use to take a quick look at how things are going.. here is an clip the convert2html.pl file #!/usr/bin/perl -w while (<>) { $_ =~ s//>/g; print; } exit; every time that page gets reloaded (every 10 seconds) 3 new zombie processes are created (three cmds are run by the page) here is what ps -aux shows: root:/usr/local/www/data# ps -aux USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 28589 0.0 0.1 492 220 p4 R+ 12:30AM 0:00.00 ps -aux www 28420 0.0 0.0 0 0 ?? Z 12:04AM 0:00.00 (sh) www 28422 0.0 0.0 0 0 ?? Z 12:04AM 0:00.00 (sh) www 28474 0.0 0.0 0 0 ?? Z 12:16AM 0:00.00 (sh) as far as I can tell these never die _unless_ I do an apachectl restart a graceful will not do it... >How-To-Repeat: load this code in an .shtml file on a server that allows SSI not sure if it has to be freebsd or not.. TNT - Current System Status of Lunar here is the convert2html.pl file if you need it again #!/usr/bin/perl -w while (<>) { $_ =~ s//>/g; print; } exit; >Fix: No sorry >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database 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! ]
Top Processes:
Users Online:
Disk Space: