Please remove "Setting max connections" in postgresql container. #3055
-
all-in-one/Containers/postgresql/start.sh Line 153 in b076d5e Can you please either remove this, or add a You ask why?This limitation seems to block that deployment of all-in-one from being used in production, or for more than three users, or for more that 1TB of files... what ever that means, the amount of connections hit this limit and the stalls the server. When I remove this limitation, this stalling and freezing-up of the system does not happen, but the moment and update runs, and my "hack" gets removed... we are back at freezing mode. So if this is a critical feature then please add a global ENV option for us to set this to a value of our choosing. I have read many forum posts around this topic and I am not sure why this should even be a question in a OpenSource project with GNU AFFERO GENERAL PUBLIC LICENSE. As this very agreement allows the end-user all the freedom they need, and since this limit prevent some of that freedom, I would strongly recommend it be made adjustable. Please :) |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 8 replies
-
We have something better in mind: #3021 |
Beta Was this translation helpful? Give feedback.
-
You could already try this: #3030 (comment) and report back if it works |
Beta Was this translation helpful? Give feedback.
-
This is my little hack: How to fix the MAX_CONNECTIONS limitThis causes the system to freeze/hang when many activity is done on the system. The default seems way to low, (350+-) I bump it to (2500) but I think we can even take it higher. You will need access the server!Open the master container:
Then edit this file:
Look for the object of the database:
To edit:
Then add the following mount point (check the last volume /start.sh):
When done editing the file:
Then to save changes:
To close vi editor:
Check the file on the parent system:
That it is up to date with:
But update the following line that says: (Setting max connections...): Change it to the following:
You can make it more... if 2500 is still not high enough. Once all that is done, restart the whole system, go to:
Click on Open Nextcloud AIO Interface ↗ and stop all containers and start them all again. If you can't access
|
Beta Was this translation helpful? Give feedback.
-
I have been following the changes made to the system in the last two months closely and I am not sure why things are increasingly getting harder for us to override the defaults of the various containers. I realize there must be some good objective but one of the changes made... like this one: 581456b does not make sense to me. Why add this command: Yet this stops us from adding a simpler solution to the above issue. So hope you understand why it all seems weird to me. Previously it was easy to just change the But like I said there must be so good objective here, its just messing with us little guys I suppose... do you mind explaining the objective, or point me to the road map? |
Beta Was this translation helpful? Give feedback.
-
@szaimen this is disappointing. The issue remains unresolved, and your abuse of administrative rights is enough to alienate us from you. |
Beta Was this translation helpful? Give feedback.
The issue seems to now be resolved, thank you! @szaimen can mark this (reply) now as the correct answer.