Sponsored Content
Top Forums UNIX for Advanced & Expert Users 30 tcp connections Established for a while and after a few minutes are close Post 303030200 by alexcol on Thursday 7th of February 2019 05:25:51 AM
Old 02-07-2019
30 tcp connections Established for a while and after a few minutes are close

Good morning, I need your help please

After Restarting Aps or connection, these are connections


Code:
tcp        0      0  10.80.1.26.57597       10.81.248.79.53008      ESTABLISHED
tcp        0     47  10.80.1.26.57607       10.81.248.79.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57575       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57598       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57584       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57582       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57585       10.81.248.82.53008      ESTABLISHED
tcp        0     47  10.80.1.26.57588       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57590       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57591       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57619       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57580       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57582       10.81.248.82.53008      ESTABLISHED
tcp        3      0  10.80.1.26.57586       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57624       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57578       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57576       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57614       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57581       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57621       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57595       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57610       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57583       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57587       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57592       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57594       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57602       10.81.248.82.53008      ESTABLISHED
tcp        3      0  10.80.1.26.57593       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57617       10.81.248.82.53008      ESTABLISHED
tcp        0      0  10.80.1.26.57605       10.81.248.82.53008      ESTABLISHED


Code:
provisio:/export/home/provisio>netstat -an|grep -c 10.81.248.82
30

After 5 minutes now there are no more connections:

Code:
provisio:/export/home/provisio>netstat -an|grep -c 10.81.248.79
0

I dont know where to start do diagnose the root cause; Ive trying to google in the web and one theory i found is that the client side has not data to sent so the server close the conection thereafter.

I would appreciate your help in advanced

--- Post updated at 05:25 AM ---

Sorry, I correct the last Threat grepping 10.81.248.82

Code:
netstat -an|grep -c 10.81.248.82
0

 

10 More Discussions You Might Find Interesting

1. Programming

C Prog to close a socket in established state

I have a SUN environment running an WebLogic that communicates w/a 3rd party running IIS. When the IIS site goes down (frequently), I am stuck with sockets in an ESTABLISHED state, and cannot seem to figure out how to avoid this. No exceptions are thrown as I can still open connections to the IIS... (1 Reply)
Discussion started by: teledelux
1 Replies

2. UNIX for Dummies Questions & Answers

close tcp port

Hello, I have a service running (ODBC) and every now and then it will hang and I will have to stop and restart the service. The problem is when I stop the service, it indeed stops the service, but netstat reports a tcp port still open with the fin_wait_2 status. Then I must close the client... (1 Reply)
Discussion started by: raidzero
1 Replies

3. Programming

close existing tcp connection in C

Hello. I would like to know how to close an existing tcp socket. I have read some stuff and learned how to create a socket and then close it but have not found anything about how to close an existing tcp socket created by another application. The situation is this: I have an ODBC server running and... (6 Replies)
Discussion started by: raidzero
6 Replies

4. Red Hat

How to kill all active tcp connections from an IP?

How to kill all active tcp connections from an IP? I am using CentOS (3 Replies)
Discussion started by: an00p
3 Replies

5. Solaris

How to kill the TCP ESTABLISHED connection in netstat

Hello, Actually there are some bugs in application which does not close the TCP connection to other server though CORBA. We need to kill that ESTABLISHED connections as new connection are not happeneing as the allocated ports were used and showing as ESTABLISHED Is there any... (4 Replies)
Discussion started by: GIC1986
4 Replies

6. Solaris

Established connections causing lag?

I'm not to sure how to go about this questions, so I will just ask it and then get criticized. How many Established connections should a V440 be able to support? (4 Replies)
Discussion started by: adelsin
4 Replies

7. Programming

TCP trashing data on application close

I am using c to send data to a socket with the following commands: socket = socket(AF_INET, SOCK_STREAM, ptrp->p_proto); ioctl(socket, FIONBIO, (char *)&on); connect(socket) send(socket,data) shutdown(socket, SHUT_WR); recv(socket) //ready last of data waiting on the port //note this is... (3 Replies)
Discussion started by: metrix
3 Replies

8. IP Networking

How to test max number of tcp connections

Hello, I wanna test max tcp connection value. Please suggest how to do that. Thanks. (2 Replies)
Discussion started by: gstoychev
2 Replies

9. Solaris

many tcp connection in close-wait

Hi, I use solaris Unix . I find there is some problem in application and it generate many "close-wait" tcp connect and stay in the server . it is generate by process id 7740 root@XX # netstat -an | grep CLOSE_WAIT | wc -l 285 root@XX # netstat -an | grep CLOSE_WAIT 10.158.35.4.34805 ... (2 Replies)
Discussion started by: abcdef
2 Replies

10. IP Networking

Need to know reason for connections closed in netstat -p tcp

Hello netstat -p give below 6634176 connections as closed.How do we trace that which all connections are being closed on the server? 1366888371 data packet headers correctly predicted 1195906 connection requests 5227320 connection accepts 5992919... (6 Replies)
Discussion started by: Vishal_dba
6 Replies
All times are GMT -4. The time now is 09:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy