#5381 taskd can get into an infinite loop

forge-dec-14
closed
stability (30)
General
1
2012-12-04
2012-11-30
Dave Brondsema
No
0 up votes | 0 down votes | 0%
4 comments

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

Related

Tickets: #5402

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
     


Anonymous


Cancel   Add attachments