TCP connections on AIX

Hello
Our BEA app team is complaining about there app crashing all the time. When I checked out and ran an  lsof, There is many open files and many tcp connections open which actually crashed the app
How do I exactly check the no of TCP connections and how can I set an alert for
TCP_connections > 500
Thanks
vishwakarmakAsked:
Who is Participating?
 
woolmilkporcCommented:
How can open TCP connections crash an application? Do you get error messages pointing in that direction?
What's in the errorlog?
Does netstat -m show failed mallocs? Clear the statistics with netstat -Zm and check what's going on.

wmp



0
 
gheistCommented:
ulimit -n in bea environment shows how many files+connections it can use.
you can double that with smitty on and on.

can you see connection status in your lsof?
are they ESTABLISHED or in some other state?
"no" command can reduce damage from those half-connections also.
0
 
vishwakarmakAuthor Commented:
gheist,
Thanks or a quick reply, Yes I see most of them in ESTABLISHED and some in WAIT state. NowI dont know why there are so many sockets open(TCP connections) is there any way to limit the connection count.
Thank
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
vishwakarmakAuthor Commented:
Also ulimit -n is 2000
0
 
gheistCommented:
You have to provide substantial logs from application crash - what crashed - java or webserver inside java?
0
 
vishwakarmakAuthor Commented:
Its the Java that is crashing, So let me talk to the app team for logs
0
 
vishwakarmakAuthor Commented:
Only reason why I am so concerned abt the TCP connections is that when ever TCP  connections are increasing exponentiallys the app crashes
0
 
gheistCommented:
There is no logs for java crashing.
There should be core file.
0
 
woolmilkporcCommented:
The relation might as well be inverse - a bug in the application causes the number of connections to increase, finally the same bug causes the app. to crash.

wmp
0
 
gheistCommented:
I had Windows calculator crashing when installing BEA JRockit 3 long time ago....
Maust be BEA app team complaining about app crashing 8 years ago already.
0
 
vishwakarmakAuthor Commented:
:)
0
 
gheistCommented:
Will be good if you figure out what exactly is crashing...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.