Search found 62 matches

by trianglehead
23 Dec 2016, 19:08
Forum: SFS2X Questions
Topic: OS VIRT mem: out of memory kills java process
Replies: 9
Views: 2998

Re: OS VIRT mem: out of memory kills java process

The xmx is set to 8g, does this attached screen of the graph indicate a mem leak? It has pushed the "max" to 8.3 and stayed there for days. Also the linux "top" command shows the following: 6888 ec2-user 20 0 19.9g 10g 15m S 9.6 34.3 7889:39 java There are room level extensions b...
by trianglehead
22 Dec 2016, 19:39
Forum: SFS2X Questions
Topic: OS VIRT mem: out of memory kills java process
Replies: 9
Views: 2998

Re: OS VIRT mem: out of memory kills java process

Here's an interesting post which might relate to the issue:

http://info.prelert.com/blog/java-8-and ... y-on-linux
by trianglehead
22 Dec 2016, 18:49
Forum: SFS2X Questions
Topic: OS VIRT mem: out of memory kills java process
Replies: 9
Views: 2998

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...
by trianglehead
22 Dec 2016, 18:19
Forum: SFS2X Questions
Topic: Nullpointer with no message
Replies: 10
Views: 3102

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 ...
by trianglehead
22 Dec 2016, 18:14
Forum: SFS2X Questions
Topic: OS VIRT mem: out of memory kills java process
Replies: 9
Views: 2998

Re: OS VIRT mem: out of memory kills java process

Thanks I will check those links out. Merry Christmas!
by trianglehead
20 Dec 2016, 18:53
Forum: SFS2X Questions
Topic: OS VIRT mem: out of memory kills java process
Replies: 9
Views: 2998

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...
by trianglehead
20 Dec 2016, 18:32
Forum: SFS2X Questions
Topic: Nullpointer with no message
Replies: 10
Views: 3102

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:...
by trianglehead
18 Dec 2016, 16:56
Forum: SFS2X Questions
Topic: Nullpointer with no message
Replies: 10
Views: 3102

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...
by trianglehead
18 Dec 2016, 16:52
Forum: SFS2X Questions
Topic: Nullpointer with no message
Replies: 10
Views: 3102

Re: Nullpointer with no message

Thanks! The login is resolved. Now I can try to find out what's the nullpointers..
by trianglehead
17 Dec 2016, 17:30
Forum: SFS2X Questions
Topic: Nullpointer with no message
Replies: 10
Views: 3102

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.
by trianglehead
17 Dec 2016, 07:07
Forum: SFS2X Questions
Topic: Nullpointer with no message
Replies: 10
Views: 3102

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: ::...
by trianglehead
15 Sep 2016, 17:21
Forum: SFS2X Questions
Topic: Extension Reload Mode
Replies: 9
Views: 2414

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...
by trianglehead
15 Sep 2016, 17:05
Forum: SFS2X Questions
Topic: Extension Reload Mode
Replies: 9
Views: 2414

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...
by trianglehead
15 Sep 2016, 14:07
Forum: SFS2X Questions
Topic: Extension Reload Mode
Replies: 9
Views: 2414

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...
by trianglehead
15 Sep 2016, 14:04
Forum: SFS2X Questions
Topic: Extension Reload Mode
Replies: 9
Views: 2414

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.

Go to advanced search