containerd / rust-extensions

Rust crates to extend containerd
https://containerd.io
Apache License 2.0
184 stars 74 forks source link

Is there a plan for for registering and reporting cgroup OOM events in Rust shim? #227

Closed aa624545345 closed 8 months ago

aa624545345 commented 11 months ago

Go shim uses memory.oom_control and cgroup.event_control to register and report OOM (Out of Memory) events in the cgroup. Do you now have any plans for this aspect in Rust shim?

Burning1020 commented 11 months ago

Sounds good to me. I can handle this in this week.

Burning1020 commented 11 months ago

@aa624545345 Are you using shim with async feature?

aa624545345 commented 11 months ago

Not yet. I just tested the async version and found this lack. I commit a pr for this lack in #229

Burning1020 commented 11 months ago

Not yet. I just tested the async version and found this lack. I commit a pr for this lack in #229

Oh, thank you.