Hi,

Maybe we should go one step back:

Does "make test" works correctly for you?

Does it also test the mod_perl part?

Gerald
=20

> -----Original Message-----
> From: abhishek jain [mailto:mail@ejain.com]=20
> Sent: Monday, January 07, 2008 2:59 AM
> To: Gerald Richter
> Cc: modperl@perl.apache.org
> Subject: Re: Re: Re: Process exists - Segmentation fault
>=20
> Hi Its me again,
> But still the things are not working right.
> I tried to recompile Embperl and put PerlModule Embperl after=20
> LoadModule embperl_module ..............
> =20
> Now i do not remember it was before or now but after i=20
> uncomment the 'PerlModule Embperl' line and things stop=20
> working i do not receieve $r=3Dshift; variable i mean $r =3D undef here=

=2E
> Is it due to something i did during installation of embperl.
> Also If i uncomment the line 'MaxRequestsPerChild 1' and=20
> comment 'PerlModule Embperl ' then i recveive this line in=20
> error log [Sun Jan 06 18:44:11 2008] [notice] child pid 30280=20
> exit signal Segmentation fault (11)
> =20
> (May be error and page refreshes itself i mean the code=20
> produces output.)
> =20
> and page appears , sometimes the same error appears twice and=20
> page does not appears.
> =20
> I am not sure have this error been encountered by someone=20
> else but things are not working right for me . Also if=20
> someone wants i can mail the Embperl logs to someone=20
> individually, i do not want to make the logs public.=20
> Pl help. I am working on the site http://delhi.pm.org/ it is=20
> the delhi perl mongers site and people in this group have=20
> limited knowledge of embperl but this will push up the=20
> embperl in Delhi .=20
> --
> Thanks
> Abhishek jain
>=20
> =20
> On 1/4/08, Gerald Richter - ECOS GmbH wrote:=20
>=20
> Hi,
> =09
> Not sure if it makes any difference, but the lines
> =09
> LoadModule embperl_module
> =09
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Em
> bperl/Embp=20
> erl.so
> PerlModule Apache:BI
> PerlModule Embperl
> =09
> Should be outside of the VirtualHost block (they are=20
> global anyway)
> =09
> The other thing that you should make sure, is that=20
> mod_perl is compiled
> with the same Perl that Embperl is and both are using=20
> modules from the=20
> path /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
> =09
> If there is any version mismatch, things cannot run correctly.
> =09
> Gerald
> =09
> =09
> > -----Original Message-----
> > From: abhishek jain [mailto: mail@ejain.com]
> > Sent: Thursday, January 03, 2008 8:20 PM
> > To: Gerald Richter
> > Cc: modperl@perl.apache.org
> > Subject: Re: Re: Process exists - Segmentation fault=20
> >
> > Hi,
> > Adding PerlModule Embperl did not solved the problem , infact
> > it aggreviated it. With this the page is not didsplaye at all.
> > My apache configuration is:
> >
> > :80>=20
> > SuexecUserGroup "#" "#"
> > ServerName xxxxxxxxxxxxxxxxx
> > ServerAlias www.xxxxxxxxxxxxxxxxx
> > DocumentRoot
> > ErrorLog
/logs/error_log=20
> > CustomLog
/logs/access_log combined
> > LoadModule embperl_module
> > /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Em
> bperl/Embperl.so
> > PerlModule Apache:BI
> > PerlModule Embperl=20
> > >
> > Options Indexes IncludesNOEXEC FollowSymLinks
> > allow from all
> > AllowOverride All
> >
> > $">
> > SetHandler perl-script
> > PerlHandler Embperl::Object
> > Options ExecCGI
> >

> > =20
> > Order allow,deny
> > Deny From all
> >

> >
> > Order allow,deny=20
> > Deny From all
> >

> >
> >
> >

> > >
> > allow from all
> >
=20
> > PerlSetEnv EMBPERL_ESCMODE 0
> > PerlSetEnv EMBPERL_OPTIONS 16
> > PerlSetEnv EMBPERL_MAILHOST
> > PerlSetEnv EMBPERL_OBJECT_BASE _base.epl=20
> > PerlSetEnv EMBPERL_OBJECT_FALLBACK=20
> notfound.html
> > PerlSetEnv EMBPERL_DEBUG 0
> > PerlSetEnv EMBPERL_OBJECT_APP epwebapp.pl
> >
> >
> >
> > Thanks,
> > Abhishek jain
> >
> >
> > On 1/3/08, Gerald Richter - ECOS GmbH wrote:
> >
> > Please add a
> >=20
> > PerlModule Embperl
> >
> > Somewhere _after_ the LoadModule
> >
> > Gerald
> >
> >
> > > -----Original Message-----
> > > From: abhishek jain [mailto: mail@ejain.com]
> > > Sent: Thursday, January 03, 2008 12:53 PM
> > > To: Gerald Richter
> > > Cc: modperl@perl.apache.org=20
> > > Subject: Re: Process exists - Segmentation fault
> > >
> > > Hi,
> > > I have the following statement in my httpd.conf
> > >
> > > LoadModule embperl_module=20
> > >
> > /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Em
> > > bperl/Embperl.so
> > >
> > > I do not have a related PerlModule just one=20
> for Apache:BI .=20
> > > Thanks,
> > > Abhishek jain
> > >
> > > On 1/3/08, Gerald Richter - ECOS GmbH <
> > richter@ecos.de richter@ecos.de=20
> > > wrote:
> > >
> > > Hi,
> > >
> > > Apache with mod_perl will always have=20
> this size or even
> > > more. This is
> > > ok.=20
> > >
> > > ulimit -a shows the process limits, but=20
> should normaly
> > > not a problem
> > >
> > > The behaviour you describe occurs when=20
> you do _not_=20
> > > have a LoadModule
> > > _and_ a PerlModule statement for Embperl in
> > your httpd.conf
> > >
> > > Gerald
> > >
> > >
> > > > -----Original Message-----
> > > > From: abhishek jain [mailto: mail@ejain.com]
> > > > Sent: Thursday, January 03, 2008 4:59 AM=20
> > > > To: modperl@perl.apache.org
> > > > Subject: Process exists - Segmentation fault
> > > >
> > > > Hi,=20
> > > > I am running modperl 2.x + embperl on centos
> > 4.5 Now when i
> > > > run on MaxRequestsPerChild 1 the app. runs
> > well but as i
> > > > increase its value after every third refresh=20
> > of browser a
> > > > blank page appears, also the process size
> > exceeds probably to
> > > > 19M , and in error_log segmentation fault
> > error appears.
> > > > I believe the size exceeds some threshold.=20
> > > > Now is there a way to increase the value of
> > > MaxRequestsPerChild ?
> > > > Can i increase the threshold value of=20
> size of a
> > > process or so ?=20
> > > > Thanks,
> > > > Abhishek jain
> > > >
> > > >
> > > >
> > >
> > > ** Virus checked by BB-5000 Mailfilter **=20
> > >
> > >
> > >
> > >
> >
> > ** Virus checked by BB-5000 Mailfilter **
> >
> >
> >
> >
> =09
> ** Virus checked by BB-5000 Mailfilter **=20
> =09
>=20
>=20
>=20


** Virus checked by BB-5000 Mailfilter **