imagemagick – VPS compression of images when compression rate is returned under load 0

I have a stupid problem .. can not find a solution ..
I have a VPS that compresses my images … 8 cores, 16 GB RAM …

However, if I send too many images at once, the compression rate 0 is returned.
Is there a setting in Linux where I could queuce the compression when the CPU, RAM is currently under load?

Any ideas?

Many Thanks!