AnsweredAssumed Answered

too many open files

Question asked by ahajdu on Mar 9, 2011
Latest reply on Mar 11, 2011 by mrogers
Hi, can you help me?

I wanted to delete  all Deleted Item in Alfresco  (User Profile - Manage Deleted Items - Show All,  Delete  Listed Items), but I got an error message:  "… rollback required" 

Then I tried to restart Alfreso on the server with command:  shutdown -r now. 
Since then I can not restart Alfresco, I have got the error message below:


root@ubuntu:/opt/alfresco/tomcat/bin# bash catalina.sh stop
Using CATALINA_BASE:   /opt/alfresco/tomcat
Using CATALINA_HOME:   /opt/alfresco/tomcat
Using CATALINA_TMPDIR: /opt/alfresco/tomcat/temp
Using JRE_HOME:       /usr/lib/jvm/java-6-sun/
Mar 6, 2011 7:37:56 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:529)
        at java.net.Socket.connect(Socket.java:478)
        at java.net.Socket.<init>(Socket.java:375)
        at java.net.Socket.<init>(Socket.java:189)
        at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:421)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:337)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)


There are  "too many open files".  I have already changed the limit for open files in operation system (new limit is 50.000), but I still can not start Alfresco.
There ar no limit for inodes.

I use Alfresco 3.3 since July 2010, there was not such a problem before

Do you have any idea?  What is the problem? How can I restart Alfresco?

Thanks
HajduA

Outcomes