Re: URLSession on iOS 10
Re: URLSession on iOS 10
- Subject: Re: URLSession on iOS 10
- From: Rick Mann <email@hidden>
- Date: Tue, 22 Nov 2016 03:17:11 -0800
> On Nov 22, 2016, at 02:40 , Quinn The Eskimo! <email@hidden> wrote:
>
>
> On 22 Nov 2016, at 09:00, Quinn The Eskimo! <email@hidden> wrote:
>
>> Do you know the nature of these files? You can determine this using `lsof`, as described in this DevForums thread.
>
> [Rick sent me the `lsof` output via email.]
>
> The `lsof` output shows 241 (!) file descriptors used for TCP sockets, all to the same host. That’s /way/ too high. Each session should have its own internal limit to the number of connections it opens to a given host; you can pin this using `HTTPMaximumConnectionsPerHost` (which is typically 4) but it’s also pinned by the internal workings on NSURLSession. It seems that this pin has come unstuck )-:
>
> How you modify `HTTPMaximumConnectionsPerHost` at all?
I had it set to 24. I tried setting it to 4, but I still get the problem.
Note that set at 24, it works in iOS 9.3.
--
Rick Mann
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden