Search found 25 matches

by panthoz
18 Apr 2013, 11:57
Forum: SFS2X Questions
Topic: Sessions created twice during login
Replies: 4
Views: 5579

Re: Sessions created twice during login

Average load is about 80 concurrent users, however this has happened with only 20 users online after the server has been running for only 10 min. We have set the Xmx and Xms memory to 2 gigabytes. We beer used to have this issue until recently. I think it may have to do with what I posted above, a g...
by panthoz
18 Apr 2013, 04:35
Forum: SFS2X Questions
Topic: Sessions created twice during login
Replies: 4
Views: 5579

Sessions created twice during login

Our server has been crashing with memory issues out of the blue lately, and I've noticed that user sessions are being created/removed once before the actual login takes place as seen below: 17 Apr 2013 | 21:40:44,017 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created...
by panthoz
12 Aug 2012, 14:45
Forum: SFS2X Questions
Topic: Controller Thread suddenly stops working
Replies: 4
Views: 5207

Re: Controller Thread suddenly stops working

Can I ask why you need to run your game controller in its own thread? The server already allocates threads for running the developer's server side logic. Also the client requests and server events will not run in your thread... If this is the wrong way of doing it, then I highly suggest you remove ...
by panthoz
11 Aug 2012, 15:15
Forum: SFS2X Questions
Topic: Controller Thread suddenly stops working
Replies: 4
Views: 5207

Controller Thread suddenly stops working

After my game has been running for 12+ hours, it seems that my GameController class (Thread) will stop running. There are no errors at all in the logs, and all other extension requests from the game still work. Does this mean I need to increase my thread count? Currently System Controller, Extension...
by panthoz
09 Aug 2012, 16:32
Forum: SFS2X Questions
Topic: Buddy Offline variable not updating
Replies: 4
Views: 5392

Re: Buddy Offline variable not updating

It doesn't make much sense to me, once a variable is update that is the value. Any old value no longer exist, so it must work. Make sure to check that you don't have errors relating to those BuddyVars updates. Also, are you using a custom persistence class or the default one? thanks I'm using the d...
by panthoz
08 Aug 2012, 17:48
Forum: SFS2X Questions
Topic: Buddy Offline variable not updating
Replies: 4
Views: 5392

Re: Buddy Offline variable not updating

That did not work. I've tried placing the code on a timer, and when user1 is logged in, he is seeing user2's updated buddy variable just fine. However, once user1 logs out and back in, user2's buddy variable is set to one that was set a long time ago (possibly the first time it was ever set).
by panthoz
07 Aug 2012, 19:36
Forum: SFS2X Questions
Topic: Buddy Offline variable not updating
Replies: 4
Views: 5392

Buddy Offline variable not updating

I have a buddy variable that is set when a user logs off: List<BuddyVariable> buddyVars = new ArrayList<BuddyVariable>(); SFSBuddyVariable lastOnlineVar = new SFSBuddyVariable("$lastOnline",new Timestamp(new java.util.Date().getTime()).getTime()); buddyVars.add(lastOnlineVar); buddyApi.set...
by panthoz
06 Aug 2012, 17:34
Forum: SFS2X Questions
Topic: Server stops allowing log ins
Replies: 5
Views: 6576

Re: Server stops allowing log ins

Just want to follow up on this. We have gone through our entire extension and have made sure to close every Connection, PreparedStatement and ResultSet. After a few hours of the server running, it still stops allowing connections. I can load up the admin page, but am unable to log into the admin. Id...
by panthoz
05 Aug 2012, 16:37
Forum: SFS2X Questions
Topic: Server stops allowing log ins
Replies: 5
Views: 6576

Re: Server stops allowing log ins

Yup that was the case. All of our connections were closed, but we were not closing PreparedStatements and ResultSets as well. On that note, we are getting this error in our logs: 05 Aug 2012 | 05:08:49,702 | WARN | com.smartfoxserver.v2.controllers.ExtensionController-3 | v2.protocol.SFSIoHandler | ...
by panthoz
04 Aug 2012, 14:54
Forum: SFS2X Questions
Topic: Server stops allowing log ins
Replies: 5
Views: 6576

Server stops allowing log ins

My server seems to randomly freeze on me around an hour after play, with a steady CCU of 15. The admin page loads, but when I try to connect, it does not log me in. NO errors or warnings in the logs. I then have to log in through telnet to restart the server. - CPU never goes above 1% - RAM never go...
by panthoz
04 Aug 2012, 14:51
Forum: SFS2X Questions
Topic: Cannot increase allocated memory
Replies: 2
Views: 4408

Re: Cannot increase allocated memory

Problem solved... Seemed I had to add those to sfs2x-service.vmoptions.

Take note since I did a lot of search and was unable to find this anywhere until I stumbled upon an unrelated post.
by panthoz
04 Aug 2012, 06:36
Forum: SFS2X Questions
Topic: Cannot increase allocated memory
Replies: 2
Views: 4408

Cannot increase allocated memory

Hey all.. I've tried looking this up and have edited both sfs2x.sh and have edited sfs2x-service to have high memory values. When I restart my server, it always says that I have around 128 MB allocated, no matter what I do. Here is what the line in sfs2x.sh looks like: ${JAVA_CMD} -cp ${CPATH} -Dfil...
by panthoz
19 Jun 2012, 20:12
Forum: SFS2X Questions
Topic: Issue with BuddyVariables (dump included)
Replies: 15
Views: 17083

Re: Issue with BuddyVariables (dump included)

I am getting 2 offline messages with mine as well. Only one listener in the entire project.
by panthoz
18 Apr 2012, 17:44
Forum: SFS2X Questions
Topic: AdminExtension errors after updating to latest API
Replies: 5
Views: 6684

Re: AdminExtension errors after updating to latest API

Bax wrote:Please read this topic: viewtopic.php?f=18&t=13695
I believe you are doing something similar.


Problem fixed, thanks!
by panthoz
18 Apr 2012, 01:25
Forum: SFS2X Questions
Topic: AdminExtension errors after updating to latest API
Replies: 5
Views: 6684

Re: AdminExtension errors after updating to latest API

I am not running the admin at all, these messages appear in my logs.

Go to advanced search