Hello!
I have repurposed an old Qnap NAS with 2GB of DDR3 RAM and an Intel Atom D525 running Debian 13. I have an issue with RAM usage after few minutes (it's idling in that time, no downloads are running) which renders the server unresponsive. Could this be some kind of a bug or this box is just underpowered for gopeed?
Aug 02 20:50:54 nas gospeed[1389]: Server start success on http://[::]:9999
Aug 02 21:18:12 nas gospeed[1389]: 2026/08/02 21:18:12 http: superfluous response.WriteHeader call from github.com/GopeedLab/gopeed/pkg/rest.writeError (api.go:407)
Aug 02 21:21:11 nas systemd[1]: Stopping gopeed.service - Gopeed Download Manager...
Aug 02 21:21:14 nas gospeed[1389]: Server is shutting down due to signal: terminated
Aug 02 21:21:16 nas systemd[1]: gopeed.service: Deactivated successfully.
Aug 02 21:21:16 nas systemd[1]: Stopped gopeed.service - Gopeed Download Manager.
**Aug 02 21:21:16 nas systemd[1]: gopeed.service: Consumed 4min 5.438s CPU time, 1.6G memory peak, 358.2M memory swap peak.**
This is my systemd service file:
[Unit]
Description=Gopeed Download Manager
Documentation=https://github.com/GopeedLab/gopeed
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=gopeed
Group=gopeed
ExecStart=/opt/gopeed/gopeed -c /etc/gopeed/config.json
WorkingDirectory=/opt/gopeed
Restart=always
RestartSec=5
# Logging to journal
StandardOutput=journal
StandardError=journal
SyslogIdentifier=gospeed
# Hardening
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/ZFS_Pool/ZFS_Download/Download /opt/gopeed
PrivateTmp=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
RestrictSUIDSGID=true
RemoveIPC=true
[Install]
WantedBy=multi-user.target
And this is my config file:
{
"address": "0.0.0.0",
"port": 9999,
"username": "gopeed",
"password": "",
"apiToken": "||||||||||||||||||||||||",
"storageDir": "",
"downloadConfig": {
"downloadDir": "/ZFS_Pool/ZFS_Download/Download",
}
"whiteDownloadDirs": ["/ZFS_Pool/ZFS_Download/Download"]
}
Hello!
I have repurposed an old Qnap NAS with 2GB of DDR3 RAM and an Intel Atom D525 running Debian 13. I have an issue with RAM usage after few minutes (it's idling in that time, no downloads are running) which renders the server unresponsive. Could this be some kind of a bug or this box is just underpowered for gopeed?
This is my systemd service file:
And this is my config file: