Too many open files on EAP 7.2 from growing amounts of ejb-xa-recovery files
Issue
JBoss server logs an error:
2019-10-31 12:09:34 ERROR [stderr] (default task-366) javax.ejb.EJBException: WFTXN0091: Failed to create xa resource recovery file: ./data/ejb-xa-recovery/20005_00000000000000000000ffff0a3d6fe5b86267965dbab2f700083d9733_00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
the above error is caused by:
2019-10-31 12:09:34 ERROR [stderr] (default task-366) Caused by: java.nio.file.FileSystemException: ./data/ejb-xa-recovery/20005_00000000000000000000ffff0a3d6fe5b86267965dbab2f700083d9733_00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000: Too many open files
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.2.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.