You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
OOM-kills are quite a usual issue for AL services. In the Docker compose setup, it's difficult to track which service/container has been OOMkilled. In Kubernetes deployment, this is solved by _monitor_pods that runs in the separated thread in the scaler and prints the last state event when detecting restarts (by default, after each one restart). There is currently no similar solution thing for Docker Compose setup.
The "restart always" policy ensures the containers are automatically restored after OOMkill, but also resets the OOMKilled flag.
Having a clear log indicating an OOM would be a great debugging improvement.
Describe the solution you'd like
Similar as in Kubernetes, we can easily subscribe to the Docker events and process them in real time. As we don't need to collect so much information as in Kuberenetes deployments, I suggest a much simpler method focused just on OOM. It could eventually be extended, if necessary.
The following example, tested on my machine, should be enough to report OOMKills from a given compose project:
Is your feature request related to a problem? Please describe.
OOM-kills are quite a usual issue for AL services. In the Docker compose setup, it's difficult to track which service/container has been OOMkilled. In Kubernetes deployment, this is solved by
_monitor_pods
that runs in the separated thread in the scaler and prints the last state event when detecting restarts (by default, after each one restart). There is currently no similar solution thing for Docker Compose setup.The "restart always" policy ensures the containers are automatically restored after OOMkill, but also resets the
OOMKilled
flag.Having a clear log indicating an OOM would be a great debugging improvement.
Describe the solution you'd like
Similar as in Kubernetes, we can easily subscribe to the Docker events and process them in real time. As we don't need to collect so much information as in Kuberenetes deployments, I suggest a much simpler method focused just on OOM. It could eventually be extended, if necessary.
The following example, tested on my machine, should be enough to report OOMKills from a given compose project:
Describe alternatives you've considered
Additional context
References:
The text was updated successfully, but these errors were encountered: