Im having a similar problem but on HP unix, do you have any idea what is the equivalant of the lsof tool on HP Unix? I searched the sys for this command but I couldnt find a match!
Thanks -----Original Message----- From: G.Nagarajan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 1:08 PM To: [EMAIL PROTECTED] Subject: Re: TOO MANY OPEN FILES ERROR hi, In linux you can increase this limit by giving echo "65535" > /proc/sys/fs/file-max. The default is 1024 which is easily taken up in a medium scale application. The possible reasons could be - many database connections - too many threads - too many files are kept open - heavy use of recursion/reflection In unix, almost everything including sockets etc are treated as files. This means that you have to check your code whether you have closed the database connections, sockets, files etc. One useful tool is lsof. This displays the list of open files at any time. /proc/sys/fs/file-nr shows the information about the total file handles allocated, free and used. hth, Nagarajan > -----Original Message----- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Aurelio Oliveira > Rodrigues > Sent: Monday, November 25, 2002 1:54 PM > To: [EMAIL PROTECTED] > Subject: TOO MANY OPEN FILES ERROR > > > Hi, > I'm working with JBOSS 3.0.1 integrated with TOMCAT 4.0.4 and > sometimes I'm getting the "TOO MANY OPEN FILES ERROR". > Does anybody can help me to discribe what is up? > Regards, > Aurelio > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set > JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com