LaRosch writes

Recoll uses nice, er, nicely, but, for computers that can get too hot, it would be good to be able to set Recoll to use a maximum, user-definable, percentage of the CPU.

medoc writes

I don’t know how to do this actually. If you know of an open-source program which does it, I’ll be glad to copy their solution.

LaRosch writes

medoc writes

I’ve thought again about this, and I don’t think that an application-level solution is a good idea: this would suppose that either Recoll is the only app which can use a lot of CPU, or that all CPU-using apps have a similar setting, neither of which is realistic in general.

I think that the right approach here is to use system-level CPU throttling, based on actual CPU temperature. There are a number of scripts around which apparently can do this. https://askubuntu.com/questions/171397/limit-cpu-usage-in-terms-of-temperature

Or just use cpulimit to throttle recollindex: I don’t see much advantage in duplicating the function internally.

Thanks for reporting the issue anyway, it is a valid concern, I just don’t think that an app-level approach is right.

Cheers,

jf