perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: Segmentation faults in embperl2
Date Tue, 20 Sep 2005 14:45:08 GMT
> 
> Gerald Richter wrote:
> >>Version of embperl is 2.0.0, mod_perl 2.0.1, apache 2.0.54 (prefork 
> >>mpm only), perl 5.8.4.
> >>
> >>Any ideas ?
> >>
> > 
> > 
> > How does your httpd.conf look like?
> > 
> > Did you load the C part with LoadModule and the Perl part (with 
> > PerlModule or use) both on startup?
> 
> using PerlModule seems to have fixed the problem. I'm using 
> an handler written by me and it has a "use Embperl" on top:
> ----
> package myHandler;
> 
> use Apache2;
> use Embperl;
> ----
> 
> Now with "PerlModule" in httpd.conf it's working ok.
> 

The PerlModule is necessary because of the way Apache's memory management
and module loading work

Also it's takes up less memory, than loading Embperl in every child.

Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message