Hi,
I've recently installed Calibre on a headless Ubuntu 22.04 server. My calibre-server service keeps getting killed by the OOM killer within 4 minutes of starting as stated in the systemctl status below. I'd greatly appreciate any advice to debug this problem.
Code:
root@calibre:~# systemctl status calibre-server
× calibre-server.service - calibre content server
Loaded: loaded (/etc/systemd/system/calibre-server.service; enabled; vendor preset: enabled)
Active: failed (Result: oom-kill) since Sun 2022-10-30 09:50:05 GMT; 1min 17s ago
Process: 3397 ExecStartPre=/bin/sleep 30 (code=exited, status=0/SUCCESS)
Process: 3398 ExecStart=/opt/calibre/calibre-server --enable-local-write --enable-auth /mnt/calibre/Books (code=kil>
Main PID: 3398 (code=killed, signal=KILL)
CPU: 2.445s
Oct 30 09:46:14 calibre systemd[1]: Starting calibre content server...
Oct 30 09:46:44 calibre systemd[1]: Started calibre content server.
Oct 30 09:46:45 calibre calibre-server[3398]: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-cali>
Oct 30 09:46:45 calibre calibre-server[3398]: calibre server listening on 0.0.0.0:8080
Oct 30 09:46:46 calibre calibre-server[3398]: OPDS feeds advertised via BonJour at: 192.168.1.5 port: 8080
Oct 30 09:50:05 calibre systemd[1]: calibre-server.service: A process of this unit has been killed by the OOM killer.
Oct 30 09:50:05 calibre systemd[1]: calibre-server.service: Main process exited, code=killed, status=9/KILL
Oct 30 09:50:05 calibre systemd[1]: calibre-server.service: Failed with result 'oom-kill'.
Oct 30 09:50:05 calibre systemd[1]: calibre-server.service: Consumed 2.445s CPU time.