"Too many error results"


Advanced search

Message boards : Number crunching : "Too many error results"

Sort
Author Message
Steven Meyer
Avatar

Joined: May 26 09
Posts: 23
ID: 12091
Credit: 130,335
RAC: 0
Message 5061 - Posted 4 Jun 2009 15:15:44 UTC

This WU , and many more like it, were sent to my computer with a very short deadline, resulting in everything running at "High Priority" in order to try to get them all done before the deadline. In order to reduce the work overload, I aborted about half of the tasks.

There are two problems here.


  • "High Priority" causes D@H to incur major debt with respect to other projects.
  • The abort of a task gets counted as an "Error". Since a WU is allowed no more than 1 error, the WU will not be sent out again.


____________

Profile Trilce Estrada
Forum moderator
Project administrator
Project developer
Project tester

Joined: Sep 19 06
Posts: 189
ID: 119
Credit: 1,217,236
RAC: 0
Message 5063 - Posted 5 Jun 2009 14:35:19 UTC - in response to Message ID 5061 .

Hello Steven,

I'm looking at your problem right now. I cannot understand why it did hapen. Our applications use the default priority and the deadline for all workunits of 1hiv was more than 1 week, which is plenty of time since they take only a couple of hours to complete. I will try to recreate the conditions in which this may be happening, and if I find a bug I'll fix it.

Thank you

Steven Meyer
Avatar

Joined: May 26 09
Posts: 23
ID: 12091
Credit: 130,335
RAC: 0
Message 5076 - Posted 10 Jun 2009 21:31:48 UTC - in response to Message ID 5063 .
Last modified: 10 Jun 2009 21:35:56 UTC

Timing and scheduling are part of the problem, but the biggest part is that a single user can cause work units to never be calculated by simply aborting them .

There are two solutions that I can think of . . .


  • Increase the number of error results allowed on each WU to at least 2
  • - OR -
  • Do not count an Abort as an Error.


____________

Message boards : Number crunching : "Too many error results"

Database Error
: The MySQL server is running with the --read-only option so it cannot execute this statement
array(3) {
  [0]=>
  array(7) {
    ["file"]=>
    string(47) "/boinc/projects/docking/html_v2/inc/db_conn.inc"
    ["line"]=>
    int(97)
    ["function"]=>
    string(8) "do_query"
    ["class"]=>
    string(6) "DbConn"
    ["object"]=>
    object(DbConn)#8 (2) {
      ["db_conn"]=>
      resource(60) of type (mysql link persistent)
      ["db_name"]=>
      string(7) "docking"
    }
    ["type"]=>
    string(2) "->"
    ["args"]=>
    array(1) {
      [0]=>
      &string(51) "update DBNAME.thread set views=views+1 where id=438"
    }
  }
  [1]=>
  array(7) {
    ["file"]=>
    string(48) "/boinc/projects/docking/html_v2/inc/forum_db.inc"
    ["line"]=>
    int(60)
    ["function"]=>
    string(6) "update"
    ["class"]=>
    string(6) "DbConn"
    ["object"]=>
    object(DbConn)#8 (2) {
      ["db_conn"]=>
      resource(60) of type (mysql link persistent)
      ["db_name"]=>
      string(7) "docking"
    }
    ["type"]=>
    string(2) "->"
    ["args"]=>
    array(3) {
      [0]=>
      object(BoincThread)#3 (16) {
        ["id"]=>
        string(3) "438"
        ["forum"]=>
        string(1) "2"
        ["owner"]=>
        string(5) "12091"
        ["status"]=>
        string(1) "0"
        ["title"]=>
        string(24) ""Too many error results""
        ["timestamp"]=>
        string(10) "1244669508"
        ["views"]=>
        string(3) "108"
        ["replies"]=>
        string(1) "2"
        ["activity"]=>
        string(19) "2.9960769496447e-88"
        ["sufferers"]=>
        string(1) "0"
        ["score"]=>
        string(1) "0"
        ["votes"]=>
        string(1) "0"
        ["create_time"]=>
        string(10) "1244128544"
        ["hidden"]=>
        string(1) "0"
        ["sticky"]=>
        string(1) "0"
        ["locked"]=>
        string(1) "0"
      }
      [1]=>
      &string(6) "thread"
      [2]=>
      &string(13) "views=views+1"
    }
  }
  [2]=>
  array(7) {
    ["file"]=>
    string(63) "/boinc/projects/docking/html_v2/user/community/forum/thread.php"
    ["line"]=>
    int(184)
    ["function"]=>
    string(6) "update"
    ["class"]=>
    string(11) "BoincThread"
    ["object"]=>
    object(BoincThread)#3 (16) {
      ["id"]=>
      string(3) "438"
      ["forum"]=>
      string(1) "2"
      ["owner"]=>
      string(5) "12091"
      ["status"]=>
      string(1) "0"
      ["title"]=>
      string(24) ""Too many error results""
      ["timestamp"]=>
      string(10) "1244669508"
      ["views"]=>
      string(3) "108"
      ["replies"]=>
      string(1) "2"
      ["activity"]=>
      string(19) "2.9960769496447e-88"
      ["sufferers"]=>
      string(1) "0"
      ["score"]=>
      string(1) "0"
      ["votes"]=>
      string(1) "0"
      ["create_time"]=>
      string(10) "1244128544"
      ["hidden"]=>
      string(1) "0"
      ["sticky"]=>
      string(1) "0"
      ["locked"]=>
      string(1) "0"
    }
    ["type"]=>
    string(2) "->"
    ["args"]=>
    array(1) {
      [0]=>
      &string(13) "views=views+1"
    }
  }
}
query: update docking.thread set views=views+1 where id=438