Scheduler RPC pending reasons

Started by wicked, August 23, 2014, 02:07:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wicked

Hello,

Looks like BoincTasks doesn't always show correct info on Status-column of the Projects-tab. For example, at the moment WUProp@Home scheduler is not responding (incorrect DNS resolution) and BoincTasks shows:

WUProp@Home ... Deferred for: 00:53:50, In progress

Looking boinccmd --get_project_status output for the same project:

1) -----------
   name: WUProp@Home
...
   nrpc_failures: 8
   master_fetch_failures: 0
   master fetch pending: no
   scheduler RPC pending: yes
   trickle upload pending: no
   attached via Account Manager: yes
   ended: no
   suspended via GUI: no
   don't request more work: no
   disk usage: 0.000000
   last RPC: 1408626277.443256
   project files downloaded: 0.000000


And project info in client_state.xml shows:

<project>
    <project_name>WUProp@Home</project_name>
...

    <nrpc_failures>8</nrpc_failures>
    <master_fetch_failures>0</master_fetch_failures>
    <min_rpc_time>1408805030.526604</min_rpc_time>
    <next_rpc_time>1408629877.443256</next_rpc_time>
    <sched_rpc_pending>7</sched_rpc_pending>
    <non_cpu_intensive/>


Now, the BT Deferred status is correct but RPC is not "In progress" but rather RPC is "Pending" and the reason code 7 means "Project Requested" as defined in http://boinc.berkeley.edu/gitweb/?p=boinc-v2.git;a=blob;f=lib/common_defs.h;hb=HEAD#l193.  I've also sometimes seen "sRPCp 3" status, which might mean BT doesn't also understand the reason code 3, which is explained in the same header. (RPC for this project is pending because "Need work".) Could you make sure these defines are correctly taken into account for BT Status-column? Thanks!

BTW, there's also upload pending and it's status is shown correctly on Transfers tab:

WUProp@Home ... Upload pending (Project backoff: 00:46:21)

fred

Quote from: wicked on August 23, 2014, 02:07:42 PM
WUProp@Home ... Deferred for: 00:53:50, In progress
  scheduler RPC pending: yes
I've also sometimes seen "sRPCp 3" status
I will take a look, in progress seems to be OK, I don't know if BoincTasks can see more. It relies on the RPC and can't see the state file.
But should be fairly easy to test.

fred

Fixed in 1.63.
1.63 will be released just after the next BOINC Beta, I need to test the new CPID feature.