runtime error

Container logs:

2021-08-02 08:09:33.191 An update to the [server] config option section was detected. To have these changes be reflected, please restart streamlit.
Traceback (most recent call last):
  File "/home/user/.local/bin/streamlit", line 8, in <module>
    sys.exit(main())
  File "/home/user/.local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/user/.local/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/user/.local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/user/.local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/user/.local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/user/.local/lib/python3.8/site-packages/streamlit/cli.py", line 207, in main_run
    _main_run(target, args, flag_options=kwargs)
  File "/home/user/.local/lib/python3.8/site-packages/streamlit/cli.py", line 238, in _main_run
    bootstrap.run(file, command_line, args, flag_options)
  File "/home/user/.local/lib/python3.8/site-packages/streamlit/bootstrap.py", line 336, in run
    server.add_preheated_report_session()
  File "/home/user/.local/lib/python3.8/site-packages/streamlit/server/server.py", line 538, in add_preheated_report_session
    session = self._create_or_reuse_report_session(ws=None)
  File "/home/user/.local/lib/python3.8/site-packages/streamlit/server/server.py", line 572, in _create_or_reuse_report_session
    session = ReportSession(
  File "/home/user/.local/lib/python3.8/site-packages/streamlit/report_session.py", line 99, in __init__
    self._local_sources_watcher = LocalSourcesWatcher(
  File "/home/user/.local/lib/python3.8/site-packages/streamlit/watcher/local_sources_watcher.py", line 49, in __init__
    self._register_watcher(
  File "/home/user/.local/lib/python3.8/site-packages/streamlit/watcher/local_sources_watcher.py", line 89, in _register_watcher
    watcher=FileWatcher(filepath, self.on_file_changed),
  File "/home/user/.local/lib/python3.8/site-packages/streamlit/watcher/event_based_file_watcher.py", line 81, in __init__
    file_watcher.watch_file(file_path, on_file_changed)
  File "/home/user/.local/lib/python3.8/site-packages/streamlit/watcher/event_based_file_watcher.py", line 157, in watch_file
    folder_handler.watch = self._observer.schedule(
  File "/home/user/.local/lib/python3.8/site-packages/watchdog/observers/api.py", line 297, in schedule
    emitter.start()
  File "/home/user/.local/lib/python3.8/site-packages/watchdog/utils/__init__.py", line 93, in start
    self.on_thread_start()
  File "/home/user/.local/lib/python3.8/site-packages/watchdog/observers/inotify.py", line 118, in on_thread_start
    self._inotify = InotifyBuffer(path, self.watch.is_recursive)
  File "/home/user/.local/lib/python3.8/site-packages/watchdog/observers/inotify_buffer.py", line 35, in __init__
    self._inotify = Inotify(path, recursive)
  File "/home/user/.local/lib/python3.8/site-packages/watchdog/observers/inotify_c.py", line 155, in __init__
    Inotify._raise_error()
  File "/home/user/.local/lib/python3.8/site-packages/watchdog/observers/inotify_c.py", line 399, in _raise_error
    raise OSError(errno.EMFILE, "inotify instance limit reached")
OSError: [Errno 24] inotify instance limit reached