Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

TCP connections on AIX

Posted on 2009-05-04
12
Medium Priority
?
681 Views
Last Modified: 2013-11-17
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
0
Comment
Question by:vishwakarmak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
  • 2
12 Comments
 
LVL 62

Assisted Solution

by:gheist
gheist earned 800 total points
ID: 24298459
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
 

Author Comment

by:vishwakarmak
ID: 24298528
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
 

Author Comment

by:vishwakarmak
ID: 24298543
Also ulimit -n is 2000
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 68

Accepted Solution

by:
woolmilkporc earned 1200 total points
ID: 24298893
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
 
LVL 62

Expert Comment

by:gheist
ID: 24298937
You have to provide substantial logs from application crash - what crashed - java or webserver inside java?
0
 

Author Comment

by:vishwakarmak
ID: 24299009
Its the Java that is crashing, So let me talk to the app team for logs
0
 

Author Comment

by:vishwakarmak
ID: 24299018
Only reason why I am so concerned abt the TCP connections is that when ever TCP  connections are increasing exponentiallys the app crashes
0
 
LVL 62

Expert Comment

by:gheist
ID: 24299028
There is no logs for java crashing.
There should be core file.
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 24299097
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
 
LVL 62

Expert Comment

by:gheist
ID: 24299130
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
 

Author Comment

by:vishwakarmak
ID: 24299326
:)
0
 
LVL 62

Expert Comment

by:gheist
ID: 24299385
Will be good if you figure out what exactly is crashing...
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question