Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-21-2008, 05:08 AM   #1
LQ Newbie
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
Udp packets dropped while sending in RHEL4


I have a RHEL 4.6 linux server. The kernel is 2.6.9-67.ELsmp. I have a program which creates "n" threads. Each thread sends 160 bytes of data after every 20 msecs through udp sockets to some other server where the data is taken off the socket at the same rate. Each thread owns a separate udp socket. When the no of threads are increased to around 1400 and more, some udp packets are dropped by the OS while sending but in the code sendto command doesn't return any error. I tried tweaking the kernel parameters but it didn't help. Can anyone tell me the reason for this and a possible solution.

thanks in advance
Old 08-21-2008, 10:07 PM   #2
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
UDP is a "best effort" protocol. There is no guarantee of reliability. If the network is congested and packets are dropped, the UDP transport does not detect or compensate for it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dropped packets Doolspin Linux - Software 1 10-22-2006 01:22 PM
UDP: Short Packets: and UDP bad checksum: entries in dmesg minutes2memories Linux - Networking 2 02-26-2006 07:28 PM
encapsulating TCP packets in UDP packets... yoshi95 Programming 3 06-03-2004 02:53 PM
How to receive UDP and ICMP packets, by one UDP socket(PMTUD) myself_rajat Linux - Networking 0 05-28-2004 05:43 AM
dropped packets... sohmc Linux - Software 3 05-29-2003 09:26 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration