Search found 38 matches

by dhuang11
16 Sep 2015, 12:37
Forum: SFS2X C++ API
Topic: Crash reports
Replies: 18
Views: 34572

Crash reports

Using the C++ API, we are seeing 3 types of crashes being reported on our iOS app using SFS2X 1.1.6: Thread : Crashed: Thread 0 A iOS 0x0000000100fa3cc8 boost::asio::detail::kqueue_reactor::start_op(int, int, boost::asio::detail::kqueue_reactor::descriptor_state*&, boost::asio::detail::reactor_o...
by dhuang11
20 Aug 2015, 10:44
Forum: SFS2X C++ API
Topic: Possible Deadlock in C++ API?
Replies: 2
Views: 9646

Possible Deadlock in C++ API?

We are seeing some situations (infrequent - but does happen), where SmartFox appears to be deadlocked between locks in ThreadManager, mtxDisconnect, and mutexes for reading from TCPClient. Everything stops responding but the app doesn't crash. Please see the attached 2 screenshots showing where this...
by dhuang11
17 Aug 2015, 08:41
Forum: SFS2X C++ API
Topic: C++ HRC Not Working
Replies: 9
Views: 16483

Re: C++ HRC Not Working

Patch looks good.

Still waiting for feedback on the 3rd part of this issue.

Thanks.
by dhuang11
13 Aug 2015, 03:01
Forum: SFS2X C++ API
Topic: C++ HRC Not Working
Replies: 9
Views: 16483

Re: C++ HRC Not Working

Thanks. We'll give the patch a try and report back.
by dhuang11
10 Aug 2015, 11:12
Forum: SFS2X Questions
Topic: Specifying Bitswarm Packet Priority
Replies: 1
Views: 3308

Specifying Bitswarm Packet Priority

Hello, http://docs2x.smartfoxserver.com/Overview/zones-room-architecture The above page discusses the ability to specific Bitswarm packet priorities for USER_COUNT_CHANGE messages. It doesn't describe how or where this is configured. How would we go about reducing the Bitswarm packet priority for US...
by dhuang11
09 Aug 2015, 12:13
Forum: SFS2X Questions
Topic: UserCountChangeUpdateInterval not working
Replies: 3
Views: 4752

Re: UserCountChangeUpdateInterval not working

Hi -

Sorry - I know what's wrong. Our mistake. We were programmatically setting the zone's userCountChangeUpdateInterval which would cause it to ignore the XML setting.
by dhuang11
09 Aug 2015, 08:47
Forum: SFS2X Questions
Topic: UserCountChangeUpdateInterval not working
Replies: 3
Views: 4752

Re: UserCountChangeUpdateInterval not working

Hi -

Thanks for the response. The way you are testing is exactly how we are testing. We are seeing realtime even when set to a very high value such as 30000. What else could we be missing?
by dhuang11
08 Aug 2015, 14:59
Forum: SFS2X Questions
Topic: UserCountChangeUpdateInterval not working
Replies: 3
Views: 4752

UserCountChangeUpdateInterval not working

We've set <userCountChangeUpdateInterval>5000</userCountChangeUpdateInterval> for a specific zone to help reduce bandwidth consumption. However, we are still seeing SFSEvent.USER_COUNT_CHANGE events being fired in real time. We've tried changing that setting from 1000 to 10000 and nothing ever seems...
by dhuang11
03 Aug 2015, 09:55
Forum: SFS2X C++ API
Topic: C++ HRC Not Working
Replies: 9
Views: 16483

Re: C++ HRC Not Working

Hi! Thanks for the follow-up. We can get CONNECTION_RESUME to fire now after making our changes to the C++ API (detailed in the previous post). Basically the C++ client needed to do a disconnect first and cleanup the previous underlying socket before retrying connection. What lead me to believe that...
by dhuang11
03 Aug 2015, 07:52
Forum: SFS2X C++ API
Topic: C++ HRC Not Working
Replies: 9
Views: 16483

Re: C++ HRC Not Working

Ok so in response to previous post and what we've tried, if we don't send the previous sessionToken in the handshake during a reconnection using a secondary/different line, then we are able to get a response to the handshake request we send. So this confirms that SmartFox server keeps sessions keyed...
by dhuang11
03 Aug 2015, 06:42
Forum: SFS2X C++ API
Topic: C++ HRC Not Working
Replies: 9
Views: 16483

Re: C++ HRC Not Working

Ok we have a working fix (I think) On top of calling a Disconnect() as mentioned in the previous post, we also changed the following: void TCPClient::Shutdown() { boost::lock_guard<boost::recursive_mutex> lock(mtxDisconnection); // Cancel all asynchronous operations associated with the socket // boo...
by dhuang11
31 Jul 2015, 07:46
Forum: SFS2X C++ API
Topic: C++ HRC Not Working
Replies: 9
Views: 16483

C++ HRC Not Working

Hi I'm trying to get C++ HRC working but am not having any luck. This is how we are testing: 1. Use SmartFox::killConnection() to simulate a connection going away - this is tied to a button inside our game 2. When we trigger a killConnection(), we see that the CONNECTION_RETRY event is fired in the ...
by dhuang11
22 May 2015, 09:37
Forum: SFS2X Questions
Topic: 2.10.0 CPU usage is NaN%
Replies: 2
Views: 3919

2.10.0 CPU usage is NaN%

Just installed the latest SFS2X 2.10.0 patch on a Linux server. The CPU utilization in the SFS2X Administration dashboard shows as NaN% now.

See the attached screenshot.
by dhuang11
11 Mar 2015, 03:35
Forum: SFS2X C++ API
Topic: Issue when other user leaves room
Replies: 2
Views: 6981

Re: Issue when other user leaves room

Thank you - we removed our 'hack' and updated with the changes you posted. It's all behaving as expected now.
by dhuang11
11 Mar 2015, 03:32
Forum: SFS2X Questions
Topic: 100K CCU Whitepaper Question
Replies: 1
Views: 3388

100K CCU Whitepaper Question

Hi- Have a question about the 100K CCU white paper. It mentions that during the 100K CCU test, ~18000 Rooms are created. It doesn't mention anything about the 18000 Rooms being segregated into Room Groups. Were Room Groups used for that test or were all ~18000 Rooms running under the "default&q...

Go to advanced search