应用部署User limit of inotify instances reached or too many open files
由 何 善才 在 将近 3 年 之前添加
异常信息详情:
[2022-01-07T18:44:48] [] [SEVERE] [] [] [tid: _ThreadID=1154 _ThreadName=ApusicLogManager] [timeMillis: 1641552288131] [levelValue: 1000] [[
NCLS-DEPLOYMENT-00040
java.io.IOException: User limit of inotify instances reached or too many open files
at sun.nio.fs.LinuxWatchService.<init>(LinuxWatchService.java:64)
at sun.nio.fs.LinuxFileSystem.newWatchService(LinuxFileSystem.java:47)
at com.apusic.aas.deployment.autodeploy.AutoDeployDirectoryScanner.getWatchService(AutoDeployDirectoryScanner.java:142)
at com.apusic.aas.deployment.autodeploy.AutoDeployDirectoryScanner.getAllDeployableModules(AutoDeployDirectoryScanner.java:134)
at com.apusic.aas.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:441)
at com.apusic.aas.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:388)
at com.apusic.aas.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:379)
at com.apusic.aas.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:209)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
]]
解决: