Funkwhale-server.service down. A process of this unit has been killed by the OOM killer

Hardware: VPS bought online
YunoHost version: 11.2.11.3 (stable)
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If your request is related to an app, specify its name and version: Funkwhale 1.4.0~ynh1

The Funkwhale server goes down and have to restart it. The problem occurs a few hours after I’ve uploaded a new podcast file. After I’ve restarted the server it remains up till I’ll upload a new podcast file.

Here are the logs: hastebin

OOM = Out Of Memory

It could be a memory leak due to the file upload, but also due to another app. Which apps have you also installed on your server?

I have Peerube and Mastodon installed but the problem occurs only after the file upload.

Hello tituspijean, I’ve tried this:
https://docs.funkwhale.audio/administrator/configuration/optimize.html

but the funkwhale-worker.service starts and then goes immediately down

Do you have any suggestions?

I’ve also added added Restart=on-failure in /etc/systemd/system/funkwhale-server.service in sections [Service]

Any suggestions on how to add swap space in YH?

free -h
total used free shared buff/cache available
Mem: 7.8Gi 2.4Gi 4.6Gi 106Mi 777Mi 5.0Gi
Swap: 0B 0B 0B

Thi is a part of the output after zgrep oom /var/log/syslog.*.gz command:

/var/log/syslog.2.gz:May 11 20:20:47 xmpp-it kernel: [3313618.256910] Out of memory: Killed process 2316422 (gunicorn) total-vm:3770196kB, anon-rss:3168664kB, file-rss:0kB, shmem-rss:0kB, UID:997 pgtables:6384kB oom_score_adj:0
/var/log/syslog.2.gz:May 11 20:20:52 xmpp-it systemd[1]: funkwhale-server.service: Failed with result ‘oom-kill’.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.