Open Icedroid opened 1 year ago
Your system seems to be overloaded, or you have set a restrictive resource limit:
[8.513s][warning][os,thread] Failed to start thread "Unknown thread" - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.
overloaded, the controller will use how much memory? Operating system: Linux, Version 4.19.90-24.4.v2101.ky10.x86_64 Environment: amd64, 125 processors, 30688 MiB memory reserved for allocations
how to know k8s node h whether have set a restrictive resource limit?
The machine/hardware itself seems fine. Did you set any
resources:
limits:
...
on the Pod, or were they set automatically? Could you check the Pod YAML?
What seems more likely: your system has a too low /proc/sys/kernel/threads-max
or /proc/sys/kernel/pid_max
.
The machine/hardware itself seems fine. Did you set any
resources: limits: ...
on the Pod, or were they set automatically? Could you check the Pod YAML?
What seems more likely: your system has a too low
/proc/sys/kernel/threads-max
or/proc/sys/kernel/pid_max
.
I am sure piraeus-cs-controller pod has no any resources.limits config. the k8s node running pod : $ cat /proc/sys/kernel/threads-max 4113123 $ cat /proc/sys/kernel/pid_max 4194304
You can check /proc/stat
to get the number of processes running. But I guess this would not be the issue here. Perhaps a too low ulimit is set. Can you run ulimit -S -a
and ulimit -H -a
when the container starts up?
I use helm install piraeus-operator v1.10.6, piraeus-cs-controller crashLoop with error as follow: