You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2022/10/26 21:31:35 UTC
[GitHub] [openwhisk] bdoyle0182 opened a new issue, #5343: [New Scheduler] Scheduling Decision Maker Does Not Include Paused Containers In Count
bdoyle0182 opened a new issue, #5343:
URL: https://github.com/apache/openwhisk/issues/5343
The scheduling decision maker receives `QueueSnapshot` which passes in `existingContainerNumByNamespace` value of the `ContainerCounter` class. However this class only watches for live containers in etcd under the `whisk/namespace/${namespace}` prefix, but not containers that are marked `warmed` under `whisk/warmed/${namespace}` or otherwise known as paused in docker. It's common for action containers to go paused, this can lead to namespace overprovisioning up to double beyond the namespace concurrency limit if a burst of traffic comes when namespace limit is reached and all containers are paused, and suboptimal decision making for over creating containers. @style95
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk] style95 commented on issue #5343: [New Scheduler] Scheduling Decision Maker Does Not Include Paused Containers In Count
Posted by "style95 (via GitHub)" <gi...@apache.org>.
style95 commented on issue #5343:
URL: https://github.com/apache/openwhisk/issues/5343#issuecomment-1556009241
The container manager always chooses warmed containers first to schedule activations.
https://github.com/apache/openwhisk/blob/master/core/scheduler/src/main/scala/org/apache/openwhisk/core/scheduler/container/ContainerManager.scala#L158
So there would be no overprovisioning but containers will be more quickly provisioned by them.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org