Message197231
> R. David Murray added the comment:
>
> See also issue issue 17409.
>
> The code isn't setting it to RLIM_INFINITY explicitly, though, so this must mean that OSX is reporting an infinite hard limit when the hard limit is not in fact infinite. Seems like this is an OSX bug that we will have to work around somehow.
Indeed.
I saw this while testing on "custom" buildbots, and opted for the
simplest solution: I added a @require_mac_version decorator, hoping
this would be solved in recent OSX versions. Apparently not :)
As a simple check, does the following work on OSX ?
>>> limit = resource.getrlimit(resource.RLIMIT_NOFILE)
>>> resource.setrlimit(resource.RLIMIT_NOFILE, limit)
Does the attached patch solve this? |
|
Date |
User |
Action |
Args |
2013-09-08 08:37:38 | neologix | set | recipients:
+ neologix, ned.deily, r.david.murray |
2013-09-08 08:37:38 | neologix | link | issue18963 messages |
2013-09-08 08:37:37 | neologix | create | |
|