Solved

UDP Full Sockets

Posted on 2004-03-23
24
1,912 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 62

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 62

Expert Comment

by:gheist
ID: 10665772
Then host is full duplex and switch is half duplex
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: 10665847
How can you say that ?

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

0
 
LVL 62

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 62

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 62

Expert Comment

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

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
 

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 62

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 62

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 62

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 62

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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
f5 Persistence 14 63
Unmanaged Switches for Optimized Network Speeds 7 51
Receiving wifi on an underground station 22 96
svi stops eigrp advertisement 13 33
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

830 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