docs: def set_file_limits(n):
      '''
      Set the limit on number of file descriptors
      that this process can open.
  
      '''
  
      try:
          resource.setrlimit(resource.RLIMIT_NOFILE, (n, n))
          return True
      except ValueError:
          return False