So I want to register a method to be run during the cleanup phase. After the content phase I'm in the logging phase and I do the following:$r->register_cleanup(sub { $self->process_queue(); });Inside process_queue method I print out what phase I'm in using r->current_callback(), it "claims" I'm in
So I want to register a method to be run during the cleanup phase. After the content phase I'm in the logging phase and I do the following:$r->register_cleanup(sub { $self->process_queue(); }); Inside process_queue method I print out what phase I'm in using r->current_callback(), it "claims" I'm i
compiled mod_perl and DSO mod_perl. But DOES NOT happen when I DSO a C handler on this Linux machine nor on a FreeBSD machine with static mod_perl.Any ideas on how to identify the cause of the leak? Perrin Harkins <[EMAIL PROTECTED]> wrote: On Wed, 2006-06-07 at 13:58 -0700, john doe wrote:&g
der(); $r->print('hello world'); return 200;}1;Perrin Harkins <[EMAIL PROTECTED]> wrote: On Wed, 2006-06-07 at 12:33 -0700, john doe wrote:> I suspect our current setup of mod_perl is leaking memory, most likely> due to bad C/C++ libraries somewhere. I came to this conclu
I suspect our current setup of mod_perl is leaking memory, most likely due to bad C/C++ libraries somewhere. I came to this conclusion after days of research and testing. I setup a very very thin version of apache 1.3.34 with mod_perl compiled statically. I have an ever thinner handler that just p
Hans Meier (John Doe) am Freitag, 31. März 2006 18.37:
> Steve Thames am Freitag, 31. März 2006 15.41:
> > Consider this:
> >
> > my %names = (Bob => 'Robert Brower');
> > my $caption = 'Name: $names{Bob)';
> > print eval "
Steve Thames am Freitag, 31. März 2006 15.41:
> Consider this:
>
> my %names = (Bob => 'Robert Brower');
> my $caption = 'Name: $names{Bob)';
> print eval "qq|$caption|";
>
> If you can't see it, there is a syntax error in $caption: closing
> paren ) instead of brace }. The eval
Perrin Harkins am Dienstag, 7. Februar 2006 18.45:
> On Tue, 2006-02-07 at 08:56 +0100, John Doe wrote:
> > Ken Perl am Dienstag, 7. Februar 2006 07.44:
> > > when Apache::DB is initialized it will write a line of log into
> > > error.log, but without a timestamp
Ken Perl am Dienstag, 7. Februar 2006 07.44:
> when Apache::DB is initialized it will write a line of log into
> error.log, but without a timestamp,
> [notice] Apache::DB initialized in child 1957
> May I add one?
>
> --
> perl -e 'print unpack(u,"62V5N\"FME;G\!E ")'
yes, by putting the line
use
t all I provided any)
hth,
joe
> At 04:31 a.m. 6/02/2006, John Doe wrote:
> >Jonathan Vanasco am Sonntag, 5. Februar 2006 00.27:
> > > Try:
> > >
> > > my $dbArgs = { RaiseError => 1, AutoCommit => 0 , TraceLevel => 3 };
> > > my$dbh =
Jonathan Vanasco am Sonntag, 5. Februar 2006 00.27:
> Try:
>
> my $dbArgs = { RaiseError => 1, AutoCommit => 0 , TraceLevel => 3 };
> my$dbh = DBI->connect( $db, $dbUser, $dbPass , $dbArgs );
>
> while you `tail -f` the errorlog ( /usr/local/apache2/log/error_log
> on my system )
>
> the trace
RJ Herrick am Sonntag, 5. Februar 2006 01.03:
> Thanks to the Johns for their responses, but I believe perhaps I was
> unclear about my intent.
>
> In validating my form input I look at my DB tables to see what types of
> input they will accept (valid values, maxlength, NULL ok, etc). This
> data i
Jeremy Nixon am Dienstag, 15. November 2005 23.16:
> John Doe <[EMAIL PROTECTED]> wrote:
> > Hope it's not a stupid question, but are you sure %d_cache survives a
> > request? Maybe I'm totally misunderstanding something but I thought
> > after
John Doe am Dienstag, 15. November 2005 12.35:
> David Baird am Dienstag, 15. November 2005 11.07:
> > On 11/15/05, John Doe <[EMAIL PROTECTED]> wrote:
> > > Jeremy Nixon am Dienstag, 15. November 2005 08.06:
> > > > Peter1 Alvin <[EMAIL PROTECTED]> wrot
David Baird am Dienstag, 15. November 2005 11.07:
> On 11/15/05, John Doe <[EMAIL PROTECTED]> wrote:
> > Jeremy Nixon am Dienstag, 15. November 2005 08.06:
> > > Peter1 Alvin <[EMAIL PROTECTED]> wrote:
[...]
> > > { # start a lexical scope
> > > my
Jeremy Nixon am Dienstag, 15. November 2005 08.06:
> Peter1 Alvin <[EMAIL PROTECTED]> wrote:
> > Please tell me I can do this!
> >
> > Using mod_perl, how do you keep Perl objects in RAM from page to page?
[...]
> As an example, I have a handler that needs to read a directory listing.
> Most of th
Am Mittwoch, 9. März 2005 01.19 schrieb shawn:
> Hi, I have been having a few problems with dial-up users downloading
> large pictures from my mod_perl enabled webserver, also I see spikes in
> cpu usage which also suggests to me that the server is doing a lot of
> work serving up the large images.
17 matches
Mail list logo