Conf/Parameters/schedmaxelapsed

From AOLserver Wiki
Revision as of 21:21, 19 December 2011 by Bernhard (talk | contribs) (Created page with '= ns_param home = part of ns/parameters Write out a warning to the server log when a scheduled task takes a long time. ns_param schedmaxelapsed 2 D…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ns_param home

part of ns/parameters

Write out a warning to the server log when a scheduled task takes a long time.

 ns_param   schedmaxelapsed 2   

Default defined in nsconf.c

 #define SCHED_MAXELAPSED	2

File sched.c

 if (elapsed > nsconf.sched.maxelapsed) {
    Ns_Log(Warning, "sched: "
       "excessive time taken by proc %d (%d seconds)",
       ePtr->id, elapsed);
 }