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
Hi, there is a default nproc limit for non-root users in the CentOS 7 docker image.
[root@ba4904984f68 /]# cat /etc/security/limits.d/20-nproc.conf
# Default limit for number of user's processes to prevent
# accidental fork bombs.
# See rhbz #432903 for reasoning.
* soft nproc 4096
root soft nproc unlimited
[user@ba4904984f68 ~]$ ulimit -a
max user processes (-u) 4096
When running several containers with Java applications as the same user this limit is hit easily as this limit seems not only be valid for processes but also for threads. Also the limit is not only valid for a single container, it is an overall limit for several containers running the same user.
Could it be useful to remove the file 20-nproc.conf in your provided CentOS 7 image via the kickstart?
The text was updated successfully, but these errors were encountered:
Hi, there is a default nproc limit for non-root users in the CentOS 7 docker image.
When running several containers with Java applications as the same user this limit is hit easily as this limit seems not only be valid for processes but also for threads. Also the limit is not only valid for a single container, it is an overall limit for several containers running the same user.
Could it be useful to remove the file
20-nproc.conf
in your provided CentOS 7 image via the kickstart?The text was updated successfully, but these errors were encountered: