I have a multicast server which is continuously sending out multicast packets. There is one listener that is listening to this data on the same machine (loop-back multicast). When only one instance of listener is running I see no packet drops but once I run multiple instances, I see packets being dropped by both instance of the listener. Can somebody explain why this is happening and whether there is any opensource solution to tackle this problem? Thanks in advance!
Packet drops in multicast when multiple instance of listner are running
3.5k Views Asked by bdubey At
1
There are 1 best solutions below
Related Questions in NETWORKING
- kernel module does not print packet info
- Packet drops in multicast when multiple instance of listner are running
- Timing packets on a traffic server
- How to use Espresso Idling Resource for network calls
- Dummynet does not match on flows
- Sending a notification from OS X to iOS
- Swift ios viewDidLoad or viewDidAppear
- Update player list on all clients on new connection
- Issues regarding multiplayer networking: input
- nmap does not show all open ports
- Getting and Sending Data between a Server and Client
- Read file from local PC from network deployed app to InputStream
- Does iOS block a URL if we couldn't connect to the URL for 'n' times?
- Is Socket.Available guaranteed to throw a SocketException on disconnect?
- android out of cell service
Related Questions in NETWORK-PROGRAMMING
- Packet drops in multicast when multiple instance of listner are running
- Get packet that's being routed
- Timing packets on a traffic server
- SNMP :snmpwalk response from NAS timeout issue
- Send Http request at specific time
- Swift - Get device's WIFI IP Address
- Construct and label a uniform graph in NetworkX using dictionaries?
- Diffie Hellman with authentication
- traversing a graph in spark-graphx via edge properties
- Setting proxy for java application
- Java sending handshake packets to minecraft server
- How to use different network interface for signaling & media in WebRTC app?
- Is it guaranteed that an RST packet will be sent when a process terminates?
- Does a process waiting on a network response take cpu/ram resources?
- Python socket stays blocked on socket.recv() when client expects data
Related Questions in UDP
- UDP congestion control in NS2
- Packet drops in multicast when multiple instance of listner are running
- Netty loses udp packets at the beginning of the communication
- iOS "NSLocalizedDescription=Broken pipe" Error For UDP
- lua udp not working between computers
- Issues regarding multiplayer networking: input
- Implementing VOIP over udp, what is the approach to take when the player cannot cope up with received packet's speed
- Detecting incoming port for TFTP data?
- Is Winsock error 10054 (WSAECONNRESET) "normal" with UDP to/from localhost?
- PHP UDP socket memory leak
- What is the effect of the pseudo header in UDP?
- can we open an UDP conection in javascript
- UDP sending and receiving lists
- using Visual Basic 2013 and simple tcp client/server to implement lan game
- Manually send to iperf via UDP socket? (C++)
Related Questions in MULTICAST
- psuedo TCP multicast with os.dup2() in python?
- Packet drops in multicast when multiple instance of listner are running
- How can two processes which bind on the same port receive the same message?
- Win8: DatagramSocket.send to multicast addr silently failes
- Raw socket multicasting
- Setting up RMI ehcache replication with proper multicast address setting
- Why are no inputs showing up in SSIS multicast transformation?
- Why is MulticastSocket.setNetworkInterface() much slower using Java 8 runtime?
- Multicasting in C: Binary does not receive when using addrinfo
- stucture data sending using udpmulticasting in C#
- Frequent reports of jgroups dropped messages during a performance test
- Java - reduce Time-To-Live of UDP packet by sending it via MulticastSocket?
- MulticastSocket and Runnable
- Multicast without going through the primary gateway?
- Python asyncio: How to receive multicast responses?
Related Questions in PACKET-LOSS
- Packet drops in multicast when multiple instance of listner are running
- Get packet loss from Open Flow switch
- tc (netem) - reported loss is different to set loss
- Packet loss test with javascript
- QT - JAVA socket loss data
- Debug ideas to investigate on packets getting dropped?
- TCP packets loss ratio
- Is there any way to reset the tunnel in iOS using NE Packet Tunnel Provider when switch between wifi and mobile data happens?
- How to have WebRTC Stream CD Quality Audio With Minimal Packet Loss
- Windows TCP connection failures and retransmissions
- Perl Tcp transfer not consistent
- PSNR calculation in H.264 packet loss
- RTP video issue related to Jitter and packet loss depending on odd network status
- UDP tuning linux
- MQTT QoS 1 Ordering
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
UDP does not provide any reliability mechanisms. This means that if a layer 3 packet is lost, there is no way to recover it.
On a localhost connection, packets can be lost by queues overflowing. The transmit queue can overflow if the application temporarily writes data faster than the OS can service the queue. Likewise, the receive queue can overflow if the application does not read data fast enough. With two listeners, the system is doing more work, and thus overflows are more likely.
In Linux, netstat -su will show you RcvbufErrors and SndbufErrors. You can increase the size of these buffers using setsockopt SO_SNDBUF and SO_RCVBUF. These values are limited by /proc/sys/net/core/wmem_max and rmem_max.
In Windows, it appears the same socktopts are available, and the defaults can be changed as is done here.