Search found 90 matches
- 22 Dec 2016, 18:49
- Forum: SFS2X Questions
- Topic: OS VIRT mem: out of memory kills java process
- Replies: 9
- Views: 11327
Re: OS VIRT mem: out of memory kills java process
The problem is, the OOM killer is triggered due to high memory usage. If we disallow smartfox to get killed, it will go and kill something else, and that is not solving the root problem. It's weird that the VIRT and RES, in top increases more and more over time to a number way larger than java's xmx...
- 22 Dec 2016, 18:19
- Forum: SFS2X Questions
- Topic: Nullpointer with no message
- Replies: 10
- Views: 11269
Re: Nullpointer with no message
Every second or so I get this log. Although there are usually over 1000+ CCU at any time and thousands of requests per second and I have not noticed any issues with the game or got any complaints that indicates this error is causing an issue. Perhaps only a small fraction of requests are getting an ...
- 22 Dec 2016, 18:14
- Forum: SFS2X Questions
- Topic: OS VIRT mem: out of memory kills java process
- Replies: 9
- Views: 11327
Re: OS VIRT mem: out of memory kills java process
Thanks I will check those links out. Merry Christmas!
- 20 Dec 2016, 18:53
- Forum: SFS2X Questions
- Topic: OS VIRT mem: out of memory kills java process
- Replies: 9
- Views: 11327
OS VIRT mem: out of memory kills java process
Hello. I don't have the symptoms of normal out of memory exception as shown in the articles by smartfox. It takes about 2-3 weeks before smartfox will terminate. But there are no OOM logs in the smartfox log, instead you will only know what smartfox died if you run "dmesg | egrep -i -B100 'kill...
- 20 Dec 2016, 18:32
- Forum: SFS2X Questions
- Topic: Nullpointer with no message
- Replies: 10
- Views: 11269
Re: Nullpointer with no message
Unfortunately the only relevant logs in the log files is this. All other logs in there are application related and completely normal: I am running 2x, SFS2X-Patch-2.11.1, the only log: 20 Dec 2016 | 13:26:35,702 | WARN | pool-4-thread-87 | v2.protocol.SFSIoHandler | | java.lang.NullPointerException:...
- 18 Dec 2016, 16:56
- Forum: SFS2X Questions
- Topic: Nullpointer with no message
- Replies: 10
- Views: 11269
Re: Nullpointer with no message
Hi, if there's no stack trace you have probably turned off the debug-mode and friendly-exceptions from the AdminTool >Server Configurator. I'd recommend to turn them back on, so we can learn more about the problem. In terms of performance they won't affect your server, although the log files will b...
- 18 Dec 2016, 16:52
- Forum: SFS2X Questions
- Topic: Nullpointer with no message
- Replies: 10
- Views: 11269
Re: Nullpointer with no message
Thanks! The login is resolved. Now I can try to find out what's the nullpointers..
- 17 Dec 2016, 17:30
- Forum: SFS2X Questions
- Topic: Nullpointer with no message
- Replies: 10
- Views: 11269
Re: Nullpointer with no message
Strangely, since this error started, I am able to go to the admin login page, but it never logs in.
- 17 Dec 2016, 07:07
- Forum: SFS2X Questions
- Topic: Nullpointer with no message
- Replies: 10
- Views: 11269
Nullpointer with no message
Hello, I am running 2x, SFS2X-Patch-2.11.1 with unlimited CCU license. And I get the following errors quite frequently after running the server for some time. Any idea what this is? 17 Dec 2016 | 02:08:15,951 | WARN | pool-4-thread-31 | v2.protocol.SFSIoHandler | | java.lang.NullPointerException: ::...
- 15 Sep 2016, 17:21
- Forum: SFS2X Questions
- Topic: Extension Reload Mode
- Replies: 9
- Views: 10687
Re: Extension Reload Mode
Firstly. I need to say thanks for the quick response! So. The issue is, when I upload the jar files into the server, overriding old jar files specified above, I don't expect it to reload until I restart smartfox. However, it reloads. How I know is because if I add a new variable say a String variabl...
- 15 Sep 2016, 17:05
- Forum: SFS2X Questions
- Topic: Extension Reload Mode
- Replies: 9
- Views: 10687
Re: Extension Reload Mode
Below is the zone config and how it's setup. [MyGameExtension Folder] Extension.jar - MyZoneExtension.class - MyRoomExtension.class [__LIB__ Folder] Service.jar - MyService.class (with services for db) - xxx ... xxx (and models etc) How a room is created: CreateRoomSettings config = new CreateRoomSe...
- 15 Sep 2016, 14:07
- Forum: SFS2X Questions
- Topic: Extension Reload Mode
- Replies: 9
- Views: 10687
Re: Extension Reload Mode
Try adding a new model I'm the __jar__ folder. And references it in the extension. Deploy both jars without restarting. The logs will complain that no class doing referring to the new model. Because the __jar__ class loader didn't reload as expected. But the extension got reloaded which is not expec...
- 15 Sep 2016, 14:04
- Forum: SFS2X Questions
- Topic: Extension Reload Mode
- Replies: 9
- Views: 10687
Re: Extension Reload Mode
Ok. But unfortunately. When I copy a jar to the extension folder the new code gets run immediately. I can't turn it off. If I use sfs2x.sh it seems to behave correctly. But with sfs2x-service -start the extension reloads automatically.
- 15 Sep 2016, 13:43
- Forum: SFS2X Questions
- Topic: Extension Reload Mode
- Replies: 9
- Views: 10687
Re: Extension Reload Mode
Ok. Create a zone in the admin console and setup the zone extension assuming the following is already done. Create a zone extension and a room extension in java. In the zone extension code create a room, then insert a room extension into that room. Now use the admin console. Go to zone monitor, sele...
- 15 Sep 2016, 06:34
- Forum: SFS2X Questions
- Topic: Extension Reload Mode
- Replies: 9
- Views: 10687
Re: Extension Reload Mode
I see in the console that it's the room extension that's reload mode is AUTO. The room extensions are attached via server extension code when creating the room. But there's no API to set the extension reload mode. Closest I've found is RoomExtensionSettings.setPropertiesFile() but I don't know the f...