Verification Agent fails to spawn container: NanoCPUs error on Synology DS918+ (J3455 DSM7.3/7.4)
Author: www766Created Sep 26, 2026Updated Sep 26, 2026
Labelsbug
Describe the bug
When running restore verification task, verification-agent fails to create temporary PostgreSQL container.
Error message: spawn container: create container: Error response from daemon: NanoCPUs can not be set, as your kernel does not support CPU CFS scheduler or the cgroup is not mounted
Environment
- Device: Synology DS918+ (Intel J3455)
- DSM version: 7.3 / 7.4
- Container Manager (Docker): Synology official package
- Databasus verification-agent version: 3.60.0
- Agent startup arguments:
--max-cpu=2 --max-ram-mb=2048 --max-disk-gb=20 --max-concurrent-jobs=1 --allow-insecure-http=true
Root cause
- Synology DS918+ uses customized 3.10 Linux kernel without
CONFIG_CGROUP_CFSenabled. Upgrading DSM 7.3 →7.4 does not change the underlying kernel. - When
max-cpu >=1is configured, agent calculates and passesNanoCPUsparameter to Docker for the temporary verification container. - Old Synology kernel does not support CFS CPU quota, Docker rejects the NanoCPUs parameter and container creation fails.
- There is a hard validation in agent:
max-cpumust be >=1, cannot set to 0. - No available flag to skip sending NanoCPUs to docker container.
- This issue is not limited to old Synology DSM. A large number of current NAS systems including many Synology DSM installations and fnOS (飞牛OS) also lack CFS CPU scheduler support in their default kernel configuration. These systems fully support Docker/Container Manager for container runtime, memory limits and disk quota, but cannot accept NanoCPUs parameter. Adding this option will make verification-agent compatible with a wide range of popular NAS platforms.
Expected feature request
Add a startup flag to skip applying CPU limit to temporary docker containers.
- Keep
max-cpuvalue for agent internal resource budget & concurrency calculation (to pass validation) - Do NOT pass NanoCPUs parameter to Docker when creating temporary container.
Synology older Intel NAS models support memory and disk limits in Container Manager, only missing CFS CPU scheduler. This feature will make verification-agent compatible with these devices.
Additional information
PostgreSQL backup function works perfectly. Only the restore verification feature is affected.
Source: databasus/databasus