perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kulasekaran, Raja" <Raja.Kulaseka...@netapp.com>
Subject FW: mod-perl child process
Date Mon, 23 Nov 2009 13:57:50 GMT
Hi 

The below method used to kill the child process after the successful
execution of web request. 

$r->child_terminate();

Can anyone suggest me where and how do I call this method in the
httpd.conf file. 

-Raja 
 


-----Original Message-----
From: Kulasekaran, Raja 
Sent: Thursday, October 29, 2009 7:36 PM
To: Perrin Harkins
Cc: mod_perl list
Subject: RE: mod-perl child process

Hi,

The below method used to kill the child process after the successful
execution of web request. 

$r->child_terminate();

How do I get the status that particular child process has been killed ?.
Any suggestion on this ?

Raja 

-----Original Message-----
From: Kulasekaran, Raja 
Sent: Wednesday, October 28, 2009 10:02 AM
To: Perrin Harkins
Cc: mod_perl list
Subject: RE: mod-perl child process


So, How to I control this ?. Is it possible to reuse the existing
connection ?. 

Raja 

-----Original Message-----
From: Perrin Harkins [mailto:pharkins@gmail.com] 
Sent: Tuesday, October 27, 2009 11:47 PM
To: Kulasekaran, Raja
Cc: mod_perl list
Subject: Re: mod-perl child process

On Tue, Oct 27, 2009 at 8:33 AM, Kulasekaran, Raja
<Raja.Kulasekaran@netapp.com> wrote:
> I have configured the mod_perl with oracle persistent connection
through Apache::DBI module. On every web page request It creates a
process
> something like below and It never be killed automatically when the
request has completed.

That is the intended behavior.  You should get one Oracle connection
for each apache child process.  They will stay connected for the life
of the process.

- Perrin

Mime
View raw message