Operating System - HP-UX
1834650 Members
1894 Online
110069 Solutions
New Discussion

netstat -a |( hanging with many connections being established)

 
nagendra_3
Advisor

netstat -a |( hanging with many connections being established)

Hi ,
OS - HP-UX 11.o
WEbserver - Netscape.
Application Server JRun.

I guess this is more of a networking , and here is what is happening.
The numeber of connections between the JVM and the JRun become like more then 200 and eventually it dies.

tcp 0 0 localhost.51000 localhost.57115 ESTABLISHED

I have more than 200 connections like this.

Any light on this would be helping me to a great extent.
Thank you.
Nag(
Knowledge is Power
6 REPLIES 6
harry d brown jr
Honored Contributor

Re: netstat -a |( hanging with many connections being established)

What dies when you get 200 connections? Netscape Web Server? netstat? Have you "tuned"

http://docs.iplanet.com/docs/manuals/enterprise/40/scaling/perf.htm

live free or die
harry
Live Free or Die
Craig Rants
Honored Contributor

Re: netstat -a |( hanging with many connections being established)

I don't think I understand what you question is. I think you have more than one, netstat -a | hangs and something to do with a Java problem.

As far as the netstat -a | hanging
A pipe from netstat -a will be very slow, I have seen this problem before when I do a netstat -a | more.

Hope this helps.
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
S.K. Chan
Honored Contributor

Re: netstat -a |( hanging with many connections being established)

Yes, netstat -a|more takes forever. Generally netstat -a delay is caused by it trying to resolve every wildcard address (*) as 0.0.0.0

If you put 0.0.0.0 in /etc/hosts it should run faster. Maybe there is a patch to fix this "slowness" for 11.0, I don't know..
Tommy Brown
Respected Contributor

Re: netstat -a |( hanging with many connections being established)

My experience with this has been caused by IP-Name resolution. Use "netstat -an" and you will get back a much quicker response. I found that part of my problem was the DNS in-addr-arpa tables not being complete enough (10.0 scheme) for the resolve to complete without further queries.
Tommy
I may be slow, but I get there !
Anthony deRito
Respected Contributor

Re: netstat -a |( hanging with many connections being established)

I agree with Tommy, bypass DNS with netstat -nr. Will run much faster.

Tony
Anthony deRito
Respected Contributor

Re: netstat -a |( hanging with many connections being established)

Make that netsat -an. (Been looking at roues too long.)

Tony