05-22-2003
TCP/IP send getting slower
Hi,
We have developed a server program using TCP/IP Communication to communicate with another client program. After running for some days we find the TCP/IP connection from the server program is getting slower ie, the messages are not send quickly to the client.
What i mean to say is since the tcp/ip send() function in the server program is in the blocked mode, we suspect the reason for the slowness in sending the message to the client program could be because of the TCP buffer (in the server)getting full and the clients failure to pull the messages from the buffer in time.All these has being coded in a posix thread. Once the buffer is full, the send() function is blocked until the client pulls some messages from the buffer, the send() doesn't return.
We have been perplexed by this problem for quite a long time. we intially though it could be the network problem..but the network is 100Mbs..
The hardware used is sun solaris machine..
I will be very grateful if some one can advice us in finding a solution for this problem.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am running RH 7.1 and i am always remotely logged in working on a database. I got php and mysql running and then as the each week goes my rsh, or secure telnet, and any other remote session slows to become extremly choppy. If i am at teh box my i am fine the computer is not bogged down at all,... (5 Replies)
Discussion started by: macdonto
5 Replies
2. UNIX for Advanced & Expert Users
Hi,
We have developed a server program using TCP/IP Communication to communicate with another client program. After running for some days we find the TCP/IP connection from the server program is getting slower.
What i mean to say is since the send() function in the server program (it is... (2 Replies)
Discussion started by: rajesh_puru
2 Replies
3. Solaris
After my big disaster, I'm restoring from tape on my Sun box. This is the second time I've used 'ufsrestore' with this DEC TZ88 SCSI DLT drive. The last time was for a migration from one box to another. Both the last time and this time, the restore has taken a hell of a lot longer than the... (4 Replies)
Discussion started by: deckard
4 Replies
4. IP Networking
Requirements:
A server program should read a file and send the message to the client . if the file is not there, then switch to the receive part of the same program and receive any messages from the socket. If no messages to receive then switch to send part of the program to... (2 Replies)
Discussion started by: Rajeshsu
2 Replies
5. UNIX for Advanced & Expert Users
Hi all,
for test reasons I tried the following two one-liners:
time awk '{print $4}' T_64xSC_128RW_K500.dat > /dev/nulland
time cut -d" " -f6 T_64xSC_128RW_K500.dat > /dev/nullThe file contains approx. 250k lines. awk does it in 0.15 secs (real), cut in 0.44. The user time has about the... (3 Replies)
Discussion started by: BandGap
3 Replies
6. Linux
Hello everyone, i'm having a problem compiling an application i'm developing.
For a month, while developing, i did lots of compilations to test it. While compiling, i noticed gcc did it pretty slow, but gave it no importance.
I'm using ubuntu 10.04 32bits, and my pc has:
- Dual core intel... (1 Reply)
Discussion started by: adadon
1 Replies
7. Solaris
Hi All,
We run Many jobs evryday using Autosys. Sometimes due to various reason we got to run the job from terminal as well (using nohup).
We observed that the job running through terminal(nohup) takes much less time then the autosys (for same job).
What can be the possible reason for such... (1 Reply)
Discussion started by: kg_gaurav
1 Replies
8. Solaris
I have problem with oracle solaris 10 running on oracle sparc T4-2 server.
Os information: 5.10 Generic_150400-03 sun4v sparc sun4v
Output from tcpstat.d script
TCP bytes: out outRetrans in inDup inUnorder
6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies
9. IP Networking
Hello All,
I am very new to socket programming and client server architecture. I have to write a client which will send some data to server and server will display it on its console. I am ready with both client and server but my problem is with packetizing of data --
I have... (1 Reply)
Discussion started by: anand.shah
1 Replies
LEARN ABOUT SUNOS
in.echod
in.echod(1M) System Administration Commands in.echod(1M)
NAME
in.echod - UDP or TCP echo protocol service daemon
SYNOPSIS
in.echod
FMRI
svc:/internet/echo:default
DESCRIPTION
FMRI stands for Fault Management Resource Identifier. It is used to identify resources managed by the Fault Manager. See fmd(1M) and
smf(5).
The in.echod service provides the server-side of the echo protocol. This protocol is used for debugging and bandwidth measurement and is
available on both TCP and UDP transports, through port 7.
The in.echod service is an inetd(1M) smf(5) delegated service. The in.echod detects which transport is requested by examining the socket it
is passed by the inetd daemon.
TCP-based service
Once a connection is established, the in.echod echoes any data received from the client back to the client. The server echoes data
until the client program terminates the connection.
UDP-based service
The in.echod listens for UDP datagrams. When a datagram is received, the server creates a UDP datagram containing the data it received
and sends it to the client.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNW |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
inetd(1M), attributes(5), smf(5)
RFC 862
SunOS 5.10 23 Aug 2004 in.echod(1M)