perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@locus.apache.org
Subject cvs commit: modperl/lib/Apache Resource.pm
Date Thu, 23 Mar 2000 04:48:56 GMT
dougm       00/03/22 20:48:56

  Modified:    .        Changes
               lib/Apache Resource.pm
  Log:
  set Apache::Resource::DEFAULT_RLIMIT_AS (address space) to 64Mb
  
  Revision  Changes    Path
  1.437     +3 -0      modperl/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/modperl/Changes,v
  retrieving revision 1.436
  retrieving revision 1.437
  diff -u -r1.436 -r1.437
  --- Changes	2000/03/22 08:05:00	1.436
  +++ Changes	2000/03/23 04:48:55	1.437
  @@ -10,6 +10,9 @@
   
   =item 1.21_04-dev
   
  +set Apache::Resource::DEFAULT_RLIMIT_AS (address space) to 64Mb
  +[Kevin Murphy <kevin@boojiboy.eorbit.net>]
  +
   Bundle::Apache will now install Bundle::LWP before mod_perl
   [Aaron Johnson <solution@gina.net>]
   
  
  
  
  1.9       +5 -0      modperl/lib/Apache/Resource.pm
  
  Index: Resource.pm
  ===================================================================
  RCS file: /home/cvs/modperl/lib/Apache/Resource.pm,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Resource.pm	1999/01/18 04:31:14	1.8
  +++ Resource.pm	2000/03/23 04:48:56	1.9
  @@ -19,6 +19,7 @@
   }
   
   sub DEFAULT_RLIMIT_DATA  () { 64 } #data (memory) size in MB
  +sub DEFAULT_RLIMIT_AS    () { 64 } #address space (memory) size in MB
   sub DEFAULT_RLIMIT_CPU   () { 60*6 } #cpu time in seconds
   sub DEFAULT_RLIMIT_CORE  () { 0  } #core file size (MB)
   sub DEFAULT_RLIMIT_RSS   () { 16 } #resident set size (MB)
  @@ -133,6 +134,10 @@
    #set child memory limit in megabytes
    #default is 64 Meg
    PerlSetEnv PERL_RLIMIT_DATA 32:48
  +
  + #linux does not honor RLIMIT_DATA
  + #RLIMIT_AS (address space) will work to limit the size of a process
  + PerlSetEnv PERL_RLIMIT_AS 32:48
   
    #set child cpu limit in seconds
    #default is 360 seconds
  
  
  

Mime
View raw message