Project

General

Profile

Actions

Feature #275

closed

document web server anti-havoc code

Added by Florian Effenberger about 10 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Tags:
Documentation

Description

If the web server runs havoc with PHP, this (admittedly weird) snipped can come to rescue:

  • apt-get install apache2 libapache2-mod-perl2 libapache2-reload-perl libbsd-resource-perl libdevel-symdump-perl libperl5.10
  • Add this to the configuration
    PerlModule Apache2::Resource
    PerlSetEnv PERL_RLIMIT_DATA 512:600
    PerlSetEnv PERL_RLIMIT_AS 512:600
    PerlChildInitHandler Apache2::Resource

Should be documented somewhere as last resort (unless we find some better alternative with cgroups or the like)

Actions #1

Updated by Florian Effenberger over 9 years ago

  • Status changed from New to Rejected

Rejecting as we move to nginx

Actions

Also available in: Atom PDF