I’ve got a few decently-specced Synology servers out there that seem to be constantly running with nearly 100% CPU usage caused by synoelasticd. This task is the main process behind Synology Universal Search.
From what I’ve read, the issues often occur when you have a large number of files stored on your NAS (this one in particular has around 4 – 5 million files) and there are a large number of results configured to be cached.
To fix this, ssh into the NAS and then edit the file var/packages/SynoFinder/etc/settings
In this file, find the line with max_search_hit_count
and change the value from the default down to something considerably lower. In my case, I changed it from 100,000 down to 10,000 and this seems to have fixed the issue.
Once you’ve saved the changes, reload the config via /var/packages/SynoFinder/target/tool/synoelastic -a reload_settings
or reboot your NAS.
Give it another 5-10 minutes to see if the CPU usage has returned to an acceptable level.
hi ! do i need to be logged as root ? I’m not allowed to edit settings file as admin user…
Hi Stephane,
You need to use sudo to elevate yourself to have root privileges. Log in via ssh and then enter something like:
sudo vi var/packages/SynoFinder/etc/settings
If you don’t like vi, you can install SynoCli File Tools which comes with nano – a far more friendly text editor:
https://andyyang.co.uk/how-to-install-nano-on-synology-nas/
Hi ! thats exactly what I did ! Apparently it solved my problem. Thx a lot !