0 Replies Latest reply on Dec 29, 2005 5:35 PM by venkatesh

    Too Many Open Files

    venkatesh Newbie

      We have application running on Jboss 4.0.2 cluster consisting of 4 servers.
      Database in Oracle RAC and Linux Operating System.
      OCI driver is used to obtain Database Connection.
      Whenever a connection gets refreshed in server like below output,

      2005-12-29 17:25:25,704 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=xxx, password=--hidden--}

      the number of open files also increases and the listing of lsof output is like below

      java 14697 jboss 68u IPv4 9426707 UDP localhost.localdomain:51221
      java 14697 jboss 72u IPv4 9425433 UDP localhost.localdomain:51218

      This eventually leads to "Too many files open" error in jboss which crashes the Jboss server.

      Does anybody know why this opening of UDP sockets happens in JBoss for connection refresh and also the solution to close these sockets.
      Or is this bug in Jboss?

      Thanks in Advance