Hi,

>
> I can repeatably core dump an apache running embperl under mod_perl.
>
> Specifically, I have a file /export/home/michaels/public_html/core.epl,
> which contains the text:
> --cut--
> [- Execute('/export/home/michaels/public_html/core.epl'); -]
> --cut--
>

Ok, if you make your OS run out of memory, then also
Apache/Perl/mod_perl/Embperl can't do much...

If you upgrade your Perl, you will get an error before all memory is
exhausted about "too deep recursion".

Anyway, a normaly application shouldn't use all (virtual) memory that you
have in your machine. (If it would do your machine goes down anyway)

To protect you against malicious application, you should limit for the data
and stacksegement. Maybe Apache::RLimit is the right module here.

Gerald


> This appears to successfully loop for a while, then core dump.
>
> Versions of things are:
>
> Apache/1.3.11 (Unix) mod_perl/1.19
> perl 5.004_04
> embperl 1.3b6
>
> Michael
>


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to