2004-06-09 19:09:16 +00:00
|
|
|
<?php
|
2003-08-19 06:44:58 +00:00
|
|
|
require_once("docutil.php");
|
|
|
|
page_head("Scheduling server: debugging");
|
|
|
|
echo "
|
2004-11-25 23:07:22 +00:00
|
|
|
<pre>
|
|
|
|
|
|
|
|
Here's a useful technique for troubleshooting scheduler problems:
|
|
|
|
|
|
|
|
1) Copy the \"scheduler_request_X.xml\" file from a client to the
|
|
|
|
machine running the scheduler. (X = your project URL)
|
|
|
|
|
|
|
|
2) Run the scheduler under the debugger, giving it this file as stdin,
|
|
|
|
i.e.:
|
|
|
|
|
|
|
|
gdb cgi
|
|
|
|
(set a breakpoint)
|
|
|
|
r < scheduler_request_X.xml
|
|
|
|
|
|
|
|
3) You may have to doctor the database as follows:
|
|
|
|
update host set rpc_seqno=0, rpc_time=0 where hostid=N
|
|
|
|
to keep the scheduler from rejecting the request.
|
|
|
|
</pre>
|
2003-08-19 06:44:58 +00:00
|
|
|
";
|
|
|
|
page_tail();
|
|
|
|
?>
|