I noticed the bot was no longer syncing and saw this in the console a few times and it looked like it crashed.
Failed to connect to SFTP server: can't start new thread
Error during sync: can't start new thread
Waiting for 120 seconds before the next sync
Starting periodic sync
Loading configuration files from directory: config
Loading configuration file: config/dev.yml
Loading configuration file: config/staging.yml
Loaded 2 configurations
Unknown exception: can't start new thread
Traceback (most recent call last):
File "/home/container/.local/lib/python3.10/site-packages/paramiko/transport.py", line 2151, in run
self.packetizer.start_handshake(self.handshake_timeout)
File "/home/container/.local/lib/python3.10/site-packages/paramiko/packet.py", line 259, in start_handshake
self.__timer.start()
File "/usr/local/lib/python3.10/threading.py", line 935, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread