After sending a lot, my send() call causes my program to stall completely. How is this possible?
问题 So basically I'm making an MMO server in C++ that runs on linux. It works fine at first, but after maybe 40 seconds with 50 clients it will completely pause. When I debug it I find that basically the last frame its on before it stops responding is syscall() at which point it disappears into the kernel. Once it disappears into the kernel it never even returns a value... it's completely baffling. The 50 clients are each sending 23 bytes every 250 milliseconds. These 23 bytes are then