Search found 22646 matches
- 26 Mar 2024, 17:31
- Forum: SFS2X HTML5 / JavaScript API
- Topic: delayed room variables update after creation of a new room
- Replies: 4
- Views: 55
Re: delayed room variables update after creation of a new room
I see. I combined the CreateRoomRequest with the autoJoin option but listened only on the ROOM_ADD event. Could it be that, in addition, I should wait on the ROOM_JOIN event? It depends on what your client logic needs to do. If you need to access RoomVariables then you will need ROOM_JOIN, otherwis...
- 26 Mar 2024, 16:49
- Forum: SFS2X HTML5 / JavaScript API
- Topic: delayed room variables update after creation of a new room
- Replies: 4
- Views: 55
Re: delayed room variables update after creation of a new room
One small addition... RoomVars that have the "global" flag turned on can be accessed from Users not joined in the Room.
Cheers
Cheers
- 26 Mar 2024, 07:46
- Forum: SFS2X Questions
- Topic: High RAM usage when using SmartFox
- Replies: 3
- Views: 91
Re: High RAM usage when using SmartFox
Hi, SmartFoxServer doesn't need much memory to operate even with 1000s of concurrent players. The server will allocate more memory if necessary, otherwise il will use just what is needed. If you want to learn more: https://smartfoxserver.com/blog/sfs2x-memory-settings-and-garbage-collection-part-1/ ...
- 21 Mar 2024, 10:03
- Forum: SFS2X Questions
- Topic: Same machine spec but got different initial max mem heap usage
- Replies: 3
- Views: 79
Re: Same machine spec but got different initial max mem heap usage
Also, if you want to learn more about memory management and settings we have a two part article in our blog, here:
https://smartfoxserver.com/blog/sfs2x-m ... on-part-1/
https://smartfoxserver.com/blog/sfs2x-m ... on-part-2/
Cheers
https://smartfoxserver.com/blog/sfs2x-m ... on-part-1/
https://smartfoxserver.com/blog/sfs2x-m ... on-part-2/
Cheers
- 21 Mar 2024, 10:02
- Forum: SFS2X Questions
- Topic: Same machine spec but got different initial max mem heap usage
- Replies: 3
- Views: 79
Re: Same machine spec but got different initial max mem heap usage
Hello, without custom memory settings the Java Virtual Machine (JVM) will allocate the heap size dynamically. You can read more on how this works here, for example: https://stackoverflow.com/questions/4667483/how-is-the-default-max-java-heap-size-determined I wouldn't worry too much about this as th...
- 21 Mar 2024, 08:21
- Forum: SFS2X Java / Android API
- Topic: Thread keep increasing and Sudden Jump in heap memory
- Replies: 5
- Views: 191
Re: Thread keep increasing and Sudden Jump in heap memory
Hi, the graph you have posted for the NPC manager shows a normal memory activity for the time interval measured. There is no evidence of an increasing usage of RAM in the diagram. The situation seems the same for thread count, which is quite high, but it's a flat line from start to finish. So I am n...
- 18 Mar 2024, 09:31
- Forum: SFS2X Questions
- Topic: High RAM usage when using SmartFox
- Replies: 3
- Views: 91
Re: High RAM usage when using SmartFox
Hi,
normally SFS2X does not require that much RAM but depending on the amount of traffic and custom server side code you're using it can eat up more resource. Did you change the default memory settings of the server?
If so how?
Thanks
normally SFS2X does not require that much RAM but depending on the amount of traffic and custom server side code you're using it can eat up more resource. Did you change the default memory settings of the server?
If so how?
Thanks
- 13 Mar 2024, 08:48
- Forum: SFS2X Questions
- Topic: Error java.io.IOException: Broken pipe
- Replies: 3
- Views: 128
Re: Error java.io.IOException: Broken pipe
HI, the error in question shouldn't be particularly bad. It is related to Tomcat and by searching the web I came up with these similar issues: https://stackoverflow.com/questions/642061/error-commiting-response-java-io-ioexception-broken-pipe-at-sun-nio-ch-filedisp https://github.com/codecentric/spr...
- 13 Mar 2024, 08:11
- Forum: SFS2X Questions
- Topic: sfs2x-service restart
- Replies: 1
- Views: 77
Re: sfs2x-service restart
Hi, we have no idea, maybe there's some activity still going on in SFS2X that is using the database? You can actually assess that by monitoring the MySQL server before restarting. If you restart the DB while queries are being sent to it, it is very likely that after the restart queries will keep com...
- 12 Mar 2024, 08:43
- Forum: SFS2X Questions
- Topic: Socket Exceptions
- Replies: 1
- Views: 88
Re: Socket Exceptions
Hi,
these exceptions are not particularly significant. They happen when data in the outgoing queue is being written but, concurrently, the client connection was shut down. It's expected to see some of these error in any live server.
Cheers
these exceptions are not particularly significant. They happen when data in the outgoing queue is being written but, concurrently, the client connection was shut down. It's expected to see some of these error in any live server.
Cheers
- 11 Mar 2024, 09:39
- Forum: SFS2X Questions
- Topic: Tomcat upgrade
- Replies: 1
- Views: 78
Re: Tomcat upgrade
Hi,
we plan to include a Tomcat upgrade in the next SFS2X release 2.20 but we don't have a release date set for now.
I will likely post an update in the next few weeks.
Cheers
we plan to include a Tomcat upgrade in the next SFS2X release 2.20 but we don't have a release date set for now.
I will likely post an update in the next few weeks.
Cheers
- 07 Mar 2024, 16:49
- Forum: SFS2X Questions
- Topic: configuration for comment bitswarm.sessions.DefaultSessionManager logs
- Replies: 5
- Views: 201
Re: configuration for comment bitswarm.sessions.DefaultSessionManager logs
It's not clear if this is something that has happened a few times or if it's constantly happening. It is possible that external servers are scanning an IP range and trying to connect to anything that they find, maybe searching for a vulnerable machine or something like that. Personally I find it odd...
- 07 Mar 2024, 10:45
- Forum: SFS2X Questions
- Topic: configuration for comment bitswarm.sessions.DefaultSessionManager logs
- Replies: 5
- Views: 201
Re: configuration for comment bitswarm.sessions.DefaultSessionManager logs
Can you please provide more details? Where is SFS2X installed, on your local machine? When do these connections appear? As soon as the server is started? The addresses shown in the logs are from the local network, so it seems that other machines in a local network are attempting to connect to your s...
- 07 Mar 2024, 08:26
- Forum: SFS2X Questions
- Topic: Setting up SFS2X with ec2 instance using Amazon Linux
- Replies: 3
- Views: 126
Re: Setting up SFS2X with ec2 instance using Amazon Linux
Try telnetting the server on the http port.
Example:
Do you get a connection?
(Similarly you can do the same with port 9933, to check if it's open)
Thanks
Example:
Code: Select all
telnet <ip-address> 8080
Do you get a connection?
(Similarly you can do the same with port 9933, to check if it's open)
Thanks
- 07 Mar 2024, 08:23
- Forum: SFS2X Questions
- Topic: configuration for comment bitswarm.sessions.DefaultSessionManager logs
- Replies: 5
- Views: 201
Re: configuration for comment bitswarm.sessions.DefaultSessionManager logs
Hi,
these are some very short-lived connections that seem to be coming from a local network.
As to why, I can't say without more details.
Thanks
these are some very short-lived connections that seem to be coming from a local network.
As to why, I can't say without more details.
Thanks