You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the docker-compose (and by extension, a real database) wont keep getting agents and fill up ram, it will have a db error. Signs of possibly not using pooled db connections and it runs out.
memgpt_server-1 | File "/app/.venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
memgpt_server-1 | return _ConnectionRecord(self)
memgpt_server-1 | ^^^^^^^^^^^^^^^^^^^^^^^
memgpt_server-1 | File "/app/.venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 674, in init
memgpt_server-1 | self.__connect()
memgpt_server-1 | File "/app/.venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
memgpt_server-1 | with util.safe_reraise():
memgpt_server-1 | File "/app/.venv/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 146, in exit
memgpt_server-1 | raise exc_value.with_traceback(exc_tb)
memgpt_server-1 | File "/app/.venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
memgpt_server-1 | self.dbapi_connection = connection = pool._invoke_creator(self)
memgpt_server-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
memgpt_server-1 | File "/app/.venv/lib/python3.12/site-packages/sqlalchemy/engine/create.py", line 643, in connect
memgpt_server-1 | return dialect.connect(*cargs, **cparams)
memgpt_server-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
memgpt_server-1 | File "/app/.venv/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 620, in connect
memgpt_server-1 | return self.loaded_dbapi.connect(*cargs, **cparams)
memgpt_server-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
memgpt_server-1 | File "/app/.venv/lib/python3.12/site-packages/pg8000/init.py", line 111, in connect
memgpt_server-1 | return Connection(
memgpt_server-1 | ^^^^^^^^^^^
memgpt_server-1 | File "/app/.venv/lib/python3.12/site-packages/pg8000/legacy.py", line 456, in init
memgpt_server-1 | raise cls(msg)
memgpt_server-1 | sqlalchemy.exc.ProgrammingError: (pg8000.dbapi.ProgrammingError) {'S': 'FATAL', 'V': 'FATAL', 'C': '53300', 'M': 'sorry, too many clients already', 'F': 'proc.c', 'L': '357', 'R': 'InitProcess'}
https://memgpt.readme.io/reference/list_agents_api_agents_get
The text was updated successfully, but these errors were encountered: