this
scenario. Particularly whether it is up to the handler to re-assemble the
payload or not; I'm pretty sure this isn't the case?
I'd be grateful if someone would point me in the right direction?
Cheers,
Raf
On Wed, 18 May 2011, ra...@dreamthought.com wrote:
I am trying to profile mod-perl processes in a single process httpd
with Devel::NYTProf::Apache. I use the following pattern:
* start backgrounded httpd process with start=no (explicitly enabled later
in the code)
* request url against approp
27;d recommend some study into modularising
perl prior to your diving into implementing a custom handler.
Good luck.
Raf
http://perl.apache.org/docs/2.0/user/intro/start_fast.html
On Thu, 19 May 2011, marco wrote:
Hi,
I tried to write an handler to be execute in the PostReadRequest phase of the
http request cycle.
#file:touch.pl
...
PerlResponseHandler touch.pl
...
PerlPostReadRequestHandler touch.pl
I am trying to profile mod-perl processes in a single process httpd with
Devel::NYTProf::Apache. I use the following pattern:
* start backgrounded httpd process with start=no (explicitly enabled later
in the code)
* request url against appropriate port
* send TERM signal to apache pid
* nytpr
can see the get_lock waiting in the
database and I can only image that release_lock hasn't been called for
some reason.
Am on Apache::Session::MySQL (1.01), with differing (old and new)
Apache::Session versions.
I am curious whether anyone has memories of seeing this before or other
thoughts?
Thanks in advance,
Raf
Hi Doc,
On Tue, 8 May 2007, The Doctor wrote:
I am trying to compile the most recent version of mod_perl 2
however once install, Apache says it cannot find the so even
tough it is there.
Pointers please.
The LoadModule can point to a module either relative to your ServerRoot or
it can be a
1'?
I haven't followed the thread, however, you can then do something like:
sub getStuff{
my $attrList = shift;
my $listItems = $attrList->{listItem};
foreach my $attrItem (@$listItems) {
my $attrName = $attrItem->{attrName};
my $attrVal = $attrItem->{attrVal};
## do whatever
}
}
And then call:
getStuff($foo) where $foo is your previous $_[2];
Hope that this helps in some form?
Raf
On Wed, 24 Jan 2007, Perrin Harkins wrote:
> On 1/24/07, Raf <[EMAIL PROTECTED]> wrote:
> > The code base I'm profiling is very big, monolithic and convoluted. I
> > felt that level of granularity given by smallprof would probably give me
> > more coverage - whi
Hi Philip,
On Tue, 23 Jan 2007, Philip M. Gollucci wrote:
> Raf wrote:
> > Apologies for the X-post. It seemed appropriate.
> >
> Mot off the top of my head, why are you using Apache::SmallProf and not
> Apache::Dprof -- the previous is usually too low level.
The code base
eval
195)[/usr/lib/perl5/vendor_perl/5.8.5/i686-linux/Apache/Registry.pm:183]
line 4.
BEGIN failed--compilation aborted at (eval
195)[/usr/lib/perl5/vendor_perl/5.8.5/i686-linux/Apache/Registry.pm:183]
line 4.
Any suggestions would be appreicated.
Thanks,
Raf
r
someone may have experienced something similar with other handlers or
perhaps it is a known tt2 problem? Further it is also important to note
that I've run the same code without any trouble using the pre-fork
apache model.
Anyhelp would be appreciated! I'm pretty baffled at the moment
r
someone may have experienced something similar with other handlers or
perhaps it is a known tt2 problem? Further it is also important to note
that I've run the same code without any trouble using the pre-fork
apache model.
Anyhelp would be appreciated! I'm pretty baffled at the moment
rker model and I built the .so against an apache set up using
the prefork model.
I feel like I'm caught between a rock and an even sharper rock.
Is my only way of handling this to rebuild perl?
I think it is is it??
Looking for a quick and easy solution, if such a thing exists.
Any suggest
Hello All,
This isn't so much a development question as it is one about deployment.
I've built an application which runs with the latest and greatest mod_perl
and apache 2. It's just a run of the mill content handler which delegates
some stuff to Template.pm.
Now due to internal strictness I ha
15 matches
Mail list logo