Search found 22640 matches

by Lapo
18 Mar 2024, 09:31
Forum: SFS2X Questions
Topic: High RAM usage when using SmartFox
Replies: 1
Views: 13

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
by Lapo
13 Mar 2024, 08:48
Forum: SFS2X Questions
Topic: Error java.io.IOException: Broken pipe
Replies: 3
Views: 65

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...
by Lapo
13 Mar 2024, 08:11
Forum: SFS2X Questions
Topic: sfs2x-service restart
Replies: 1
Views: 47

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...
by Lapo
12 Mar 2024, 08:43
Forum: SFS2X Questions
Topic: Socket Exceptions
Replies: 1
Views: 57

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
by Lapo
11 Mar 2024, 09:39
Forum: SFS2X Questions
Topic: Tomcat upgrade
Replies: 1
Views: 46

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
by Lapo
07 Mar 2024, 16:49
Forum: SFS2X Questions
Topic: configuration for comment bitswarm.sessions.DefaultSessionManager logs
Replies: 5
Views: 136

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...
by Lapo
07 Mar 2024, 10:45
Forum: SFS2X Questions
Topic: configuration for comment bitswarm.sessions.DefaultSessionManager logs
Replies: 5
Views: 136

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...
by Lapo
07 Mar 2024, 08:26
Forum: SFS2X Questions
Topic: Setting up SFS2X with ec2 instance using Amazon Linux
Replies: 3
Views: 81

Re: Setting up SFS2X with ec2 instance using Amazon Linux

Try telnetting the server on the http port.
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
by Lapo
07 Mar 2024, 08:23
Forum: SFS2X Questions
Topic: configuration for comment bitswarm.sessions.DefaultSessionManager logs
Replies: 5
Views: 136

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
by Lapo
06 Mar 2024, 08:10
Forum: SFS2X Questions
Topic: Setting up SFS2X with ec2 instance using Amazon Linux
Replies: 3
Views: 81

Re: Setting up SFS2X with ec2 instance using Amazon Linux

Hi,
when using AWS you need to configure the so called "Security Group" which is their fancy name for a firewall :)
Check the Security Group associated with your EC2 instance and add a few inbound rules to allow traffic for the ports you've listed above.

That should fix it.
Cheers
by Lapo
01 Mar 2024, 09:03
Forum: SFS2X Questions
Topic: Managing Reconnections and Handling: User Already Logged In
Replies: 11
Views: 290

Re: Managing Reconnections and Handling: User Already Logged In

Unfortunately it's still not clear what you're trying to do. I get that you'd like to check whether or not a client is in the middle of a connection, but this should be obvious in your code without the need for extra API calls. A connection attempt starts when you invoke the connect() method and it ...
by Lapo
01 Mar 2024, 08:56
Forum: SFS2X Questions
Topic: JavaScript extension support in future versions
Replies: 1
Views: 85

Re: JavaScript extension support in future versions

Hi,
GraalVM JS is an option we're looking into. It supports all the recent specs of the Javascript language and it seems to have a somewhat better support for multi-threaded environments than Nashorn.

Cheers
by Lapo
29 Feb 2024, 09:13
Forum: SFS2X Questions
Topic: Managing Reconnections and Handling: User Already Logged In
Replies: 11
Views: 290

Re: Managing Reconnections and Handling: User Already Logged In

ciaoamigos wrote:I am using the isConnecting method, and if possible, I kindly ask you to consider adding it in future versions.

I am not sure what you mean by that. Can you elaborate?

Thanks
by Lapo
29 Feb 2024, 08:44
Forum: SFS2X Questions
Topic: Slow connection to rooms
Replies: 6
Views: 163

Re: Slow connection to rooms

The discussion about threads is not very relevant to your issue but I brought it up just to clarify that each instance of the client API (used for the stress test) already creates the required threads for connection internally. This means that using an external thread pool is redundant. If you want ...
by Lapo
28 Feb 2024, 17:26
Forum: SFS2X Questions
Topic: Managing Reconnections and Handling: User Already Logged In
Replies: 11
Views: 290

Re: Managing Reconnections and Handling: User Already Logged In

I recommend double checking that there is no User connected before testing. You can do that via the AdminTool > Zone Monitor and selecting the Zone you're using. There you can find the Users already logged in. Next you can test again with your client: if the same error is triggered, check again with...

Go to advanced search