[ Thanks to linuxaria for this link.
]
“I had recently problems with servers running
application server Java and suddenly began to see strange errors
like “broken pipe” or exausted resources, this is often due to the
high number of open files that a modern server can bind especially
compared to the default Linux systems that is still standing at
1024.“Let’s see how many open files are present on our system and how
to resolve, or better to prevent this problem.“Check the open files of a process
“Step # 1 Find out program PID
“Let’s check for a tomcat process”