I want to set a new limit of possible open files with the command:
import resource
resource.setrlimit(RLIMIT_NOFILE, (resource.RLIM_INFINITY, resource.RLIM_INFINITY))
However, I'm getting an error: ValueError: current limit exceeds maximum limit
Is there any way to overcome this and set a new limit on OS X?