Search found 30 matches

by moonlife
20 Jul 2021, 10:47
Forum: SFS2X Questions
Topic: pool-1-thread-2 CPU time goes very high
Replies: 5
Views: 236

Re: pool-1-thread-2 CPU time goes very high

Thank you for your quick response. There is no skip_networking rule in my my.cnf file, but there is skip_external_locking rule. Shall I comment it out? May it cause this issue? Here is my full my.cnf: [mysqld] disable-log-bin=1 default-authentication-plugin=mysql_native_password default-storage-engi...
by moonlife
20 Jul 2021, 08:45
Forum: SFS2X Questions
Topic: pool-1-thread-2 CPU time goes very high
Replies: 5
Views: 236

Re: pool-1-thread-2 CPU time goes very high

Sometimes game starts to freeze in some rooms after server runs for several days, we thought the cause is some memory leaks at start, but looks like the reason is somewhere else. I didn't want to create another thread for that, becuase I'm still seeking to find out why my game starts to act unnatura...
by moonlife
09 Jul 2021, 11:14
Forum: SFS2X Questions
Topic: pool-1-thread-2 CPU time goes very high
Replies: 5
Views: 236

pool-1-thread-2 CPU time goes very high

Our online multiplayer game works as expected, but after 5-10 days, CPU time of some pool threads starts to grow, Memory Usage graph looks unnatural, and in time it causes our game to freeze. We are restarting our server when it happens, and everything starts to act normal again. But we don't want t...
by moonlife
18 Jun 2021, 19:10
Forum: SFS2X Questions
Topic: How to send a bot to another room?
Replies: 1
Views: 240

How to send a bot to another room?

Hi, I've created a simple bot system for my game. I trigger the bot manually by Javascript at start, creating a new Smartfox API connection for it, and joining it to a room. After that, the bot is being handled by Java extension at the background. After 30 seconds, the SFS connection of the bot time...
by moonlife
07 May 2021, 11:07
Forum: SFS2X Questions
Topic: Unknown error
Replies: 3
Views: 497

Re: Unknown error

We are using 2.17.0, So, there is another question. We are using Database Manager, Maximum # of active connections and Maximum # of idle connections are 50. Exhausted pool action is GROW. We have approximately 200 CCU. Is it okay or should we increase numbers? I asked it because of sometimes our gam...
by moonlife
07 May 2021, 10:15
Forum: SFS2X Questions
Topic: Unknown error
Replies: 3
Views: 497

Unknown error

Hi, In our logs, sometimes I got this error and we don't know why it occurs, and we really want to know and fix it. Exception: java.lang.NullPointerException Message: *** Null *** Description: Error during event handling: java.lang.NullPointerException, Listener: { Ext: Admin, Type: JAVA, Lev: ZONE,...
by moonlife
07 Apr 2021, 14:48
Forum: SFS2X Questions
Topic: Database connection with custom java class
Replies: 3
Views: 574

Re: Database connection with custom java class

Thanks,

I tried but I got error like as follow,

Cannot get a connection, pool error: Pool exhausted
by moonlife
07 Apr 2021, 12:56
Forum: SFS2X Questions
Topic: Database connection with custom java class
Replies: 3
Views: 574

Database connection with custom java class

Hi, Is it possible to reach SFSDBManager from any native java class. Detailed example is below public class DbConnect { public DbConnect() { Connection conn; PreparedStatement stmt; public String SomeMethod() { String res = ""; try { sql = "SELECT * FROM table"; conn = getParentZ...
by moonlife
01 Apr 2021, 07:55
Forum: SFS2X Questions
Topic: SmartFoxServer server xml
Replies: 6
Views: 937

Re: SmartFoxServer server xml

Hi again Lapo, We have tested our server with several players. During the test, the IT specialist investigated our server log. In this test we are experienced, SmartFoxServer uses too many CPU. Details and screenshot are as follow. What should we do to prevent high CPU usage? smartfox_log.png home/t...
by moonlife
31 Mar 2021, 14:45
Forum: SFS2X Questions
Topic: SmartFoxServer server xml
Replies: 6
Views: 937

Re: SmartFoxServer server xml

DB runs same machine.

Thanks for the details.
by moonlife
31 Mar 2021, 11:12
Forum: SFS2X Questions
Topic: SmartFoxServer server xml
Replies: 6
Views: 937

Re: SmartFoxServer server xml

Hi Lapo, Thanks for your response, I asked this question because of below. Especially in our game, players can use plenty of extension requests, In Java extension we are using java mysql connector and several room variable updates. Generally our CCU is between 500 - 1000. But in an hour or two hours...
by moonlife
31 Mar 2021, 09:40
Forum: SFS2X Questions
Topic: SmartFoxServer server xml
Replies: 6
Views: 937

SmartFoxServer server xml

Hello, I wonder what our server configurator's settings should be? Our server information is 256gb ram & 2 x Intel Xeon Gold 6226R 2.9GHz/3.9GHz 32 Core CPU (64 Core HT) Our current Smartfox server configs as follows System thread pool Core threads : 4 Backup threads: 16 Maximum backups: 64 Queu...
by moonlife
19 Mar 2021, 15:44
Forum: SFS2X C# API
Topic: Websocket listener
Replies: 1
Views: 882

Websocket listener

Hi All, I wonder why user can see other user's incoming websocket. I mean. I'm at x room. and some user (who is not my friend) joined the lobby. Then I can see this action on chrome WS as follow 00000000: 8000 9e12 0003 0001 7012 0002 0001 7204 ........p.....r. 00000001: 0000 0001 0001 7511 0005 040...
by moonlife
11 Mar 2021, 12:11
Forum: SFS2X C# API
Topic: Extension request limit
Replies: 1
Views: 672

Extension request limit

Hi,

Can I set the extension send request limit for user on SmartFoxServer system?

In our app, user can send plenty of extension request with mouse autoclick program and cpu increases suddenly.

What should we do to prevent request flood?

Thanks
by moonlife
06 Mar 2021, 11:59
Forum: SFS2X C# API
Topic: WebSocket connection Error in connection establishment: net::ERR_CONNECTION_CLOSED
Replies: 2
Views: 1018

WebSocket connection Error in connection establishment: net::ERR_CONNECTION_CLOSED

Hi, I try to connect SmartFoxServer with Html5, it gives WebSocket connection to 'wss://my-domain:8443/BlueBox/websocket' failed: Error in connection establishment: net::ERR_CONNECTION_CLOSED here is my config var config = {}; config.host = "my-domain"; config.port =8443; config.useSSL = t...

Go to advanced search