#5381 taskd can get into an infinite loop

v1.0.0
closed
General
2015-08-20
2012-11-30
No

check_running isn't implemented correctly, so it ends up in an tight loop without sleeping

Discussion

  • Dave Brondsema

    Dave Brondsema - 2012-11-30
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1 @@
    -`check_running` isn't implemented correctly, so it ends up in an infinite loop
    +`check_running` isn't implemented correctly, so it ends up in an tight loop without sleeping
    
     
  • Dave Brondsema

    Dave Brondsema - 2012-11-30

    allura:db/5381

    • make sure you get a clean start, e.g. /etc/init.d/reactor force-stop; /etc/init.d/reactor start
    • top shouldn't show paster using a lot of CPU
    • strace -p THEPID should show a mongo query every few seconds, instead of unfettered querying
     
  • Dave Brondsema

    Dave Brondsema - 2012-11-30
    • status: in-progress --> code-review
    • qa: Tim Van Steenburgh
     
  • Tim Van Steenburgh

    • status: code-review --> closed
     

Log in to post a comment.