1 Reply Latest reply on Feb 20, 2017 12:04 AM by wroot

    Too many open files

    Mangesh Bulkar

      I am using Openfire 4.0.3 for our chat application. My Openfire stop connecting xmpp Android client suddenly. While checking in error log following error found.

      org.jivesoftware.openfire.container.PluginManager - /usr/share/openfire/plugins: Too many open files 

        

      java.nio.file.FileSystemException: /usr/share/openfire/plugins: Too many open files 
          at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91) 
          at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) 
          at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) 
          at sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.jav a:426) 
          at java.nio.file.Files.newDirectoryStream(Files.java:545) 
         at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:944) 
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
          at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) 
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301 (ScheduledThreadPoolExecutor.java:178) 
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:293) 
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)  
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)  
          at java.lang.Thread.run(Thread.java:745) 
          org.jivesoftware.openfire.container.PluginManager - /usr/share/openfire/plugins: Too many open files 
         java.nio.file.FileSystemException: /usr/share/openfire/plugins: Too many open files 
          at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91) 
          at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) 
          at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) 
          at sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.jav a:426) 
          at java.nio.file.Files.newDirectoryStream(Files.java:545) 
         at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:944) 
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
          at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) 
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301 (ScheduledThreadPoolExecutor.java:178) 
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:293) 
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)  
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)  
          at java.lang.Thread.run(Thread.java:745)

      This repeated many times in error log. Can you please help me find out why my openfire stop connecting xmpp android client.