Sponsored Content
Top Forums UNIX for Advanced & Expert Users 30 tcp connections Established for a while and after a few minutes are close Post 303030296 by alexcol on Thursday 7th of February 2019 07:43:04 PM
Old 02-07-2019
OK, 10.80.1.26 is like a connection server with other platforms,this is the server i am connected to, wchich i use to restart the 30 connections to server 10.81.248.79 (Content provider) which by means those 30 connections read some data)

so client use those 30 connections 10.81.248.79 53008

by menas of these 30 connections any process connect to a Database table, then convert some records into frameworks which are after sent to the content provider

What ive got so far is this:
1 We escalata client (client prider) and the see no problem but the problem is my site because for some reason close the connetion: closed by client. Drop session, for instance

Code:
[2019-02-07 11:13:36]   msisdn: 573017928299  amount:       2000  dateTime: 2019-02-01 18:36:27 

[2019-02-07 11:13:36]   msisdn: 573176599559  amount:       3000  dateTime: 2019-02-01 06:59:59 

[2019-02-07 11:13:36]   msisdn: 573132365842  amount:      11000  dateTime: 2019-02-01 12:24:30 

[2019-02-07 11:13:36] Connection on socket: 24 closed by client. Drop session.

[2019-02-07 11:13:36] Connection on socket: 20 closed by client. Drop session.

[2019-02-07 11:13:36] Connection on socket: 23 closed by client. Drop session.

2 they and me tested connectivity by telnet:

Code:
telnet 10.81.248.79 53003
Trying 10.81.248.79...
Connected to 10.81.248.79.
Escape character is '^]'.

3 They boldly say the problem is in my side, the suggest check up firewalls issue, network so on.
4 I dont have the experience and knowlede about networking issue if it is the real problem

I appreciate your help in advanced to give me some lshed light what i should don next





What is 10.80.1.26 ?
What is 10.81.248.79 ?
What is port 53008 ?
What service is this?
What happens when you try connecting to the server?
 

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
ftpshut(1M)						  System Administration Commands					       ftpshut(1M)

NAME
ftpshut - close down the FTP Servers at a given time SYNOPSIS
ftpshut [-V] [-v] [-l min] [-d min] time [warning-message...] DESCRIPTION
The ftpshut command provides an automated shutdown procedure that the superuser can use to notify FTP users when the FTP Server is shutting down. Ten minutes before shutdown, or immediately if the value of time is less than ten minutes, any new FTP Server connections will be disabled. You may adjust the shutdown of new FTP Server connections by means of the -l option. Five minutes before shutdown, or immediately if the value of time is less than five minutes, all current FTP connections will be discon- nected. You may adjust the shutdown of current FTP connections by means of the -d option. The ftpshut command creates shutdown message files that the FTP Server uses to determine when to shutdown. Separate shutdown message files are created in the anonymous and virtual host FTP Server areas, in addition to the system wide shutdown message file. Once the shutdown occurs, the server continues to refuse connections until the appropriate shutdown message file is removed. This normally is done by using the ftprestart(1M) command. The location of the shutdown message file is specified by the shutdown capability in the ftpaccess file. The following magic cookies are available: %s The time system is going to shut down. %r The time new connections will be denied. %d The time current connections will be dropped. %C The current working directory. %E The maintainer's email address as defined in the ftpaccess file. %F The free space in the partition of CWD, in kilobytes. %L The local host name. %M The maximum allowed number of users in this class. %N The current number of users in this class. %R The remote host name. %T The local time (form Thu Nov 15 17:12:42 1990). %U The username given at login time. OPTIONS
The ftpshut command supports the following options: -V Display program copyright and version information, then terminate. -d min The time ahead of shutdown, in minutes, that existing connections will be disconnected upon completion of their current or next (if idle) FTP request. -l min The time ahead of shutdown, in minutes, that new connections will be refused. -v Verbose. Output the pathname of the shutdown message files created. OPERANDS
The ftpshut command supports the following operands: time The time at which ftpshut will bring the FTP Servers down. time can have a value of now, which indicates an immedi- ate shutdown. Alternatively, time can specify a future time in one of two formats: +number or HHMM. The first form brings the FTP Server down in number minutes. The second brings the FTP Server down at the time of day indicated, using a 24-hour clock format. When using the absolute time format, you can only specify times between now and 23:59. warning-message The message to display that warns of the imminent shutdown. The warning-message will be formatted at 70 characters wide. ftpshut knows the actual string length of the magic cookies. If no warning-message is supplied, the default message "System shutdown at %s" is used. EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/etc/ftpd/ftpaccess /etc/ftpd/ftpservers ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWftpu | +-----------------------------+-----------------------------+ |Interface Stability |External | +-----------------------------+-----------------------------+ SEE ALSO
in.ftpd(1M), ftprestart(1M), shutdown(1M), ftpaccess(4), ftpservers(4), attributes(5) SunOS 5.10 1 May 2003 ftpshut(1M)
All times are GMT -4. The time now is 06:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy