I have a Photon application, lets call it S1.
S1 generates an unreliable UDP message that is ~1400 bytes every 50ms, and gets sent to all connecting clients. I'm testing right now with 40 clients.
Doing this results in error message: "Disconnecting Peer=T:ClientPhotonPeer,ConnId:2,ip:34.217.214.13:63783: Send buffer full"
Using wireshark on my local machine as 1 of the clients, I see that the ~1400 bytes message is being fragmented into 2 packets, 1 of 1200 bytes and the other as the rest.
If I decrease the message size to <1200 bytes (i.e. lower that the configured MTU), this problem goes away.
Some questions
1) why this is happening only for fragmented packets? I generate this message every 50ms, which seems like enough time to send out both packets successfully
2) I wondered if the "DataSendingDelayMilliseconds" was causing some packets to build up. However, I set it to 0 and the problem persists. If I set "DataSendingDelay" to 0, does that translate to "send as soon as you get it"?
↧