ValueError: Current limit exceeds maximum limit

Hi I have encountered a problem while I was trying to launch the jupyter notebook at terminal. It showed an error that I have never encountered before:
resource.setrlimit(resource.RLIMIT_NOFILE, (soft, hard))
ValueError: current limit exceeds maximum limit
It seems to be reporting error at the init_resources function of the notebook
How shall I fix the problem? I am using Mac Catalina system. Thank you!