Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS.   //   // The Roxen WebServer main program.   //   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.853 2003/11/25 16:01:35 anders Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.854 2003/12/04 12:33:26 anders Exp $";      //! @appears roxen   //!   //! The Roxen WebServer main program.      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN
Roxen.git/server/base_server/roxen.pike:2312: Inside #if undefined(__NT__)
  // werror("call_out_info %O\n", filter(call_out_info(), lambda(array a) {   // return a[2] == restart_if_stuck; }));    signal(signum("SIGALRM"),    lambda( int n ) {    if (!query("abs_engage")) {    abs_started = 0;    report_debug("Anti-Block System Disabled.\n");    return;    }    report_debug("**** %s: ABS engaged!\n" +  "Waited more than %d minute(s).\n"    "Trying to dump backlog: \n", -  ctime(time()) - "\n"); +  ctime(time()) - "\n", +  query("abs_timeout"));    catch {    // Catch for paranoia reasons.    describe_all_threads();    };    report_debug("**** %s: ABS exiting roxen!\n\n",    ctime(time()));    _exit(1); // It might now quit correctly otherwise, if it's    // locked up    });    int t = alarm (60*query("abs_timeout")+20);