Search found 65 matches

by trianglehead
24 Jun 2020, 15:28
Forum: SFS2X Questions
Topic: Strange Errors
Replies: 4
Views: 280

Re: Strange Errors

1.) I have atop and sar and longview and the smartfox console. The CPU is not that much affected, if I look on a graph it's only slightly above normal. Just that people are all experiencing massive lag and can't play anymore and disconnect. Only thing I see is that during that hour the disk space us...
by trianglehead
23 Jun 2020, 15:10
Forum: SFS2X Questions
Topic: Strange Errors
Replies: 4
Views: 280

Re: Strange Errors

But the server grinded to a halt and most players could not play. What can I do? Also this Exception: java.lang.IllegalArgumentException Message: Incoming request size too large: 773866597, Current limit: 500000, From: { Id: 1934697, Type: DEFAULT, Logged: No, IP: 136.34.145.163:48442 } That's a lar...
by trianglehead
23 Jun 2020, 01:20
Forum: SFS2X Questions
Topic: Strange Errors
Replies: 4
Views: 280

Strange Errors

I have noticed these logs and it's made the server unstable during these times. It's happen a couple of times since I upgraded to Smartfox 2.16 from 2.13. Not sure if that's coincidence. I also moved from Amazon to Linode. Other than that, I haven't changed anything. One of them looks like a repeate...
by trianglehead
27 May 2020, 11:29
Forum: SFS2X Questions
Topic: [NEW] SFS2X 2.16.0 is available!
Replies: 22
Views: 1241

Re: [NEW] SFS2X 2.16.0 is available!

I had thought that's the case. But what about when I startup with 16G xmx the server will not start and process is very high when I use uptime in linux and I could not login to the web console at all until I change the jvm options down to 12G xmx.
by trianglehead
26 May 2020, 20:29
Forum: SFS2X Questions
Topic: [NEW] SFS2X 2.16.0 is available!
Replies: 22
Views: 1241

Re: [NEW] SFS2X 2.16.0 is available!

Hi! I just upgraded to this version nice works! I have noticed 2 issues. 1.) When I set JVM xmx to 16g on my server with 32g ram. The CPU is very high constantly with 0 users. When I set the xmx to 8 g, it works fine. 2.) When the server manages to work with xmx8g I still notice a tomcat CPU time is...
by trianglehead
12 Mar 2020, 14:20
Forum: SFS2X Questions
Topic: MMO Item Serialization
Replies: 2
Views: 3943

Re: MMO Item Serialization

Lapo wrote:Hi,
sorry there is no direct serialization support.
As you suggested, you need to introspect the properties you want to save and serialize them manually.

Cheers

Shoot! OK Thanks.
by trianglehead
11 Mar 2020, 22:48
Forum: SFS2X Questions
Topic: MMO Item Serialization
Replies: 2
Views: 3943

MMO Item Serialization

Hi, I have a game where there can be different MMOItems in the MMORoom, like vehicles etc. I want to persist these into a datasource periodically because if the server shuts down I want those items to be restored with their positions, and variable when I restart the server. All the code is ready, ex...
by trianglehead
16 Jan 2020, 13:38
Forum: SFS2X Questions
Topic: Proximity Manager really big
Replies: 8
Views: 1283

Re: Proximity Manager really big

Thank you for reply. Self is a sfs user object of the user who made this call. I had changed this since last reboot so the original list no longer gets modified as I suspected that to be the cause. But still the bloat happens. This is how I changed it since last reboot but problem persists. list = m...
by trianglehead
15 Jan 2020, 19:01
Forum: SFS2X Questions
Topic: Proximity Manager really big
Replies: 8
Views: 1283

Re: Proximity Manager really big

Hi. Thanks for replying. I only join room like this: getApi().joinRoom(sfUser, rooms.get(0)); Specs are EC2 c5.2xlarge with 16 gigs ram which I allocate 8 gigs, but the specs are not the issue, I got another game running on Smartfox with 7-10x the ccu. But does not use MMORoom and can run for months...
by trianglehead
15 Jan 2020, 16:13
Forum: SFS2X Questions
Topic: Proximity Manager really big
Replies: 8
Views: 1283

Re: Proximity Manager really big

Hi. So I had to restart the server, and let the server run again as it grinded to a halt. With the same amount of user base, around 100-150 ccu all day everyday, the MMORoom object just keeps growing over time. Currently it has run for 7 days, and the object grew to 2g in size. First couple days whe...
by trianglehead
07 Jan 2020, 02:30
Forum: SFS2X Questions
Topic: Proximity Manager really big
Replies: 8
Views: 1283

Proximity Manager really big

Hi! I am noticing the ProximityManager bloating and eventually causes performance issues, CPU spiking, etc. I wonder if this following code causes this issue: list = mroom.getProximityList(u); if(list!=null) { list.add(u);// I think prox list doesn't include self, and we have coded everything to ass...
by trianglehead
15 Jul 2019, 15:17
Forum: SFS2X Questions
Topic: Server Died.
Replies: 7
Views: 1243

Re: Server Died.

Thanks for the helps! I have now set the max heap size to 3/4 of the available system memory and over the weekend with higher traffic than the traffic during the 2 crash incidents and it has survived. Hopefully that's all! Just for record's sake I've answered the questions. The JVM allocates RAM bas...
by trianglehead
13 Jul 2019, 13:50
Forum: SFS2X Questions
Topic: Server Died.
Replies: 7
Views: 1243

Re: Server Died.

If I don't set the max ram what is the default? I think I had set it for my previous game because it was needed. Lots of cache objects when over 1000 CCU. Also I don't use websockets. But I have patched to that latest version indeed.
by trianglehead
13 Jul 2019, 01:14
Forum: SFS2X Questions
Topic: Server Died.
Replies: 7
Views: 1243

Re: Server Died.

Thanks alot. Looks like it's memory. Those threads are normal. I have another game with much higher user base that reserves these thread pools and they don't cause issue. This game is just a clone of the other game but with currently low user base so I'm leaving all those threads the same. This had ...

Go to advanced search