-
September 7th, 2017, 04:58 PM
#1
MacOS 2.1.2 client creating too many threads?
Hi, I have observed situations when the server has issues allowing connections (either takes too long or maxing out), the MacOS client would try to reconnect repeatedly and eventually spawned up hundreds of threads, spiking up the CPU and bringing the app to a halt. Is there best practices/connection options to avoid this? We are using standard configurations/options with only these customizations:
self.client.connectionOptions.maxBandwidth= @"100";
_subscription= [[LSSubscription alloc] initWithSubscriptionMode:@"DISTINCT" items:_itemNames fields:_fieldNames];
_subscription.dataAdapter= @"IL_DEFAULT";
_subscription.requestedSnapshot= @"no";
_subscription.requestedMaxFrequency= @"unlimited";
We don't have server 6.1 yet so we can't use websocket.
Similar Threads
-
By kpturner in forum Adapter SDKs
Replies: 2
Last Post: November 29th, 2012, 12:30 PM
-
By anilkumar2508 in forum Adapter SDKs
Replies: 1
Last Post: October 19th, 2012, 09:03 AM
-
By spganesh in forum Client SDKs
Replies: 5
Last Post: July 12th, 2010, 10:12 AM
-
By mnenchev in forum General
Replies: 3
Last Post: September 29th, 2009, 08:54 AM
-
By codingvn in forum Client SDKs
Replies: 5
Last Post: July 17th, 2008, 10:01 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 10:52 PM.
Bookmarks