Roxen.git / server / base_server / global_variables.pike

version» Context lines:

Roxen.git/server/base_server/global_variables.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2009, Roxen IS. - // $Id: global_variables.pike,v 1.120 2009/11/18 10:52:44 mast Exp $ + // $Id: global_variables.pike,v 1.121 2009/11/25 10:50:18 jonasw Exp $      // #pragma strict_types   #define DEFVAR mixed...:object   #define BDEFVAR mixed...:object      #define IN_ROXEN   #include <module.h>   inherit "read_config";   inherit "basic_defvar";   #include <version.h>
Roxen.git/server/base_server/global_variables.pike:826: Inside #if defined(NEW_RAM_CACHE)
      // This was the variable that used to control the gc interval, but    // since the effect of the gc is radically different now we    // intentionally use a different variable name to reset the value.    definvisvar ("mem_cache_gc", 300, TYPE_INT);       v = defvar ("mem_cache_size", 50,    LOCALE(0, "Cache: Memory cache size"),    TYPE_INT,    LOCALE(0, #"\ - <p>Maximum size in Mb for all RAM caches taken together. This limit + <p>Maximum size in MByte for all RAM caches taken together. This limit   covers the caches visible in the <a   href='/actions/?action=cachestatus.pike&class=status'>Cache status</a>   page.</p>      <p>Note that there are many more things in the Roxen WebServer that   take space, including some caches that are not handled by the common   RAM cache. Also, there is various indirect memory overhead that is not   directly accounted for by the size calculations. All these taken   together means that the figure configured here cannot be mapped   straightly to the size of the Roxen process as reported by the OS. The