springtg / lidgren-network-gen3

Automatically exported from code.google.com/p/lidgren-network-gen3
0 stars 0 forks source link

When using 250+ clients I see a lot of disconnects #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Michael,

I'm currently working on a 2d platformer game server which should handle 
"loads" of clients. Currently I'm trying to connect with some clients like this:

1 Clients is a real client which can move around a map. Every time he moves he 
sends out 1 message.

Then I join with ~200 clients (in batches of 20). They send out 1 location 
message once they join and then remain silent.

So basically all clients are just sitting there now not sending any location 
info or anything.

Now however, when I join with some more clients (around 20) loads of clients 
start to disconnect. Is this something that is related to lidgren itself? or 
could this have something to do with the underlying sockets not getting 
"heartbeated" due to the processor power required for handling new clients?

(Please see attached screenshot for some more information)

Kind regards,

Devedse

Original issue reported on code.google.com by DavyDavi...@gmail.com on 23 Jan 2014 at 6:34

Attachments:

GoogleCodeExporter commented 9 years ago
Please don't report this as an issue; post it on the forum instead. I would 
guess your clients get starved for cpu and fail to respond to heartbeats; are 
you sleeping properly in your clients? Can you try to use more (physical) 
machines?

Original comment by lidg...@gmail.com on 23 Jan 2014 at 9:33

GoogleCodeExporter commented 9 years ago
Sorry, I couldn't really find the forum anymore on google code. I'll try to use 
some more machines in the future to see how that works out.

If any problems still occur I'll come back to it.

Thanks

Original comment by DavyDavi...@gmail.com on 24 Jan 2014 at 12:49

GoogleCodeExporter commented 9 years ago
It's at https://groups.google.com/forum/#!forum/lidgren-network-gen3 :-)

Original comment by lidg...@gmail.com on 24 Jan 2014 at 7:54