If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Catalina log files

Started by spikyman, 22 Nov 2013 04:51:05 AM

Previous topic - Next topic

spikyman

Hi All,
We have been checked our logs on Cognos 10.2.1. We run it on Linux Red Hat 9.5.

We found one error that repeats all the time on catalina log files.

There is all the time this error :


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.AbstractPlainSocketImpl.accept(Unknown Source)

at java.net.ServerSocket.implAccept(Unknown Source)

at java.net.ServerSocket.accept(Unknown Source)

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(Unknown Source)



Could anyone please help me with it? I didn't find any combination of this error with cognos.

Cognos is working properly, only sometimes it just crash down - maybe it is or maybe this error  isn't  reason of this.

But it makes our logs too big - some days it takes over 100 MB every day.
Thank you for helping me.

Grim

What are your ulimits set too?

Based on the following message in the error:
java.net.SocketException: Too many open files

It seems that it might be too low for the "cognos" user.
"Honorary Master of IBM Links"- MFGF
Certified IBM C8 & C10 Admin, Gamer, Geek and all around nice guy.
<-Applaud if my rant helped! 8)

spikyman

when I run ulimit -Sa I get:

core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 257124
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 257124
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

When I run ulimit -Ha I get:


core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 257124
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) unlimited
cpu time               (seconds, -t) unlimited
max user processes              (-u) 257124
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

I didn't set any of those settings. Is it ok?


prikala

"open files" is probably the cause of problem.
I think you should increase it to at least 65536 (both hard & soft).

Grim

Quote from: prikala on 25 Nov 2013 03:46:43 AM
"open files" is probably the cause of problem.
I think you should increase it to at least 65536 (both hard & soft).

Quoteopen files                      (-n) 1024
^
Yup!
"Honorary Master of IBM Links"- MFGF
Certified IBM C8 & C10 Admin, Gamer, Geek and all around nice guy.
<-Applaud if my rant helped! 8)