From: HosseinSayyedMousavi (@HosseinSayyedMousavi) <noreply+HosseinSayyedMousavi@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #750: max_connections='10'
Date: Mon, 06 Jan 2025 06:46:59 +0000
Message-ID: <gh-pgvector-pgvector-750@github.com> (raw)
Hello, dear friends!
My project, which is running with the pgvector Docker image, has been facing the "too many connections already!" issue for a long time. Last week, I discovered that the file /var/lib/postgresql/data/postgresql.auto.conf, which is empty by default in PostgreSQL, had been modified, and the following line was added:
```
# Do not edit this file manually!
# It will be overwritten by the ALTER SYSTEM command.
max_connections = '10'
```
When I cleared this file before starting my project to restore the default PostgreSQL settings (```max_connections = 100```), my problem was resolved. Now the project is running smoothly, and the issue I've been dealing with for a year is completely gone.
I wanted to ask: Is there a specific reason this modification was made as part of development? Is there any chance that clearing this file might cause new issues in my project in the future?
Thank you!