Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6333

In /proc/pid/limits, where does the hard limit value come from?

$
0
0

I didn't set the hard limit value in /etc/security/limits.d/<xx.conf> and /etc/security/limits.conf.There's only soft limit value 4096 set.Then I go to /proc/, and cat the limits. I saw 31839 is set for hard limit. I don't really know where this value coming from.

check the screenshot

I checked the values in some max_xx_namespaces files in /proc/sys/user, and it turns out 31839 is also in these files like max_pid_namespaces.

Is there any relationship between the two setting? or the hard limit 31839 is coming from some kernel related setting?

Thank you!


Viewing all articles
Browse latest Browse all 6333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>