def GetFdLimit():
  import resource
  return resource.getrlimit(resource.RLIMIT_NOFILE)
Returns a tuple of (soft_limit, hard_limit).
dataset/ETHPy150Open chromium/web-page-replay/platformsettings.py/GetFdLimit