About the difference of file descriptors messages in smps.log.

Document ID : KB000014358
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

What is the difference of "Maximum number of file descriptors available to this process" and "Available file descriptors" in smps.log ?

Answer:

We use getrlimit when we print message Maximum number of file descriptors available to this process

http://man7.org/linux/man-pages/man2/setrlimit.2.html

 

When we print Available file descriptors

We use function sysconf  with parameter _SC_OPEN_MAX

http://man7.org/linux/man-pages/man3/sysconf.3.html