Re: Terminating Child process Dynamically

2012-03-02 Thread Shibi Ns
wrote: > On Fri, Mar 2, 2012 at 3:32 PM, André Warnier wrote: >> >> Shibi Ns wrote: >>> >>> I would like terminate current sever Child process after the end of >>>> current request because some data is cached and data is changed after >>>>

Re: Terminating Child process Dynamically

2012-03-02 Thread Shibi Ns
Not each request , it's based some data change in database and this could happen couple of times in day that's all. We really don't want to go ahead bounce the application in order refresh the cache On Fri, Mar 2, 2012 at 3:32 PM, André Warnier wrote: > Shibi Ns wrote:

Terminating Child process Dynamically

2012-03-02 Thread Shibi Ns
I would like terminate current sever Child process after the end of current request because some data is cached and data is changed after the process creation. The data cached during InitChild phase Is it possible ? Which phase should i do this -- --Shibi Ns--

Is it possible to invoke third party Apache module functions from mod_perl

2011-01-30 Thread Shibi NS
I have a Apache module mod_xyz , is there is anyway i can invoke some functions defined mod_xyz from mod_perl ? -- --Shibi Ns--

Server Level Global Variable

2010-04-13 Thread Shibi NS
to do it so all request process get access to this variable can be updated by Apache reques --Shibi Ns--

Re: possible issue in mod_perl 2.0.4 with respect to STDERR

2009-11-12 Thread Shibi NS
wx--1 sns g680 64 Nov 12 05:09 1 -> /dev/null lr-x--1 sns g680 64 Nov 12 05:09 0 -> pipe:[2129198375] Now what i don't under stand is when print STDERR why its printing to /nfs/private/user/sns/log/ursforms.myserver-44088.log how does it know t

possible issue in mod_perl 2.0.4 with respect to STDERR

2009-11-12 Thread Shibi NS
rror_log.NNN Is this is a mod perl issue or i am doing something wrong --Shibi Ns--

is it possible get the deflate information in reuest object

2009-10-12 Thread Shibi NS
7;"%r" %{outstream}n/%{instream}n (%{ratio}n%%) "%{User-agent}i"' deflate CustomLog /var/log/httpd/deflate_log deflate Can I get the Input/Output and Ratio information in Apache2 Request object or PerlLogHandler ? --Shibi Ns--

Re: Rotate log in mod_perl

2009-08-30 Thread Shibi NS
I have tied this but no luck . Shibi On Sat, Aug 29, 2009 at 5:48 AM, Adam Prime wrote: > Shibi NS wrote: > >> My httpd.conf has following >> >> >>$ErrorLog = " |bin/rotatelogs >> $config->{log_file}.%Y-%m-%d-%H_%M_%S 5M"; >

Rotate log in mod_perl

2009-08-28 Thread Shibi NS
: ErrorLog takes one argument, The filename of the error log at /src/linux/lib/perl5/site_perl/5.8.8/i686-linux-64int/Apache2/PerlSections.pm line 215.\n Where $config->{log_file} is automated file name based on my server name Any idea how can I get rid of it --Shibi Ns--

mod_deflate and mod_cache can this be combined to improve performance

2009-08-04 Thread Shibi NS
er is called ? -- --Shibi Ns--

Apache2::Resource - What happens when the resource limit is consumed by the process

2009-07-31 Thread Shibi NS
? --Shibi Ns--

Which is best compression for Apache 2.2.9/Mod_perl 2.0.4

2009-07-25 Thread Shibi NS
Hi All, Which is best compression for Apache 2.2.9/Mod_perl 2.0.4 application - mod_gzip or mod_deflate ? . Have any idea of recent comparisons. -- --Shibi Ns--

Re: File Descriptor used by FileHandle under mod_perl 2.0.4 - is it a perl/mod_perl bug ?

2009-06-30 Thread Shibi NS
"FD 0" is reserved for STDIN ? Shibi Ns On Wed, Jul 1, 2009 at 12:37 AM, Scott Gifford wrote: > Shibi NS writes: > > [...] > > > my $log = new FileHandle("process.log", "a"); > > > > When I print the $log->fileno it print FD as 0 and

File Descriptor used by FileHandle under mod_perl 2.0.4 - is it a perl/mod_perl bug ?

2009-06-30 Thread Shibi NS
or STDIN . Is this is bug or aim doing something wrong ? My Application is running Apache/2.2.9/Mod_perl 2.04/ perl, v5.8.8 under Red Hat Enterprise Linux release 3 Shibi Ns

APACHE2::REQUESTIO::READ: (70007) THE TIMEOUT SPECIFIED HAS EXPIRED

2008-12-30 Thread Shibi NS
5 Auth.pm CGI::new Y N 0 -e EPD::Auth::handler Y N 0 -e (eval) N N --Shibi Ns--

Resuming of downloads in Apache 2.2.29

2008-12-04 Thread Shibi NS
orking . The main issue I can see the header no longer contains 'Content-Range', 'Content-Length' etc. But I already have 'PerlOptions +ParseHeaders +GlobalRequest' in my request handler . Am I missing something my in configuration ?, why is this headers missing in my handler Shibi Ns

Re: Failed to dup STDIN: Bad file descriptor.

2008-11-19 Thread Shibi NS
sorry i meant mod_perl not Apache On Wed, Nov 19, 2008 at 9:58 PM, Shibi NS <[EMAIL PROTECTED]> wrote: > I believe fd 0 and/or fd 1 are closed in Apache 2 which might be causing > the issue. > > I had the similar kid of issue - i used following code to fix it > >

Re: Failed to dup STDIN: Bad file descriptor.

2008-11-19 Thread Shibi NS
Handler perl-script > AddHandler perl-script .pl > PerlResponseHandler ModPerl::Registry > PerlOptions +ParseHeaders > Options +ExecCGI > > > > - > > Thanks, > Rashmi > -- --Shibi Ns--

Re: Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-20 Thread Shibi NS
Thanks All for the valuable suggestions.my $cgi = CGI->new($req); fixed my issue :) On Thu, Oct 16, 2008 at 2:04 AM, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Wed, Oct 15, 2008 at 2:44 AM, Shibi NS <[EMAIL PROTECTED]> wrote: > > CGI.pm version 3.15

Re: Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-14 Thread Shibi NS
Sorry I forgot this info, platform (Unix) : Red Hat Enterprise Linux AS release 3 (Taroon Update 8) Apache/2.2.9 mod_perl/2.0.4 CGI.pm version 3.15 Shibi Ns Perl/v5.8.8 On Tue, Oct 14, 2008 at 2:42 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Hi. > > It usually helps for any

Apache2::Request in PerlInitHandler and PerlAuthenHandler

2008-10-14 Thread Shibi NS
Y N 114 MetalinkAuth.pm CGI::new Y N 354 CGI.pm ARULink::MetalinkAuth::handler Y N .. Any idea how can we get the $req->args which contains request information in PerlAuthenHandler or PerlInitHandler --Shibi Ns--

Output of external program is getting lost in mod_perl 2.0.4

2008-09-04 Thread Shibi NS
pty. Any idea where the output is lost ? . Look at do_cmd and _for_exec function to see how we are re-directing the output to a pipe --Shibi Ns--