Roxen.git / server / base_server / global_variables.pike

version» Context lines:

Roxen.git/server/base_server/global_variables.pike:855: 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, "Auto Restart: Enable Anti-Block-System"), +  defvar("abs_engage", 0, LOCALE(154, "Auto Maintenance: 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, "Auto Restart: ABS Timeout"), +  defvar("abs_timeout", 5, LOCALE(156, "Auto Maintenance: 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,30,60}),    lambda() {return !query("abs_engage");});   #endif // __NT__    -  +  defvar("auto_fetch_rxps", 0, +  LOCALE(0, "Auto Maintenance: Enable Automatic Patch import"), +  TYPE_FLAG, +  LOCALE(0, "Automatically fetch and import patches to the server " +  "from www.roxen.com.")); +     defvar("locale",    Variable.Language("Standard", ({ "Standard" }) +    Locale.list_languages("roxen_config"),    0, LOCALE(158, "Default language"),    LOCALE(159, "Locale, used to localize all "    "messages in Roxen. Standard means using "    "the default locale, which varies "    "according to the values of "    "the 'LC_MESSAGES' and 'LANG' environment "    "variables.")))
Roxen.git/server/base_server/global_variables.pike:911:    "generator has produced.") );       secret = Crypto.MD5.hash(""+time(1)+random(100000)+"x"+gethrtime());       definvisvar("argcache_secret","",TYPE_STRING|VAR_NO_DEFAULT);    set( "argcache_secret", secret );    // force save.          defvar("suicide_engage", 0, -  LOCALE(160, "Auto Restart: Enable Automatic Restart"), +  LOCALE(160, "Auto Maintenance: Enable Automatic Restart"),    TYPE_FLAG|VAR_MORE,    LOCALE(161, "If set, Roxen will automatically restart after a "    "configurable number of days. Since Roxen uses a monolith, "    "non-forking server model the process tends to grow in size "    "over time. This is mainly due to heap fragmentation but "    "may also sometimes be because of memory leaks.")    );       definvisvar( "last_suicide", 0, TYPE_INT );       defvar("suicide_schedule",    Variable.Schedule( ({ 2, 1, 1, 0, 4 }), 0, -  LOCALE(387,"Auto Restart: Schedule"), +  LOCALE(387,"Auto Maintenance: Restart Schedule"),    LOCALE(388, "Automatically restart the "    "server according to this schedule.") ) )    ->set_invisibility_check_callback (    lambda(RequestID id, Variable.Variable f)    {return !query("suicide_engage");}    );    -  +  defvar("patch_on_restart", 0, +  LOCALE(0, "Auto Maintenance: Restart and apply patches"), +  TYPE_FLAG, +  LOCALE(0, "Apply any pending imported patches when the server is " +  "automatically restarted.")) +  ->set_invisibility_check_callback ( +  lambda(RequestID id, Variable.Variable f) +  {return !query("suicide_engage");}); +     defvar ("mem_cache_gc_2", 5 * 60,    LOCALE(1045, "Cache: Memory cache GC interval"),    TYPE_INT,    LOCALE(1046, #"\   <p>Interval in seconds between RAM cache garbage collector runs. This   GC removes entries from the RAM caches that have timed out or are   stale for other reasons, thereby making more room for new entries. The   configured cache size limits are enforced when entries are added, so   this GC is not required to keep the cache sizes down.</p>