Search found 37 matches

by n72
09 Feb 2011, 00:20
Forum: Server Side Extension Development
Topic: Slow Logins
Replies: 0
Views: 3332

Slow Logins

Once we get to about 10,000 users all of a sudden our logins get really slow. The odd thing is that Smartfox admin tool is also just as slow to log in at this point, so I don't think this has anything to do with our extensions code. Rather, it seems the problem must be in making the socket connectio...
by n72
18 Jan 2011, 18:41
Forum: Other Client API
Topic: Creating a websocket API
Replies: 1
Views: 11175

Creating a websocket API

Hi, I'm attempting to do a proof of concept to connect to SFS via websockets. First, can anyone let me know if there are any gotchas when doing this? Anything I should be aware of? I assume this is the first message I would send to the server: <msg t ='sys'><body action='login' r='0'><login z='MyZon...
by n72
12 Jan 2011, 07:02
Forum: Server Side Extension Development
Topic: SendCustomRoomList problem
Replies: 1
Views: 4242

SendCustomRoomList problem

We are seeing a lot of these errors in our logs. Any ideas? 2011-01-12 00:15:27,330 ERROR com.evermore.casino.smartfox.CasinoExtension - Error handling internal event loginRequest java.lang.NullPointerException at it.gotoandplay.smartfoxserver.controllers.SystemHandler.sendRoomList(SystemHandler.jav...
by n72
10 Dec 2010, 07:15
Forum: Server Side Extension Development
Topic: Raise event on user disconnect
Replies: 1
Views: 4337

Raise event on user disconnect

Hi,

I would like to take some action when a user disconnects. Is there a way I can detect this event?
by n72
01 Dec 2010, 04:51
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Config updates without restart?
Replies: 2
Views: 5160

Config updates without restart?

We often find ourselves wanting to make a temporary update to the config (usually dealing with log levels). At the moment, as far as I know, an sfs restart is necessary for the config changes to take effect, which kicks all our users. Is there any way to get config changes to take without a restart?
by n72
30 Nov 2010, 22:29
Forum: Server Side Extension Development
Topic: Viewing message contents when message length out of range
Replies: 1
Views: 4177

Viewing message contents when message length out of range

We get this fairly often in our logs:

INFO | jvm 1 | 2010/11/30 15:52:21 | 15:52:21.003 - [ WARNING ] > Message length out of range! (13486 bytes) from > /67.242.5.85

Is there any way for us to see what the message is?
by n72
04 Nov 2010, 23:06
Forum: Server Side Extension Development
Topic: sendCustomRoomList
Replies: 3
Views: 6804

Just checked out 1.6.9 and it's in there. Sorry I guess I should have checked before writing the forum post :)
by n72
04 Nov 2010, 23:01
Forum: Server Side Extension Development
Topic: sendCustomRoomList
Replies: 3
Views: 6804

I'm having the same problem using 1.6.6. Is this only in a more recent version?
by n72
01 Nov 2010, 05:06
Forum: Server Side Extension Development
Topic: ConcurrentModificationException
Replies: 3
Views: 6332

We're already using ConcurrentHashMap. Moreover, if this were happening in the extension code we created, we would see this logged, since everything is wrapped in a try... catch at the top level which logs everything that gets to it. It looks to me like this is happening somewhere in the SFS core, s...
by n72
31 Oct 2010, 23:52
Forum: Server Side Extension Development
Topic: ConcurrentModificationException
Replies: 3
Views: 6332

ConcurrentModificationException

As you can see from the log, they are happening quite often. The body of all my handleRequests are wrapped in a try... catch block which logs anything that gets to the catch. So, I'm quite sure I'd see Exceptions of this type in they were happening in my extension code. So, do you have any idea what...
by n72
25 Oct 2010, 20:08
Forum: Server Side Extension Development
Topic: large number of java.lang.ref.Finalizer
Replies: 1
Views: 5149

large number of java.lang.ref.Finalizer

Hi,

We're troubleshooting a high CPU usage problem and in looking at the heap dump we have a large number of java.lang.ref.Finalizer objects. When I list the references I see 28,231 occurances of java.net.SocksSocketImpl occupying 5,194,504 of heap space. Any idea of what this is?
by n72
13 Oct 2010, 19:49
Forum: SmartFoxServer 1.x Discussions and Help
Topic: SmartFoxServer 2X Announced!
Replies: 116
Views: 135561

Will we be able to new up extensions independently of the framework so we can unit test them more easily in 2x?
by n72
13 Oct 2010, 19:41
Forum: Server Side Extension Development
Topic: Scala and SFS
Replies: 1
Views: 4225

Scala and SFS

Hi,

Before I put a lot of work into this, are you aware of any reasons I couldn't write my extensions is scala?
by n72
29 Aug 2010, 16:09
Forum: SmartFoxServer 1.x Discussions and Help
Topic: ulimit is always 1024 regardless of how I edit the scripts
Replies: 9
Views: 12006

Ah ok - thanks. That makes me fee better :)

I've been looking for a way to view the actual ulimit for the SFS process since I just want to be sure it's been set, but I can't see anywhere to do this. Any ideas?
by n72
29 Aug 2010, 07:02
Forum: SmartFoxServer 1.x Discussions and Help
Topic: ulimit is always 1024 regardless of how I edit the scripts
Replies: 9
Views: 12006

Yup, I followed those instructions. After I start sfs the ulimit is still 1024. From flarb's post he says "Oh wait, I think that putting it in the script just modifies the value for that process--that's fine." So, does that mean the 1024 I see after I start sfs isnt actually the ulimit tha...

Go to advanced search