👩💻 Join our community of thousands of amazing developers!
The /proc filesystem is a wealth of useful information. Found this one today looking for something unrelated. You can read the limits file of a running process to find its currently defined limits, this is helpful for things like Max open files. You can use this to verify that the settings in /etc/security/limits.conf matches the running process. Example: [bcane@bcane ~]$ cat /proc/5610/limits Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unli...