[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Process exists - Segmentation fault


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:

<VirtualHost <ip>:80>
SuexecUserGroup "#<id>" "#<id>"
ServerName xxxxxxxxxxxxxxxxx
ServerAlias www.xxxxxxxxxxxxxxxxx
DocumentRoot <public_html>
ErrorLog <dir>/logs/error_log
CustomLog <dir>/logs/access_log combined
LoadModule  embperl_module /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Embperl/Embperl.so
PerlModule Apache::DBI
PerlModule Embperl
<Directory <public_html dir>>
Options Indexes IncludesNOEXEC FollowSymLinks
allow from all
AllowOverride All

<FilesMatch "^<file_name>$">
                        SetHandler  perl-script
                        PerlHandler Embperl::Object
                        Options     ExecCGI
                </FilesMatch>
 <FilesMatch ".*\.epl$">
                        Order allow,deny
                        Deny From all
                </FilesMatch>
 <FilesMatch ".*\.pl$">
                        Order allow,deny
                        Deny From all
                </FilesMatch>


</Directory>
<Directory <cgi_dir>>
allow from all
</Directory>
                PerlSetEnv EMBPERL_ESCMODE 0
                PerlSetEnv EMBPERL_OPTIONS 16
                PerlSetEnv EMBPERL_MAILHOST <host>
                PerlSetEnv EMBPERL_OBJECT_BASE _base.epl
                PerlSetEnv EMBPERL_OBJECT_FALLBACK notfound.html
                PerlSetEnv EMBPERL_DEBUG 0
                PerlSetEnv EMBPERL_OBJECT_APP epwebapp.pl
</VirtualHost>

Thanks,
Abhishek jain

 
On 1/3/08, Gerald Richter - ECOS GmbH <suppressed> wrote:
Please add a

PerlModule Embperl

Somewhere _after_ the LoadModule

Gerald


> -----Original Message-----
> From: abhishek jain [mailto:suppressed]
> Sent: Thursday, January 03, 2008 12:53 PM
> To: Gerald Richter
> Cc: suppressed
> Subject: Re: Process exists - Segmentation fault
>
> Hi,
> I have the following statement in my httpd.conf
>
> LoadModule  embperl_module
> /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 for Apache::DBI .
> Thanks,
> Abhishek jain
>
> On 1/3/08, Gerald Richter - ECOS GmbH < suppressed> wrote:
>
>       Hi,
>
>       Apache with mod_perl will always have this size or even
> more. This is
>       ok.
>
>       ulimit -a shows the process limits, but should normaly
> not a problem
>
>       The behaviour you describe occurs when you do _not_
> have a LoadModule
>       _and_ a PerlModule statement for Embperl in your httpd.conf
>
>       Gerald
>
>
>       > -----Original Message-----
>       > From: abhishek jain [mailto: suppressed]
>       > Sent: Thursday, January 03, 2008 4:59 AM
>       > To: suppressed
>       > Subject: Process exists - Segmentation fault
>       >
>       > Hi,
>       > 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 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.
>       > Now is there a way to increase the value of
> MaxRequestsPerChild ?
>       > Can i increase the threshold value of size of a
> process or so ?
>       > Thanks,
>       > Abhishek jain
>       >
>       >
>       >
>
>       ** Virus checked by BB-5000 Mailfilter **
>
>
>
>

** Virus checked by BB-5000 Mailfilter **


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.