I have a project in which I am converting a large amount of .tif images into PDF documents. File count goes into millions. To speed up the process I am using Amphp. Since the process of converting the images with Imagemagick takes up some cpu power I want to limit the maximum amount of parallel running converter processes. My first