Search found 7 matches

by quickfox
17 Aug 2007, 18:51
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Server hang with deadlock in Event Writer thread
Replies: 1
Views: 4462

Server hang with deadlock in Event Writer thread

We are getting server crashes every 1-2 days. Using the jstack tool I was able to get the following deadlock report from the jvm:

Deadlock Detection:

Found one Java-level deadlock:
=============================

"Timer-1":
waiting to lock Monitor@0x00002aac54b5fbf8 (Object@0x00002aab14f448a0, a ...
by quickfox
30 Jul 2007, 06:20
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Java code in AS
Replies: 2
Views: 5705

Calling Java from Actionscript

The smartfox server uses the Rhino engine by mozilla.org for its ActionScript interpreter. (actually a "Javascript" interpreter). The mozilla site has additional documentation on invoking Java from Javascript, including this:

http://www.mozilla.org/rhino/ScriptingJava.html

For converting ...
by quickfox
19 Jul 2007, 18:25
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Monitoring tools
Replies: 4
Views: 7853

Monitoring number of users

We did figure out a way to monitor number of connected users:

netstat -a -n | grep 9339 | grep ESTABLISHED

seems to correlate with AdminTool's count. This is hooked into our zenoss graphs to plot usage over time.
by quickfox
19 Jul 2007, 18:04
Forum: SmartFoxServer 1.x Discussions and Help
Topic: jvm heap memory questions
Replies: 1
Views: 4453

jvm heap memory questions

I notice that whenever we set the max heap memory (using -Xmx ) the AdminTool shows the memory filling up as soon as the server starts. This seems to happen whether or not the minimum heap memory is specified. I get the same behavior whether using wrapper or invoking java directly in a start script ...
by quickfox
19 Jul 2007, 17:20
Forum: SmartFoxServer 1.x Discussions and Help
Topic: ConcurrentModificationException
Replies: 3
Views: 7545

ConcurrentModificationException

Here are two different instances of ConcurrentModificationException we see in the logs. These started showing up after we turned on buddy lists. The first stack trace below is associated with an error message about unable to close client channel, and in our stack trace we are calling disconnectUser ...
by quickfox
13 Jul 2007, 18:51
Forum: SmartFoxServer 1.x Discussions and Help
Topic: MaxWriterQueue and OutQueueThreads
Replies: 2
Views: 6812

MaxWriterQueue and OutQueueThreads

The documentation states that the outgoing message queue is per user, but doesn't state the actual config.xml setting name. Is that MaxWriterQueue? There's just one max queue display in the admin tool so I would have guessed that it's one setting per server. Our user base is over 750 and growing ...
by quickfox
11 Jul 2007, 18:25
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Monitoring tools
Replies: 4
Views: 7853

Monitoring tools

Hi, has anybody created a command-line monitoring tool to check smartfox health and status? I'm looking for something that would run under linux and use the smartfox client api to get some stats from the server like you see in the AdminTool. We would plug that into our server monitoring ...