containerd / rust-extensions

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

set shim worker thread num #297

Closed mingfukuang closed 4 months ago

mingfukuang commented 4 months ago

The current shim process can run on all cores in the system, which is not suitable for scenarios with high CPU load. In runtime, the number of shim worker threads can be controlled through environment variables RUSTMAXPROCS.