Re: URLSession on iOS 10
Re: URLSession on iOS 10
- Subject: Re: URLSession on iOS 10
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Tue, 22 Nov 2016 10:40:33 +0000
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?
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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