Hi Niphlod,

Thanks for your reply! The problem is the 5681 is taking the task 1 and it 
is RUNNING (See the worker stats of worker 1). But at the same time, the 
task is still assigned to 5681, but not two other ACTIVE workers, 5685 and 
5690. I previously thought the reason might be in the status feature of 
worker 5681, it still shows ACTIVE although it is RUNNING the task 1 as 
shown in the worker stats. But it seems that the "testtask" case works 
fine. two tasks were running simultaneously by worker 5681 and 5685 (See 
the pictures). 

 

On Tuesday, December 16, 2014 10:49:35 AM UTC-5, Niphlod wrote:
>
> Uhm, really strange. Keep things simple to reproduce: queue tasks that are 
> something like 
>
> import time
> def testtask():
>     time.sleep(60)
>     return 1
>
> and see if the behaviour is reproducible.
>
> Here I don't see anything wrong: 5861 is ACTIVE (meaning there's nothing 
> actively running on it, or it would be RUNNING), 5865 is ACTIVE too, and 
> it's the one distributing tasks. 3 workers are recognized correctly, with 1 
> task still in the queue
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to