Synology backup or restore failed with error: too many open files

Symptoms

  • Backup or restore failed with an error message in the job report, or as a web interface notification:

    CONFIG_TEXT: too many open files

  • The endpoint is a Synology NAS device.
  • Comet agent version is older than 26.4.5 Phoebe.
  • Other symptoms on the same device:
    • Scheduled backups are Skipped or Missed. A manual run shows "not yet started".
    • An error notification appears in the lower right corner of the web interface when you open the Protected Item to change the file selection.
    • The restore screen is stuck while loading the files to select, or the folders appear only after about 30 minutes and browsing between them is also stuck. Restoring from another device with the agent installed works.

Cause

This is product bug with ID COMET-59478, which has already been fixed in 26.5.3 Voyager, and 26.4.5 Phoebe.

Due to a bug in leaving stale sockets open, Comet's process reached the operating system's open file handle limit.

Resolution

Upgrade the Comet agent on the NAS device to 26.5.3 Voyager or 26.4.5 Phoebe.

Until you can upgrade, use one of the following workarounds:

  • Reboot the NAS device, or restart all backup-tool processes via SSH. After the restart, backups and file selection work again, but the issue can reoccur after some time.
  • To restore data while the NAS is affected, restore from another device with the Comet agent installed, signed in with the credentials of the user that owns the backup data.
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.