Project: talendesb
Issue TESB-7756: JVM in ESB Runtime (Karaf) Keep files/socket open
I published several jobs and ESB services on Karaf. These jobs use an ActiveMQ server, SCP File Copy, MOMInput/Output. When I used many times theses jobs, all network connections are kept in a opened file status in Linux (viewed by lsof command, or netstat -a command). I modify the ulimit and fs.filelimit in the OS in order to manage many open files but no chance. After several jobs runs, I got 'Too Many files open" from TESB log in my container, and lsof/netstat command show a lot of TCP Session open and established. I try to add several "SCP Close command" or TMomCommit but no chance. The only way to reset the files/socket counter is a complete container restart.
Story points: 2