Hi everyone.
I have a server in my office and I have setup the nextcloud newest version 31. My server has 10cores vcpu,32GB RAM,250GB SSD
When I run preview generate in the server,the cpu usage will very high even system stopwork until eveything done.
Now Im have another server and try to move the previewgenerate to this server and make it work with mainserver together, So any suggestion or does anyone have samiler experience?
Preview generation is on demand (when not cached already) in Nextcloud. It sounds like you’re referring to the optional previewgenerator app. That app is mostly intended for offline pre-generation of previews in CPU constrained environments (where on-demand generation would be too slow for interactive users).
That app essentially tries to generate previews for every file in your environment ahead of time. It’ll inherently take a lot of CPU and run for a long time.
all this true just to adjust the expectations - previewgenerator app has some options to limit the load e.g. number of parallel threads to avoid overload… and the heavy task is more or less one-time - once you have all previews in place it must only process new files which are not many (usually).