Seafile pro 7.1.7 error 1040 ‘too many connections’

Good morning all,
I have errors in my seafile.log which are starting to get very annoying …
This blocks me the web interface with “errors”.
With teleworking we obviously have more and more connections.
Any idea to fix that?
thank you for everything
(sorry for flood)

Seafile log

Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/core/handlers/exception.py”, line 41, in inner
response = get_response(request)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/core/handlers/base.py”, line 249, in _legacy_get_response
response = self._get_response(request)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/core/handlers/base.py”, line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/core/handlers/base.py”, line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/views/decorators/csrf.py”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/views/generic/base.py”, line 68, in view
return self.dispatch(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/seahub/api2/base.py”, line 23, in dispatch
response = super(APIView, self).dispatch(*a, **kw)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/rest_framework/views.py”, line 505, in dispatch
response = self.handle_exception(exc)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/seahub/api2/base.py”, line 20, in handle_exception
return super(APIView, self).handle_exception(exc)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/rest_framework/views.py”, line 465, in handle_exception
self.raise_uncaught_exception(exc)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/rest_framework/views.py”, line 476, in raise_uncaught_exception
raise exc
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/rest_framework/views.py”, line 493, in dispatch
self.initial(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/rest_framework/views.py”, line 410, in initial
self.perform_authentication(request)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/rest_framework/views.py”, line 324, in perform_authentication
request.user
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/rest_framework/request.py”, line 220, in user
self._authenticate()
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/rest_framework/request.py”, line 373, in _authenticate
user_auth_tuple = authenticator.authenticate(self)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/seahub/api2/authentication.py”, line 65, in authenticate
ret = self.authenticate_v2(request, key)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/seahub/api2/authentication.py”, line 92, in authenticate_v2
token = TokenV2.objects.get(key=key)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/db/models/manager.py”, line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/db/models/query.py”, line 374, in get
num = len(clone)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/db/models/query.py”, line 232, in len
self._fetch_all()
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/db/models/query.py”, line 1121, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/db/models/query.py”, line 53, in iter
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/db/models/sql/compiler.py”, line 887, in execute_sql
cursor = self.connection.cursor()
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/db/backends/base/base.py”, line 254, in cursor
return self._cursor()
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/db/backends/base/base.py”, line 229, in _cursor
self.ensure_connection()
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/db/backends/base/base.py”, line 213, in ensure_connection
self.connect()
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/db/utils.py”, line 94, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/utils/six.py”, line 685, in reraise
raise value.with_traceback(tb)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/db/backends/base/base.py”, line 213, in ensure_connection
self.connect()
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/db/backends/base/base.py”, line 189, in connect
self.connection = self.get_new_connection(conn_params)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/django/db/backends/mysql/base.py”, line 274, in get_new_connection
conn = Database.connect(**conn_params)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/pymysql/init.py”, line 94, in Connect
return Connection(*args, **kwargs)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/pymysql/connections.py”, line 327, in init
self.connect()
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/pymysql/connections.py”, line 588, in connect
self._request_authentication()
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/pymysql/connections.py”, line 853, in _request_authentication
auth_packet = self._read_packet()
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/pymysql/connections.py”, line 676, in _read_packet
packet.raise_for_error()
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/pymysql/protocol.py”, line 223, in raise_for_error
err.raise_mysql_exception(self._data)
File “/opt/seafile/seafile-pro-server-7.1.7/seahub/thirdpart/pymysql/err.py”, line 107, in raise_mysql_exception
raise errorclass(errno, errval)
django.db.utils.OperationalError: (1040, ‘Too many connections’)