I have these settings in my conf files for ulimits. vi /etc/security/limits.conf
* soft nofiles 1024000 * hard nofiles 1024000 root soft nofiles 1024000 root hard nofiles 1024000 cat /proc/sys/fs/file-max 2188737 On Tue, Feb 7, 2012 at 12:56 PM, Manidhar gudavalli <[email protected]>wrote: > I checked with lsof -u root | wc -l and for login id and for mysql. All > are with in the limits less than 2400 . And, I set the limits too high at > 100,000. > thanks > Mani > > On Tue, Feb 7, 2012 at 12:51 PM, Knut Forkalsrud < > [email protected]> wrote: > >> You have too many open files. Try "man ulimit" and "man lsof". >> >> -Knut >> >> >> On Tue, Feb 7, 2012 at 10:17, Manidhar gudavalli <[email protected]>wrote: >> >>> We are using resin 3.1.12 and java 6. When the server is on heavy load, >>> we are getting frequent errors. Number of open files count is still less. >>> But we are seeing these errors. What could be the problem? There are no >>> memory issues. >>> >>> java.util.zip.ZipException: error in opening zip file >>> java.io.FileNotFoundException: /home/myuser/public_html/WEB-INF/web.xml >>> (Too many open files) >>> >>> java.lang.NoClassDefFoundError >>> >>> java.sql.SQLException: Unable to connect to any hosts due to exception: >>> java.net.SocketException: Too many open files >>> >>> ** BEGIN NESTED EXCEPTION ** >>> >>> java.net.SocketException >>> MESSAGE: Too many open files >>> >>> thanks in advance >>> Mani >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> resin-interest mailing list >>> [email protected] >>> http://maillist.caucho.com/mailman/listinfo/resin-interest >>> >>> >> >> _______________________________________________ >> resin-interest mailing list >> [email protected] >> http://maillist.caucho.com/mailman/listinfo/resin-interest >> >> > > > > -- Dr. Mani Gudavalli http://www.softschools.com 214 636 5824
_______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest
