Orphaned Charmm task


Advanced search

Message boards : Number crunching : Orphaned Charmm task

Sort
Author Message
Profile David Ball
Forum moderator
Volunteer tester
Avatar

Joined: Sep 18 06
Posts: 274
ID: 115
Credit: 1,634,401
RAC: 0
Message 4136 - Posted 27 Jun 2008 18:30:00 UTC

Sorry for the long setup but I want to make sure I give you as much info as possible. This is on a Linux command line only machine with BOINC 5.10.45. It's running the CentOS (Redhat) Linux kernel 2.6.9-67.0.7.ELsmp.

Yesterday, I ran top and found that the BOINC client on a quad only had 3 tasks currently using CPU time, instead of the usual 4, so I stopped and restarted the BOINC client. I don't know why it was not running 4 tasks but it was only using about 1/3rd of the memory it's allowed to use for BOINC so I don't think it was waiting on memory. FYI, the running tasks (including non-BOINC tasks) on the machine were only using a total of about 500MB and BOINC is allowed to use up to 1.5GB of the 2GB ram that the machine has. Several BOINC tasks (including one Charmm) from various projects were running but suspended (not using any CPU time). The 3 active tasks were from other projects. I don't know if one of the suspended tasks was supposed to be active or if BOINC just failed to start a 4th task for some reason.

I stopped BOINC using "./boinc_cmd --quit" and after a few seconds started the BOINC daemon again. It started up 4 tasks from projects other than Docking. When I looked at the machine with top, there was a 5th task sitting inactive in memory. That task was a Charmm and top showed no current CPU usage but about 2 hours of CPU time accumulated. I checked stdoutdae.txt and it showed the BOINC client starting up and starting the 4 running tasks but said nothing about the Charmm task. Apparently, the Charmm task doesn't always shut down when BOINC does and it survived the restart of the daemon but was still suspended and not using any CPU time. Unfortunately, I don't recall if the Charmm wrapper task (the one that hardly ever uses any CPU time) was there.

Anyway, there seems to be some situation where the BOINC client stops but a Charmm task is orphaned.



____________
The views expressed are my own.
Facts are subject to memory error :-)
Have you read a good science fiction novel lately?

Message boards : Number crunching : Orphaned Charmm task

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)#6 (2) {
      ["db_conn"]=>
      resource(54) 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=317"
    }
  }
  [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)#6 (2) {
      ["db_conn"]=>
      resource(54) of type (mysql link persistent)
      ["db_name"]=>
      string(7) "docking"
    }
    ["type"]=>
    string(2) "->"
    ["args"]=>
    array(3) {
      [0]=>
      object(BoincThread)#3 (16) {
        ["id"]=>
        string(3) "317"
        ["forum"]=>
        string(1) "2"
        ["owner"]=>
        string(3) "115"
        ["status"]=>
        string(1) "0"
        ["title"]=>
        string(20) "Orphaned Charmm task"
        ["timestamp"]=>
        string(10) "1214591400"
        ["views"]=>
        string(3) "376"
        ["replies"]=>
        string(1) "0"
        ["activity"]=>
        string(20) "1.5038405869795e-103"
        ["sufferers"]=>
        string(1) "0"
        ["score"]=>
        string(1) "0"
        ["votes"]=>
        string(1) "0"
        ["create_time"]=>
        string(10) "1214591400"
        ["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) "317"
      ["forum"]=>
      string(1) "2"
      ["owner"]=>
      string(3) "115"
      ["status"]=>
      string(1) "0"
      ["title"]=>
      string(20) "Orphaned Charmm task"
      ["timestamp"]=>
      string(10) "1214591400"
      ["views"]=>
      string(3) "376"
      ["replies"]=>
      string(1) "0"
      ["activity"]=>
      string(20) "1.5038405869795e-103"
      ["sufferers"]=>
      string(1) "0"
      ["score"]=>
      string(1) "0"
      ["votes"]=>
      string(1) "0"
      ["create_time"]=>
      string(10) "1214591400"
      ["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=317