Open
Description
This issue has been migrated from #16716.
Description
When upgrading, it doesn't look like we're able to upgrade pass v1.92.1, since v1.92.2 is now using debian bookworm. Under bookworm, we're seeing this issue when we try to run the stack: docker-library/python#835
Would it be possible to add a -bullseye
specific docker image release for newer versions, until the upstream Docker issue is resolved?
Steps to reproduce
Docker version: 20.10.5
runc
version: 1.0.0-rc93
libseccomp2
: 2.5.1-1ubuntu1~20.04.2
Matrix version attempted: v1.97.0
Homeserver
matrix.tech-bloc-sea.dev
Synapse Version
1.92.1
Installation Method
Docker (matrixdotorg/synapse)
Database
Postgres, single server
Workers
Single process
Platform
Ubuntu 20.04.6
Configuration
No response
Relevant log output
synapse | 2023-12-01 20:56:17,771 - synapse.app._base - 267 - CRITICAL - sentinel - Error during startup
synapse | Traceback (most recent call last):
synapse | File "/usr/local/lib/python3.11/site-packages/synapse/app/_base.py", line 252, in wrapper
synapse | await cb(*args, **kwargs)
synapse | File "/usr/local/lib/python3.11/site-packages/synapse/app/homeserver.py", line 364, in start
synapse | await _base.start(hs)
synapse | File "/usr/local/lib/python3.11/site-packages/synapse/app/_base.py", line 526, in start
synapse | resolver_threadpool.start()
synapse | File "/usr/local/lib/python3.11/site-packages/twisted/python/threadpool.py", line 178, in start
synapse | self.adjustPoolsize()
synapse | File "/usr/local/lib/python3.11/site-packages/twisted/python/threadpool.py", line 331, in adjustPoolsize
synapse | self._team.grow(self.min - self.workers)
synapse | File "/usr/local/lib/python3.11/site-packages/twisted/_threads/_team.py", line 126, in grow
synapse | @self._coordinator.do
synapse | ^^^^^^^^^^^^^^^^^^^^
synapse | File "/usr/local/lib/python3.11/site-packages/twisted/_threads/_threadworker.py", line 109, in do
synapse | working.pop(0)()
synapse | File "/usr/local/lib/python3.11/site-packages/twisted/_threads/_team.py", line 129, in createOneWorker
synapse | worker = self._createWorker()
synapse | ^^^^^^^^^^^^^^^^^^^^
synapse | File "/usr/local/lib/python3.11/site-packages/twisted/_threads/_pool.py", line 66, in limitedWorkerCreator
synapse | return ThreadWorker(startThread, Queue())
synapse | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
synapse | File "/usr/local/lib/python3.11/site-packages/twisted/_threads/_threadworker.py", line 51, in __init__
synapse | startThread(work)
synapse | File "/usr/local/lib/python3.11/site-packages/twisted/_threads/_pool.py", line 60, in startThread
synapse | return threadFactory(target=target).start()
synapse | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
synapse | File "/usr/local/lib/python3.11/threading.py", line 964, in start
synapse | _start_new_thread(self._bootstrap, ())
synapse | RuntimeError: can't start new thread
synapse | Error during startup:
synapse | Traceback (most recent call last):
synapse | File "/usr/local/lib/python3.11/site-packages/synapse/app/_base.py", line 252, in wrapper
synapse | await cb(*args, **kwargs)
synapse | File "/usr/local/lib/python3.11/site-packages/synapse/app/homeserver.py", line 364, in start
synapse | await _base.start(hs)
synapse | File "/usr/local/lib/python3.11/site-packages/synapse/app/_base.py", line 526, in start
synapse | resolver_threadpool.start()
synapse | File "/usr/local/lib/python3.11/site-packages/twisted/python/threadpool.py", line 178, in start
synapse | self.adjustPoolsize()
synapse | File "/usr/local/lib/python3.11/site-packages/twisted/python/threadpool.py", line 331, in adjustPoolsize
synapse | self._team.grow(self.min - self.workers)
synapse | File "/usr/local/lib/python3.11/site-packages/twisted/_threads/_team.py", line 126, in grow
synapse | @self._coordinator.do
synapse | ^^^^^^^^^^^^^^^^^^^^
synapse | File "/usr/local/lib/python3.11/site-packages/twisted/_threads/_threadworker.py", line 109, in do
synapse | working.pop(0)()
synapse | File "/usr/local/lib/python3.11/site-packages/twisted/_threads/_team.py", line 129, in createOneWorker
synapse | worker = self._createWorker()
synapse | ^^^^^^^^^^^^^^^^^^^^
synapse | File "/usr/local/lib/python3.11/site-packages/twisted/_threads/_pool.py", line 66, in limitedWorkerCreator
synapse | return ThreadWorker(startThread, Queue())
synapse | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
synapse | File "/usr/local/lib/python3.11/site-packages/twisted/_threads/_threadworker.py", line 51, in __init__
synapse | startThread(work)
synapse | File "/usr/local/lib/python3.11/site-packages/twisted/_threads/_pool.py", line 60, in startThread
synapse | return threadFactory(target=target).start()
synapse | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
synapse | File "/usr/local/lib/python3.11/threading.py", line 964, in start
synapse | _start_new_thread(self._bootstrap, ())
synapse | RuntimeError: can't start new thread
Anything else that would be useful to know?
We saw this exact issue with another one of our service: OrcaCollective/OpenOversight#332