Open rriemann opened 2 weeks ago
@rriemann thanks for creating the issue, would you say it would be a good default to change the PID limit for everyone? or does this issue only affect your cluster with a specific workload ? do you mind sharing more about what your workload is ?
/triage needs-information /kind support
I am no expert in this area. I was playing with https://github.com/bitnami/charts/tree/main/bitnami/ejbca and just hit the limit on every deploy.
I assume that my OS Fedora limited pids for a reason and if I do not play with minikube, I'd like to conserve the default configuration of my OS.
I understand most people use minikube for testing. So in that sense I would recommend to inrease the default pid limit for everyone. I do not know which value would be a good fit. Hence, I believe the pid limit should be accessible via the arguments to the minikube start
command and rest inside the user config next to the existing values for cpus
and memory
.
What Happened?
I use minikube in two ways:
minikube start --driver=podman --container-runtime=cri-o --cpus="4" --memory="4096"
minikube start --driver=podman --container-runtime=containerd --cpus="4" --memory="4096"
The workloads fail to create threads with error
pthread_create failed (EAGAIN)
. I can fix this issue outside of minikube with:However, I am missing a similar option for minikube to set
--pids-limit
.Workaround to change the value system-wide
Have this in your
/etc/containers/containers.conf
:source: https://github.com/kubernetes-sigs/kind/issues/2896#issuecomment-1226184890
Attach the log file
I could not find anything on this in the minikube logs. However, dmesg has:
Operating System
Redhat/Fedora
Driver
Podman