Limit of 3541 sockets/users

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

User avatar
frcol
Posts: 99
Joined: 22 Aug 2010, 09:26
Location: Brazil
Contact:

Limit of 3541 sockets/users

Postby frcol » 06 Mar 2019, 18:57

I´m doing a stress test and realized that SFS stop receiving new connections at 3541 exactly.

I´m using a Flash client connecting Users (3 different access point) and sending public message.

When the Admin shows 3541 users and sockets, it stop recieving new users.

In LOG I found:

INFO | jvm 1 | 2019/03/06 15:31:18 | 15:31:17.971 - [ WARNING ] > error during accept(): java.io.IOException: Too many open files

Any help?
Fabio Colombini
Brazil
User avatar
Rob
Posts: 34
Joined: 01 Jul 2017, 07:33

Re: Limit of 3541 sockets/users

Postby Rob » 06 Mar 2019, 22:07

Probably a file descriptor limit issue. Check that you used ulimit as described in the docs.

Also see this topic for further gotchas.
User avatar
Lapo
Site Admin
Posts: 20959
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Limit of 3541 sockets/users

Postby Lapo » 07 Mar 2019, 08:34

frcol wrote:Any help?

What Rob said is correct :)
You need to configure your OS to allow more file descriptors (which is the resource in Unix/Linux used for open files and sockets)

cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 19 guests