aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mohit soni <>
Subject Aurora grabbing resources even when not scheduling
Date Wed, 30 Apr 2014 22:19:03 GMT
We observed that Aurora's CPU share in Mesos Master dashboard spikes upto
100%, even when Aurora is not running any Job. Looking at the code, I
figured that scheduler holds on to the resourceOffers, even if there are no
tasks to be scheduled and doesn't decline the offer immediately.

It looks like an optimization, where the TaskLaunchers are kept primed with
resourceOffers, so that the Job can be run as soon as it's scheduled (if
task requirements are satisfied).

But, this leads to an offer starvation problem for other peer frameworks
who tend to decline offers if they don't have tasks to be scheduled (for
the timeout period).

How can we handle this in scenarios where Aurora is running with other peer
frameworks ?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message