Re: [Resin-interest] java.util.zip.ZipException: error in opening zip file

2012-02-07 Thread Knut Forkalsrud
You have too many open files.  Try man ulimit and man lsof.

-Knut


On Tue, Feb 7, 2012 at 10:17, Manidhar gudavalli mani...@gmail.com 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
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] java.util.zip.ZipException: error in opening zip file

2012-02-07 Thread Manidhar gudavalli
I have these settings in my conf  files for ulimits.

vi /etc/security/limits.conf

* soft nofiles 1024000
* hard nofiles 1024000

rootsoftnofiles 1024000
roothardnofiles 1024000

 cat /proc/sys/fs/file-max
2188737


On Tue, Feb 7, 2012 at 12:56 PM, Manidhar gudavalli mani...@gmail.comwrote:

 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 
 knut-cau...@forkalsrud.org wrote:

 You have too many open files.  Try man ulimit and man lsof.

 -Knut


 On Tue, Feb 7, 2012 at 10:17, Manidhar gudavalli mani...@gmail.comwrote:

 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
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest








-- 
Dr. Mani Gudavalli
http://www.softschools.com
214 636 5824
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest