I have just installed the Audio Player app and I noticed that it seems to take all of the available RAM. As a consequence, I had to restart my Nextcloud server several times. I don’t understand what is going on and I don’t know how to diagnose it properly (which logs to read, etc…). Could you help me?
For information, I run Nextcloud with docker-compose on a Raspberry Pi 3 (1 Go RAM) and I have 6000+ mp3 files in my Music folder (which was scanned by the Audio Player). Don’t hesitate to ask me if you need additional information.
Hello,
how do you know that AP takes all of your ram?
what are you doing to get into this condition? the scan is already completed? do you use a database or sqlite?
Thank you for your quick response. After installing the app, I did the scan and it has completed. I noticed that whenever I open the app’s webpage, the RAM starts to increase on my server. To see that, I had a console running htop and docker stats at the same time. I had to stop the Nextcloud container to release the memory.
I use a Postgres DB. To be more accurate, here is my docker-compose file:
Hello
I am also using a Pi with several AP users in parallel.
Could you please open the console and check if you find a running network request that could lead us to the issue?
Finally, it might not be linked to AP. I have just got into the same situation while simply navigating on Nextcloud (Activity tab, then Tasks). AP is disabled so I know that it is not linked to it. Currently, the Nextcloud container’s memory is full…
So it seems that, for some reason, Nextcloud tries to allocate all of the available memory. I had limited the RAM but not the swap, so it filled everything it could. How can I understand what happened? Should I open another thread since it is not related to Audio Player?
It happened again. I was on the Activity tab, I clicked on the Files icon, and it filled the memory and the swap (which I fortunately limited as well this time).