Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 64936 invoked from network); 24 Jul 2007 09:22:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jul 2007 09:22:20 -0000 Received: (qmail 52387 invoked by uid 500); 24 Jul 2007 09:22:16 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 52219 invoked by uid 500); 24 Jul 2007 09:22:14 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 52207 invoked by uid 99); 24 Jul 2007 09:22:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2007 02:22:14 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2007 02:22:12 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IDGaW-00089S-7N for modperl@perl.apache.org; Tue, 24 Jul 2007 02:21:52 -0700 Message-ID: <11759481.post@talk.nabble.com> Date: Tue, 24 Jul 2007 02:21:52 -0700 (PDT) From: Gatsby To: modperl@perl.apache.org Subject: Process ID when called from PerlChildInitHandler MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: fenton@rexfeatures.com X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I've got a module which I call from PerlChildInitHandler to obviously run on creation of each child process. I have a seperate problem which I'm trying to track down, and in doing so, it would be really helpful if I could carp the process ID of the child process during part of this handler code. The problem is, if I output $$, then it only ever outputs the process ID of the parent httpd process, not the actual child process itself. Anyone know if this can be done? Thanks in advance. Gatsby. -- View this message in context: http://www.nabble.com/Process-ID-when-called-from-PerlChildInitHandler-tf4134684.html#a11759481 Sent from the mod_perl - General mailing list archive at Nabble.com.