Re: $r vs. Apache2::RequestUtil->request

2011-10-26 Thread Charlie Katz
Okay, never mind. The Apache2::Log methods are in fact working for me. Stupid error. I am still curious about the difference between the Apache2::Request object which is the default request record accessor, and the Apache2::RequestRec object which comes out of Apache2::RequestUtil::request. On

$r vs. Apache2::RequestUtil->request

2011-10-26 Thread Charlie Katz
Hi, I'm confused about something. I am cleaning up some legacy Perl code in our application, and I find a number of our custom Perl modules have functions which require $r be passed to them solely for use in logging (e.g. $r->log->error()). I want to remove that requirement, so I am changing thing

Re: $r vs. Apache2::RequestUtil->request

2011-10-26 Thread Fred Moyer
Apache2::Request is a Perl module which is part of the libapreq Apache software project. You have to install apreq ( http://httpd.apache.org/apreq/ ) and then load the shared object in httpd.conf via LoadModule. It contains many convenience methods that CGI.pm normally provides. Apache2::Request

Re: Apache Children Stuck on futex

2011-10-26 Thread Max Barry
On 26/10/11 14:56, Max Barry wrote: > I'm trying to solve a long-running problem whereby my Apache mod_perl > processes get stuck in a "FUTEX_WAIT" state instead of exiting. > > I believe this is the same issue as reported here: > http://www.gossamer-threads.com/lists/modperl/modperl/99879 > > T

Re: Apache Children Stuck on futex

2011-10-26 Thread Fred Moyer
Have you tried this with mod_perl 2.0.5, or 2.0.6-dev? May have been resolved already. On Wednesday, October 26, 2011 at 3:06 PM, Max Barry wrote: > > On 26/10/11 14:56, Max Barry wrote: > > I'm trying to solve a long-running problem whereby my Apache mod_perl > > processes get stuck in a "