Search found 90 matches

by trianglehead
12 Mar 2020, 14:20
Forum: SFS2X Questions
Topic: MMO Item Serialization
Replies: 2
Views: 7439

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: 7439

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: 22
Views: 23243

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: 22
Views: 23243

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: 22
Views: 23243

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: 22
Views: 23243

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: 8067

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: 8067

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: 8067

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 ...
by trianglehead
12 Jul 2019, 16:10
Forum: SFS2X Questions
Topic: Server Died.
Replies: 7
Views: 8067

Re: Server Died.

I also noticed a lot of these around the crash time: 8.3.123.139 - - [12/Jul/2019:07:31:00 +0000] "POST //xxxxx.net:####/BlueBox/BlueBox.do HTTP/1.1" 200 0 8.3.123.139 - - [12/Jul/2019:07:31:01 +0000] "POST //xxxxx.net:####/BlueBox/BlueBox.do HTTP/1.1" 200 7189 8.3.123.139 - - [1...
by trianglehead
12 Jul 2019, 15:09
Forum: SFS2X Questions
Topic: Server Died.
Replies: 7
Views: 8067

Server Died.

Hi I have been running this server for several months with no issue, I have had more players before and no issue. Today I noticed that the server died and there are no error logs. The last few lines of logs before it died are: 12 Jul 2019 | 06:33:13,286 | INFO | qtp1620187937-4690128 | bitswarm.sess...
by trianglehead
12 Jul 2019, 15:02
Forum: SFS2X C# API
Topic: Random crashes
Replies: 7
Views: 10775

Re: Random crashes[Closed]

It is something with Unity in the end. It is solved now. Case Closed!
by trianglehead
29 Jun 2019, 09:13
Forum: SFS2X C# API
Topic: Random crashes
Replies: 7
Views: 10775

Re: Random crashes

You mentioned it usually happens with 35+ users connected. What are these users doing? Are they all in the same Room? What is the update rate between clients and server? Yes all in the same room, I can't say what they are doing, the update rate is unknown when the crash happens. I just know that no...
by trianglehead
28 Jun 2019, 14:50
Forum: SFS2X C# API
Topic: Random crashes
Replies: 7
Views: 10775

Re: Random crashes

You mentioned it usually happens with 35+ users connected. What are these users doing? Are they all in the same Room? What is the update rate between clients and server? Yes all in the same room, I can't say what they are doing, the update rate is unknown when the crash happens. I just know that no...

Go to advanced search