Search found 58 matches

by ApolloMeijer
26 Jul 2017, 10:59
Forum: SFS2X Questions
Topic: User.getId value on USER_LOGIN
Replies: 2
Views: 5657

Re: User.getId value on USER_LOGIN

Oke thanks, I found a workaround for it so we are good now!
by ApolloMeijer
26 Jul 2017, 09:46
Forum: SFS2X Questions
Topic: User.getId value on USER_LOGIN
Replies: 2
Views: 5657

User.getId value on USER_LOGIN

Hey guys!

Is it possible that I can get the User.getId variable from this object
http://docs2x.smartfoxserver.com/api-do ... /User.html

in the USER_LOGIN handler? I know I can get it from the USER_JOIN_ZONE but I lost my parameters there.

thanks
by ApolloMeijer
28 Apr 2017, 06:58
Forum: SFS2X Questions
Topic: When to change thread pool settings?
Replies: 6
Views: 7670

Re: When to change thread pool settings?

Hey The 2 servers do not connect through local networking, we found a few issues with the way we call the API so we are working on that. Another thing that popped up during our investigating is that the outgoing messages queue is having huge spikes at any ccu, happens at 400 ccu and at 1600 ccu. out...
by ApolloMeijer
25 Apr 2017, 13:08
Forum: SFS2X Questions
Topic: When to change thread pool settings?
Replies: 6
Views: 7670

Re: When to change thread pool settings?

I was reading my post again and noticed I said "So we have 400 schedulers" This is not true, we have 400 tasks scheduled (for every room one)
by ApolloMeijer
25 Apr 2017, 07:27
Forum: SFS2X Questions
Topic: When to change thread pool settings?
Replies: 6
Views: 7670

Re: When to change thread pool settings?

Hey Lapo! We use version 2.10.0 We do not delegate the API calls to the thread on this scheduler but the update of our game runs on this scheduler and in this update we do the API requests. For each room we create the scheduler for the update function and only do one API call at once in this single ...
by ApolloMeijer
24 Apr 2017, 16:50
Forum: SFS2X Questions
Topic: When to change thread pool settings?
Replies: 6
Views: 7670

When to change thread pool settings?

Hey guys! We have a few issues recently with the amount of time it takes for the smartfox extension to complete a https call to our API. I am wonderign in what case it would be wise to increase the threads in our server settings? We have a round 2500 concurrent active users playing. We are calling t...
by ApolloMeijer
20 Apr 2016, 14:31
Forum: SFS2X C# API
Topic: Smartfox read failure error on standalone
Replies: 1
Views: 4300

Smartfox read failure error on standalone

Hey guys, Yesterday one of our Q/A guys reported this crash to us, but we can not reproduce it. This happend on a standalone build with unity 5.3.4 the output said this.. really general error [SFS - ERROR] [TCPSocketLayer] General error reading data from socket: Read failure at System.Net.Sockets.Ne...
by ApolloMeijer
22 Apr 2015, 20:20
Forum: SFS2X C# API
Topic: WebGL SSL Issue
Replies: 22
Views: 31077

Re: WebGL SSL Issue

For some reason i couldn't PM you or find a email to send you specific. We would be happy to help you test it tomorrow, We will have it running in facebook canvas for testing (yes, it makes a difference, facebook is so strict) . you can send the DLL files to a.meijer@orangegames.com. We will provide...
by ApolloMeijer
22 Apr 2015, 15:07
Forum: SFS2X C# API
Topic: WebGL SSL Issue
Replies: 22
Views: 31077

Re: WebGL SSL Issue

Hey guys

We have the exact same issue! Any updates??
This is currently the only thing still keeping us from release the game on Facebook.
We use unity 5.0.1f1.
by ApolloMeijer
14 Jan 2015, 09:45
Forum: SFS2X Questions
Topic: Memory leak on ReentrantLock$NonfairSync / ConcurrentHashMap
Replies: 9
Views: 10318

Re: Memory leak on ReentrantLock$NonfairSync / ConcurrentHas

To add some additional information. We have 2 servers with both a 5000 licence on them, one server is backup for when the primary server is going down or when we want to do a update without maintenance. Last night i drained all users from the primary server to the backup server and made the backup o...
by ApolloMeijer
13 Jan 2015, 23:30
Forum: SFS2X Questions
Topic: Memory leak on ReentrantLock$NonfairSync / ConcurrentHashMap
Replies: 9
Views: 10318

Re: Memory leak on ReentrantLock$NonfairSync / ConcurrentHas

The 900 + mb is used memory, the server currently uses 300~. Within 10 days it will run up to 900mb ~ with the same with about the same server load.
by ApolloMeijer
13 Jan 2015, 18:20
Forum: SFS2X Questions
Topic: Memory leak on ReentrantLock$NonfairSync / ConcurrentHashMap
Replies: 9
Views: 10318

Re: Memory leak on ReentrantLock$NonfairSync / ConcurrentHas

I have assigned 2G mem to the server now and tomorrow we will deploy a new update so i will monitor from that point and update this thread.
Thanks for helping.
by ApolloMeijer
13 Jan 2015, 16:43
Forum: SFS2X Questions
Topic: Memory leak on ReentrantLock$NonfairSync / ConcurrentHashMap
Replies: 9
Views: 10318

Re: Memory leak on ReentrantLock$NonfairSync / ConcurrentHas

Hey,

I have added a image of the dashboard.
In the code i can't find anything when i search for "ConcurrentMap".
We use HashMaps to store some stuff in the extension but we don't share anything with other extensions or high level zones.
by ApolloMeijer
13 Jan 2015, 14:15
Forum: SFS2X Questions
Topic: Memory leak on ReentrantLock$NonfairSync / ConcurrentHashMap
Replies: 9
Views: 10318

Re: Memory leak on ReentrantLock$NonfairSync / ConcurrentHas

We took a heapdump because the memory keeps growing. Although with 250 rooms (all using there own extension) we had about 950mb memory usage and the the max is 1GB memory and cpu was going up to 90% every 10 sec. I figured out that because of a bug the event listeners like "addEventHandler(SFSE...
by ApolloMeijer
13 Jan 2015, 13:11
Forum: SFS2X Questions
Topic: Memory leak on ReentrantLock$NonfairSync / ConcurrentHashMap
Replies: 9
Views: 10318

Memory leak on ReentrantLock$NonfairSync / ConcurrentHashMap

Hey, The memory in our servers was slowly building up. We run with about 500 concurrent users for 14 days a test and it resulted in a heap dump showing us the information in the image attached. In our serverside custom extention we do not use ConcurrentHashMaps. Any suggestions on what could be caus...

Go to advanced search