code: def test_fiber_with_more_than_1024_fds(self):
      # select.select can't handle fd >= 1024
      # https://stackoverflow.com/questions/7328165/how-do-you-compile-python-with-1024-file-descriptors
      import resource
  
      resource.setrlimit(resource.RLIMIT_OFILE, (8192, 8192))
  
      socks = []
      for i in range(1023):
          s = socket.socket(socket.AF_INET)
          socks.append(s)
  
      p = fiber.Process(
          target=time.sleep,
          args=(10,),
          name="test_fiber_with_more_than_1024_fds",
      )
      p.start()
  
      # if select is used, we should see errors like:
      # `ValueError: filedescriptor out of range in select()`
      print(p.exitcode)
  
      p.terminate()
  
file_path: fiber/tests/test_popen.py
imports: import multiprocessing
  import io
  import re
  import time
  import logging
  import socket
  import fiber
  import fiber.popen_fiber_spawn
  import docker
  import pytest
label_desc: Use image node_id 7 for calling the TestPopen obj's underlying member method code with example usage: obj.test_fiber_with_more_than_1024_fds() without return types