Solved

UDP Full Sockets

Posted on 2004-03-23
24
1,909 Views
Last Modified: 2013-12-23
Hi,

We increased the network speed from 10Mbit to 100Mbit and we experiencing lost application packets at our communication sessions between client’s side and our communication application that run at the DS20 Tru64 4.0F UNIX server.

We check “netstat –I ee0” and we don’t have any errors at the server network interface, but when we checked the netstat option using “netstat  -p udp” we got that “full sockets” is not zero.
The output is like the following:

udp:
        12003 packets sent
        48193 packets received
        0 incomplete headers
        0 bad data length fields
        0 bad checksums
        2170 full sockets
        12943 for no port (12916 broadcasts, 0 multicasts)

At the documentation and we saw that:

“When to Tune
Use the netstat -p udp command to check for full sockets. If the output shows many full sockets, increase the value of the udp_recvspace attribute. “

Our questions are:

1.      Can it be related to the communication problem I describe above?
2.      How “full sockets” effects our system?
3.      The udp_recvspace set to 41600 , if we should take the advise from the documentation what should be the proper setup ?
4.      What is the effect of increasing the udp_recvspace parameter ?

Please Advise,

Ran.
0
Comment
Question by:Neeu
24 Comments
 
LVL 61

Expert Comment

by:gheist
ID: 10660322
Communication problem is mixed up duplex setting on at least one end of at least one of ethernet cables involved, host is quite ok, should have no problems handling even gigabit.

netstat -s
netstat -i
will show more significant statistics.
0
 

Author Comment

by:Neeu
ID: 10664965
I used "netstat -i" and "netstat -s", there is no new information, there is no Input or Output errors at the network interfaces.
0
 
LVL 61

Expert Comment

by:gheist
ID: 10665772
Then host is full duplex and switch is half duplex
0
 

Author Comment

by:Neeu
ID: 10665847
How can you say that ?

Both host and switch are Full Doplex - no I/O errors at the network recorded.

0
 
LVL 61

Expert Comment

by:gheist
ID: 10666563
Did you look at switch LEDs ???
Host is full duplex, so it receives while sending
Switch is half duplex, so it drops while sending.
No counters on the host shows this, try pinging something stable from host, like your workstations, if I am right there should be huge losses
0
 

Author Comment

by:Neeu
ID: 10666765
At the UNIX we use at /etc/inet.local the follwoing command in order to fix the NIC configuration :
lan_config -i ee0 -a 0 -s 100 -x 1

As I said there is no errors between Unix to the Switch, I duble checked the configuration and setup both wotking 100Mbit FD.
0
 
LVL 61

Expert Comment

by:gheist
ID: 10669730
look at netstat -na
Proto RecvQ SendQ are first columns
If RecvQ is not 0 - server process lags
If SendQ - network or another communication end is slow
/
recvspace is of little help if receiving process is overloaded.
/
"full socket" is full socket buffer, for receiver program to process.
0
 

Author Comment

by:Neeu
ID: 10859339
Any ideas ?
0
 
LVL 61

Expert Comment

by:gheist
ID: 10861629
do not rise socket buffer, it simply hides performance problems...
0
 
LVL 61

Expert Comment

by:gheist
ID: 10861673
The idea is to adjust (lower) program priorities (aka renice) so they work friendlier, without overloading buffers, i.e lower priority for programm filling socket buffers.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:Neeu
ID: 10866266
The problem is that this is a client server program, so I don't have real control on the client side that send requests.
0
 
LVL 61

Expert Comment

by:gheist
ID: 10866511
Look at netstat - whether problem with full buffers is in application receiving requests or sending responses back so you will heave clear picture whether you need to tune server application or network connection. (if you have slow links and full send buffer - that is expected, only in this case larger buffers may help, and only if full socket send buffer blocks server application, otherwise it is just a small but waste of memory.
If input buffer is full, you need to tune your application for better performance/parallelism (not rise priority)
since I do not know which problem you encounter I cannot help more.

0
 

Author Comment

by:Neeu
ID: 10867887
Thanks for now for your help, we are now in contact with HP (Compaq) experts, the problems I mention above also happen with TCP sessions, and that's very odd seem like a problem with the OS.
The Unix OS not transferring packets trough or losing packets in the way, we saw that application response from the server although they are logged at the applications logs files not sent back to client side.
0
 
LVL 61

Accepted Solution

by:
gheist earned 300 total points
ID: 10868071
Yeah - thats really strange, I'd suggest there is no problem if you feel no problem in applications (but worth investigating if appeared suddenly)
0
 

Author Comment

by:Neeu
ID: 10936968
After installing the latest Patch kit  we over came the problem and now the full sockets is 0 , still the application problem didn't resolve yet.
0
 
LVL 61

Assisted Solution

by:gheist
gheist earned 300 total points
ID: 10938249
now turn on accounting ( turnacct on)
and look for worst performer in each scope.
0
 

Expert Comment

by:modulo
ID: 13275628
PAQed with points refunded (300)

modulo
Community Support Moderator
0
 

Author Comment

by:Neeu
ID: 13276303
I should add we found the source of problem, it was related to the DE600 Network interface that have a low signal and was replaced by DE500 that recover this problem.
We found that in DE600 the long cable about 80 Meters between ethernet switch and NIC couse the problem , altough it shoud be supported .

Thank you gheist  for your support !

Ran.
0
 
LVL 61

Expert Comment

by:gheist
ID: 13277559
kind of my first network gear suggestion ???
0
 
LVL 20

Expert Comment

by:jmcg
ID: 13277590
Neeu -

It might be fair if you asked to have the question re-opened so you can award points to gheist.

jmcg
EE Cleanup Volunteer
0
 

Author Comment

by:Neeu
ID: 13278672
I agree,

I tried to do that but I didn't find the way.
how I re-open the question ?

Ran.
0

Featured Post

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
NSD FAIL 2 85
Cisco 2800 Enable PRI Controller 1 33
Reseller Hosting 2 35
Looking for open port with Telnet 5 12
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

919 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now