One Star

Error in catalina.out

i see the below error so many times in the catalina.out. The size of this file grew to more than 5 GB.

Apr 30, 2012 2:10:53 AM org.apache.tomcat.util.net.JIoEndpoint$Acceptor run
SEVERE: Socket accept failed
java.net.SocketException: Too many open files
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)
at java.net.ServerSocket.implAccept(ServerSocket.java:462)
at java.net.ServerSocket.accept(ServerSocket.java:430)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:61)
at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:352)
at java.lang.Thread.run(Thread.java:662)
Apr 30, 2012 2:10:53 AM org.apache.tomcat.util.net.JIoEndpoint$Acceptor run
SEVERE: Socket accept failed
java.net.SocketException: Too many open files
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)
at java.net.ServerSocket.implAccept(ServerSocket.java:462)
at java.net.ServerSocket.accept(ServerSocket.java:430)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:61)
at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:352)
at java.lang.Thread.run(Thread.java:662)
Apr 30, 2012 2:10:53 AM org.apache.tomcat.util.net.JIoEndpoint$Acceptor run

-rw-r--r-- 1 root root 0 Apr 20 14:16 host-manager.2012-04-20.log
-rw-r--r-- 1 root root 4652 Apr 20 14:17 localhost.2012-04-20.log
-rw-r--r-- 1 root root 9331 Apr 25 15:57 catalina.2012-04-25.log
-rw-r--r-- 1 root root 10581 Apr 25 17:43 localhost.2012-04-25.log
-rw-r--r-- 1 root root 1999028224 Apr 28 23:59 catalina.2012-04-28.log
-rw-r--r-- 1 root root 999424 Apr 29 04:34 catalina.2012-04-29.log
-rw-r--r-- 1 xecct7m yeciss 30621 Apr 30 10:27 catalina.out_04_30_2012
-rw-r--r-- 1 root root 5768419576 Apr 30 11:11 catalina.out
-rw-r--r-- 1 root root 5789944 Apr 30 11:11 catalina.2012-04-30.log
7 REPLIES
One Star

Re: Error in catalina.out

Hi
Welcome to Talend Community!
There is 'open files' limit under linux.
Type 'ulimit -a' in linux terminal to check the number of open files.
# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 7168
virtual memory (kbytes, -v) unlimited

Use command 'ulimit -n 4096' to increase it.
Regards,
Pedro
One Star Kun
One Star

Re: Error in catalina.out

Hi,
I am not sure how to get along to use post.
I need an Urgent help on the paticular error message that I receive within the catalina.out within AIX machine.The size of the log files keeps growing on in GB with this error message:
org.apache.tomcat.util.net.JIoEndpoint$Acceptor run
SEVERE: Socket accept failed
Throwable occurred: java.lang.NoClassDefFoundError: org/bouncycastle/crypto/digests/SHA1Digest
at org.bouncycastle.jce.provider.JDKMessageDigest$SHA1.<init>(Unknown Source)
at java.lang.J9VMInternals.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1345)
at java.security.Provider$Service.newInstance(Provider.java:880)
at org.apache.harmony.security.fortress.Engine.getInstance(Engine.java:145)
at java.security.MessageDigest.getInstance(MessageDigest.java:75)
at com.ibm.jsse2.qb.i(qb.java:66)
at com.ibm.jsse2.ic.a(ic.java:32)
at com.ibm.jsse2.ab.<init>(ab.java:3)
at com.ibm.jsse2.gb.a(gb.java:92)
at com.ibm.jsse2.gb.<init>(gb.java:313)
at com.ibm.jsse2.ib.<init>(ib.java:423)
at com.ibm.jsse2.tc.f(tc.java:20)
at com.ibm.jsse2.tc.e(tc.java:627)
at com.ibm.jsse2.rc.a(rc.java:39)
at com.ibm.jsse2.rc.accept(rc.java:38)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket(JSSESocketFactory.java:178)
at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:352)
at java.lang.Thread.run(Thread.java:736)

Thanks,
Kun
One Star

Re: Error in catalina.out

Hi Kun
Welcome to Talend Community!
Which version of tomcat do you use? Maybe the jar file is corrupted.
In fact, this issue is not related to Talend. You might find help from Tomcat.
Regards,
Pedro
One Star Kun
One Star

Re: Error in catalina.out

Hi Pedro,
Thank you for reply.
I would certainly look into to posting this issue on Tomcat.
Tomcat version is 6.0.35
Rgards,
Kun
One Star

Re: Error in catalina.out

We have the same problem (Talend 5.02, Apache 6) and we reached the limit of occupation in our local disk. Tac stop to run jobs..We have had to clear the catalina log. What could make the opened file grow so hight (more than 1024 files..)?
One Star

Re: Error in catalina.out

Hi Kun,
I am facing the same issue as you did. Did you find a solution for it
One Star

Re: Error in catalina.out

Hi,
I am not sure how to get along to use post.
I need an Urgent help on the paticular error message that I receive within the catalina.out within AIX machine.The size of the log files keeps growing on in GB with this error message:
org.apache.tomcat.util.net.JIoEndpoint$Acceptor run
SEVERE: Socket accept failed
Throwable occurred: java.lang.NoClassDefFoundError: org/bouncycastle/crypto/digests/SHA1Digest
       at org.bouncycastle.jce.provider.JDKMessageDigest$SHA1.<init>(Unknown Source)
       at java.lang.J9VMInternals.newInstanceImpl(Native Method)
       at java.lang.Class.newInstance(Class.java:1345)
       at java.security.Provider$Service.newInstance(Provider.java:880)
       at org.apache.harmony.security.fortress.Engine.getInstance(Engine.java:145)
       at java.security.MessageDigest.getInstance(MessageDigest.java:75)
       at com.ibm.jsse2.qb.i(qb.java:66)
       at com.ibm.jsse2.ic.a(ic.java:32)
       at com.ibm.jsse2.ab.<init>(ab.java:3)
       at com.ibm.jsse2.gb.a(gb.java:92)
       at com.ibm.jsse2.gb.<init>(gb.java:313)
       at com.ibm.jsse2.ib.<init>(ib.java:423)
       at com.ibm.jsse2.tc.f(tc.java:20)
       at com.ibm.jsse2.tc.e(tc.java:627)
       at com.ibm.jsse2.rc.a(rc.java:39)
       at com.ibm.jsse2.rc.accept(rc.java:38)
       at org.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket(JSSESocketFactory.java:178)
       at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:352)
       at java.lang.Thread.run(Thread.java:736)

Thanks,
Kun
Hi Kun, Did you find the cause for this? I am facing the same problem. Thanks.