Changes between Version 7 and Version 8 of ServerDebug


Ignore:
Timestamp:
Mar 28, 2012, 2:20:31 PM (12 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ServerDebug

    v7 v8  
    66
    77Each server component (scheduler, feeder, transitioner, etc.) has its own log file.
    8 Most error conditions are reported in the log files;
    9 make sure you know where they are.
    10 If you're interested in the history of a particular WU or result,
     8These files are in the '''log_HOSTNAME''' subdirectory of the project directory.
     9Most error conditions are reported in the log files.
     10
     11If you're interested in the history of a particular job,
    1112grep for `WU#12345` or `RESULT#12345` (where 12345 represents the ID) in the log files.
    1213The [HtmlOps html/ops pages] also provide an interface for this.
     
    1617 * Scheduler: set the desired [ProjectOptions#Scheduler:logging logging options]
    1718 * File upload handler: set [ProjectOptions#misc fuh_debug_level].
    18  * Other components: pass "-d N" (1=least verbose, 3=most verbose)
     19 * Other components: pass "-d N" (1=least verbose, 4=most verbose)
    1920
    2021== Debugging the scheduler ==
     
    3233{{{
    3334gdb cgi
    34 (set a breakpoint)
     35(set a breakpoint if desired)
    3536r < scheduler_request_X.xml
    3637}}}
     
    4142
    4243This is useful for figuring out why your project is generating 'no work available' messages.
     44
    4345As an alternative to this, edit `sched/handle_request.cpp`,
    4446and put a call to `debug_sched("debug_sched");` just before `sreply.write(fout, sreq);`.
     
    6365== Database query tracing ==
    6466
    65 If you run server components with debug level 4,
     67If you run server components with '''-d 4''',
    6668their database queries will be logged.
    6769This is verbose but extremely useful for tracking down database-level problems.