I'm investigating an issue where the application (Java based) didn't receive the whole message which was split on two TCP segments. I have a trace that proves that both segments was sent to the server.
From my investigation, I didn't find any dropped packets on the NICs but I noticed the following on netstat -s:
16 packets pruned from receive queue because of socket buffer overrun
845 packets collapsed in receive queue due to low socket buffer
I assume that the lost TCP segment could be one of these 16 pruned packets.
The question(s) here is the following:
Does it make sense to try to tune tcp_rmem? Should I expect to a well-tuned server/network pruned packets to be 0?