Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 68493 invoked by uid 500); 29 Jan 2002 15:56:35 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 68479 invoked from network); 29 Jan 2002 15:56:34 -0000 Received: from water.cc.mcgill.ca (132.206.27.29) by daedalus.apache.org with SMTP; 29 Jan 2002 15:56:34 -0000 Received: from bronfman504 ([132.206.137.146]) by water.cc.mcgill.ca (8.12.1/8.11.0) with SMTP id g0TFuXRG022317 for ; Tue, 29 Jan 2002 10:56:33 -0500 (EST) From: "Joshua Slive" To: Subject: RE: mod_cgi kills CGI subprocesses after 3 seconds Date: Tue, 29 Jan 2002 10:59:56 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > From: dan kelley [mailto:dkelley@otec.com] > i'm having some difficulty with CGI subprocess being killed by apache > shortly after they close stdout. we have some CGI programs that continue > to do background processing after they've finished returing data to the > client, so it would be beneficial to us to be able to change this > behavior. I'm not an expert in this area, but if you read the CGI FAQs, they will tell you that the correct way to do long-lived processing from a CGI is to fork a subprocess from your cgi script and make sure that the subprocesses closes stdin, stdout, and stderr. Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org