How can I limit the process count for preview generation?

Nextcloud version (eg, 20.0.5): 23.0.4
Operating system and version (eg, Ubuntu 20.04): Debian 11
PHP version (eg, 7.4): 8.0

While the ‘Preview generator’ app makes previews for image files sequentially, the preview generation invoked by the web interface uses PHP pool, RAM, and CPU, as much as possible.

This task takes a long time on my system (RPi 4B), so all users experience slow service. How can I restrict the PHP process count for this task?

No chance to limit it AFAIK. After some hours it should be done :stuck_out_tongue_winking_eye: