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 - 2001, Roxen IS. - // $Id: global_variables.pike,v 1.81 2001/08/24 15:45:16 mast Exp $ + // $Id: global_variables.pike,v 1.82 2001/08/28 15:47:58 per 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:485: Inside #if defined(THREADS)
   "<p>Please note that even if this is one, Roxen will still "    "be able to serve multiple requests, using a select loop based "    "system.\n"    "<i>This is quite useful if you have more than one CPU in "    "your machine, or if you have a lot of slow NFS accesses.</i></p>"    "<p>Do not increase this over 20 unless you have a "    "very good reason to do so.</p>"));   #endif // THREADS      #ifndef __NT__ -  defvar("abs_engage", 0, LOCALE(154, "ABS: Enable Anti-Block-System"), +  defvar("abs_engage", 0, LOCALE(154, "Auto Restart: Enable Anti-Block-System"),    TYPE_FLAG|VAR_MORE,    LOCALE(155, "If set, the anti-block-system will be enabled. "    "This will restart the server after a configurable number of minutes if it "    "locks up. If you are running in a single threaded environment heavy "    "calculations will also halt the server. In multi-threaded mode bugs such as "    "eternal loops will not cause the server to reboot, since only one thread is "    "blocked. In general there is no harm in having this option enabled. "));          -  defvar("abs_timeout", 5, LOCALE(156, "ABS: Timeout"), +  defvar("abs_timeout", 5, LOCALE(156, "Auto Restart: ABS Timeout"),    TYPE_INT_LIST|VAR_MORE,    LOCALE(157, "If the server is unable to accept connection for this many "    "minutes, it will be restarted. You need to find a balance: "    "if set too low, the server will be restarted even if it's doing "    "legal things (like generating many images), if set too high you might "    "get a long downtime if the server for some reason locks up."),    ({1,2,3,4,5,10,15}),    lambda() {return !query("abs_engage");});   #endif // __NT__   
Roxen.git/server/base_server/global_variables.pike:572:    defvar("mem_cache_gc",    Variable.Int(300, 0,    LOCALE(170, "Cache: Memory Cache Garbage Collect Interval"),    LOCALE(171, "The number of seconds between every garbage collect "    "(removal of old content) from the memory cache. The "    "memory cache is used for various tasks like remembering "    "what supports flags matches what client.")))    ->set_range(1, 60*60*24);    // Note that the upper limit is arbitrary.    +  defvar("replicate", 0, +  LOCALE(0, "Enable replication system" ), +  TYPE_FLAG, +  LOCALE(0,"If enabled, Roxen will enable various replication systems " +  "needed to set up multiple frontend systems. You will need " +  "a database named 'replicate' that recides in a shared mysql " +  "server for this to work. Also, all servers has to have this " +  "flag set. Roxen must be restarted before changes to this " +  "variable takes effect " ) ); +     defvar("config_file_comments", 0,    LOCALE(172, "Commented config files"),    TYPE_FLAG,    LOCALE(173, "Save the variable documentation strings as comments "    "in the configuration files. Only useful if you read or "    "edit the config files directly."));            #ifdef SNMP_AGENT