[Solved]Strange SFS problem

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 01 Feb 2010, 17:23

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?
Lapo
--
gotoAndPlay()
...addicted to flash games
HCBMedia
Posts: 14
Joined: 29 Oct 2009, 10:15

Postby HCBMedia » 26 Feb 2010, 07:38

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?
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 26 Feb 2010, 08:22

Lapo

--

gotoAndPlay()

...addicted to flash games
HCBMedia
Posts: 14
Joined: 29 Oct 2009, 10:15

Postby HCBMedia » 26 Feb 2010, 08:26

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.
nitish5221
Posts: 6
Joined: 10 Apr 2020, 11:30

Re: [Solved]Strange SFS problem

Postby nitish5221 » 29 May 2020, 05:01

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.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: [Solved]Strange SFS problem

Postby Lapo » 29 May 2020, 07:13

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.
Lapo

--

gotoAndPlay()

...addicted to flash games
HCBMedia
Posts: 14
Joined: 29 Oct 2009, 10:15

Re: [Solved]Strange SFS problem

Postby HCBMedia » 29 May 2020, 07:16

Also, is it necessary to kick this very old thread? @admins perhaps the thread can be closed?
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: [Solved]Strange SFS problem

Postby Lapo » 29 May 2020, 08:51

Probably not a bad idea. The thread is now locked.
Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 28 guests