Re: Open Transport cannot allocate enough system resources
Re: Open Transport cannot allocate enough system resources
- Subject: Re: Open Transport cannot allocate enough system resources
- From: Quinn <email@hidden>
- Date: Mon, 28 Oct 2002 13:37:43 +0000
At 2:00 +1300 29/10/02, Andrew Bush wrote:
After about 15 minutes of reusing endpoints I begin to get this error:
kENOSRErr -3271 Open Transport cannot allocate enough system
resources (usually stream messages) to meet your request.
I answered this one a while back.
[...] you're hitting the per process limit of the number of open
file descriptors. Each endpoint has an underlying socket, which
consumes a file descriptor. Each process is limited to 256 open
file descriptors by default. There is a BSD-ish way to increase
this limit, but I'm on the road so I don't have any references
handy. Maybe someone more familiar with BSD could chime in.
Look at "man setrlimit" for details on how to fix.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.