Page 2 of 2

Posted: 01 Feb 2010, 17:23
by Lapo
The thread-dump doesn't show anything out of normality.
Did you inspect the server logs when the problem happened?
You said that during the problem the Admin Tool receives an error:
When I try to connect using the AdminTool, it keeps disconnecting (I believe it's a connection refused or timed out error).
Is there anything logged server side when these attempts are done?

Posted: 26 Feb 2010, 07:38
by HCBMedia
The problem is clear now. There were some errors on the ethernet interface and connections were not closed correctly. Connections kept open on exceptions and on "close" action - connections hanged in CLOSE_WAIT state.

Besides that, the OutQueueThreads and ExtHandlerThreads parameters were set to 1, but our machine has 4 cores, so we increased these parameters to 4. I don't know if that is somewhere documented, but could be worth documenting?

Posted: 26 Feb 2010, 08:22
by Lapo

Posted: 26 Feb 2010, 08:26
by HCBMedia
Lapo wrote:Yes it is documented here:
http://www.smartfoxserver.com/docs/docP ... Safety.htm
Thanks. It was bad configured than. This topic can be closed.

Re: [Solved]Strange SFS problem

Posted: 29 May 2020, 05:01
by nitish5221
i need to configure setting on my smartfoxserver so that i trace runtime error via visualvm
please guide me step by step how to configure and connect my smartfoxserver via visualvm
i have have add these line jvm option

-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=5000
-Dcom.sun.management.jmxremote.rmi.port=5000
-Dcom.sun.management.jmxremote.rmi.port=5000
-Djava.rmi.server.hostname=[external-ip-address]
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false

but failed to connect via visualvm.

Re: [Solved]Strange SFS problem

Posted: 29 May 2020, 07:13
by Lapo
nitish5221 wrote:i need to configure setting on my smartfoxserver so that i trace runtime error via visualvm
please guide me step by step how to configure and connect my smartfoxserver via visualvm
i have have add these line jvm option

-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=5000
-Dcom.sun.management.jmxremote.rmi.port=5000
-Dcom.sun.management.jmxremote.rmi.port=5000
-Djava.rmi.server.hostname=[external-ip-address]
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false

but failed to connect via visualvm.
We've already replied via email.

Re: [Solved]Strange SFS problem

Posted: 29 May 2020, 07:16
by HCBMedia
Also, is it necessary to kick this very old thread? @admins perhaps the thread can be closed?

Re: [Solved]Strange SFS problem

Posted: 29 May 2020, 08:51
by Lapo
Probably not a bad idea. The thread is now locked.
Thanks