list correct number of open files
I would like to be able to monitor the number of open files, as it relates to the rlim_fd_cur and rlim_fd_max kernel parameters. I have an application that is not stable for long periods of time, and the vendor has stated that the number of available file descriptors should be set to unlimited. I have increased rlim_fd_max incrementally to 16384, with no impovement in stability.
To monitor the number of files open for each process, I have tried plimit, pfiles, and lsof. Each gives me a different result. Can somebody give me some clarity as to which output is correct for this case? The purpose is to monitor the number of open files each process has to see if the application is really hitting the rlim_fd_max limit. I am currently under the assumption that rlim_fd_max includes non-filesystem file handles (such as network sockets, etc). Is this a valid assumption?

