突然之间,我们在系统中遇到了以下错误。原因:java.io.FileNotFoundException: /web/wasapps/EventLog.log (打开的文件太多)
我假设有一些文件没有关闭,但我无法找到导致泄漏的 java 文件。请帮助我。
无限设置如下:
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) unlimited
memory(kbytes) 32768
coredump(blocks) unlimited
nofiles(descriptors) 2000
threads(per process) unlimited
processes(per user) unlimited
堆栈跟踪 :
SystemErr R 引起:java.io.FileNotFoundException:/web/wasapps/EventLog.log(打开的文件太多)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:203)
at java.io.FileOutputStream.<init>(FileOutputStream.java:128)
at com.abc.ci.common.LogManager.writeIntoFile(Unknown Source)
at com.abc.ci.common.LogManager.writeLogFile(Unknown Source)
at com.abc.ci.common.LogManager.handleEvent(Unknown Source)
at com.abc.ci.RANdc.common.CIFAdapter.postRequestForHashMap(Unknown Source)
at com.abc.ci.RANdc.UserInqDataTranslator.translate(Unknown Source)
at com.abc.ci.RANdc.UserInqProcessor.UserInq(UserInqProcessor.java:187)
at com.abc.ci.RANdc.srvprov.UserInqXYHostSrvProv.executeService(Unknown Source)
at com.abc.fiapi.common.XYHostServiceExecutor.execute(Unknown Source)
at com.abc.ci.RAN.ejb.RANModuleEJBBean.executeService(Unknown Source)
at com.abc.ci.srvprov.FRANModuleBeanLookUpServiceProvider.executeService(Unknown Source)
at com.abc.ci.abc.app.abcServiceExecutor.executeService(Unknown Source)
at com.abc.ci.abc.app.abcMessageExecutor.executeService(Unknown Source)
at com.abc.ci.abc.app.abcMessageExecutor.executeMessage(Unknown Source)
at com.abc.ci.abc.app.abcSyncMessageExecutor.processMessage(Unknown