Search found 8 matches
- 03 Dec 2019, 03:02
- Forum: SFS2X Questions
- Topic: Server fails with "Too many open files" exceptions and 500K+ file descriptors in CLOSE_WAIT state
- Replies: 13
- Views: 14515
Re: Server fails with "Too many open files" exceptions and 500K+ file descriptors in CLOSE_WAIT state
Hi Lapo, We've started to see this problem again when we introduced mobile version of our website. We've solved problem by disconnecting client manually after idling 4 minutes 30 seconds before server kicks client out. It worked for a while. We've been seeing unclosed connections still but it was 20...
- 21 Jun 2019, 22:24
- Forum: SFS2X Questions
- Topic: Server fails with "Too many open files" exceptions and 500K+ file descriptors in CLOSE_WAIT state
- Replies: 13
- Views: 14515
Re: Server fails with "Too many open files" exceptions and 500K+ file descriptors in CLOSE_WAIT state
Hi Lapo, Great news ! We've updated our servers to 2.13.6. Memory consumption is greatly improved ! We've been running server for one day but it is much better than it was before. We was able to pin point scenario when connection became stuck in CLOSE_WAIT state. All our stress test scenarios are re...
- 18 Jun 2019, 21:23
- Forum: SFS2X Questions
- Topic: Server fails with "Too many open files" exceptions and 500K+ file descriptors in CLOSE_WAIT state
- Replies: 13
- Views: 14515
Re: Server fails with "Too many open files" exceptions and 500K+ file descriptors in CLOSE_WAIT state
Hi Lapo, Thank you for looking into this! We actually might have this compression native memory leak you mentioned before. 2k not closed connections should not eat up 3G of memory. Here is top command for the process: 9670 smartfox 20 0 11.486g 6.553g 7680 S 13.0 87.9 77:48.19 java Virtual memory ev...
- 14 Jun 2019, 20:21
- Forum: SFS2X Questions
- Topic: Server fails with "Too many open files" exceptions and 500K+ file descriptors in CLOSE_WAIT state
- Replies: 13
- Views: 14515
Re: Server fails with "Too many open files" exceptions and 500K+ file descriptors in CLOSE_WAIT state
Hi Lapo, We've identified two problems. First jetty does not close some of the org.eclipse.jetty.websocket.server.WebSocketServerConnection. It get stucked in "CLOSING" state. Second problem is openJdk leaks file handles. Oracle Jdk does not leak handles but still keeps it between 168-176 ...
- 11 Jun 2019, 18:05
- Forum: SFS2X Questions
- Topic: Server fails with "Too many open files" exceptions and 500K+ file descriptors in CLOSE_WAIT state
- Replies: 13
- Views: 14515
Re: Server fails with "Too many open files" exceptions and 500K+ file descriptors in CLOSE_WAIT state
Hi Lapo, Thank you for fast response. 500K connections is really holy moly :(. Also, after the test I monitored the CLOSE_WAIT state of the previous connections and there were none. The test was done using socket connections on port 9933 with the standard Java API. We also don't have such problem wi...
- 11 Jun 2019, 01:49
- Forum: SFS2X Questions
- Topic: Server fails with "Too many open files" exceptions and 500K+ file descriptors in CLOSE_WAIT state
- Replies: 13
- Views: 14515
Server fails with "Too many open files" exceptions and 500K+ file descriptors in CLOSE_WAIT state
Hello, We've developed multiplayer game using html5 sdk on client. Server creates room extensions using java. Production servers started to fail after a week with with "Too many open files" exceptions. When I checked lsof it shows 500k+ file descriptors in CLOSE_WAIT state. All of them are...
- 31 Aug 2018, 18:26
- Forum: SFS2X Questions
- Topic: Max Room Variables not being set
- Replies: 13
- Views: 14390
Re: Max Room Variables not being set
Thank you for reply. I guess I have to set everything from Zone configuration manually to room settings.
From framework prospective it would be nice to be able to copy/clone room settings from Zone actual settings and then set only what I need. Like number of players and id.
Regards,
Sergey.
From framework prospective it would be nice to be able to copy/clone room settings from Zone actual settings and then set only what I need. Like number of players and id.
Regards,
Sergey.
- 31 Aug 2018, 04:10
- Forum: SFS2X Questions
- Topic: Max Room Variables not being set
- Replies: 13
- Views: 14390
Re: Max Room Variables not being set
Hello Lapo, I have the same problem with room variables. In zone configuration it is 20 but server allows me to set only 5. Here is the log message: WARN [SFSWorker:Ext:3] api.SFSApi - The max number of variables (5) for this Room: 1853476808438840812 was reached. Discarding variable: players.list D...