-
Steps to reproduce
Expected behaviorThe files are deleted. Actual behaviorOne or more files are deleted, but a good chunk of them will error out because the server will be complaining about running out of Postgres connections. The Nextcloud installation will then be inaccessible for the next ~10 minutes (probably until the db connections are shut down). Host OSUbuntu 22.04.2 LTS Nextcloud AIO versionv6.2.1 Current channellatest Other valuable infoThe number of connections based on the formula will be ~110 connections I don't understand what could cause all of them to be depleted. Deleting the files one by one will not cause this behavior. I am the only person using this server, so it's not like many other users are hammering it. nextcloud-aio-database log
occ app:list
occ log:tail
Thanks for any ideas on how I could fix this! I intend to allow this server to be used by up to 10 people to occasionally upload and share files. Checking htop reveals that there is plenty of CPU/RAM to spare. I even set up an additional 2GB swap in case it would help, but it made no impact. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
I have the same issue, Postgres refuses additional connections. My feeling is this happens when someone is using Collabora in the Browser, but I can not be certain. |
Beta Was this translation helpful? Give feedback.
-
Hi, with collabora enabled you need 3gb ram as recommended in the AIO interface (2gb for starting correctly +1gb ram for stable operation.) Also see #1335 |
Beta Was this translation helpful? Give feedback.
-
Experienced this same issue today... similar set up to OP. I will increase RAM but it looked like there was enough. Oh and in my case it never recovered and the service never came back without intervention. |
Beta Was this translation helpful? Give feedback.
-
I have the same issue. My system has 4GB RAM. My instance has only 3 registered users. My setup is AIO 7.2.1 with default options (Collabora, Imaginary, Nextcloud Talk). For me as well, the service never came back without intervention. I am also concerned by the problem #3378 . Same issue? It seems that It has something to do with Collabora: if I remove it, I haven't this problem. |
Beta Was this translation helpful? Give feedback.
Hi, with collabora enabled you need 3gb ram as recommended in the AIO interface (2gb for starting correctly +1gb ram for stable operation.)
Also see #1335