When you perform approximately 1000 tasks, the script hangs, top shows that Gearman loaded percents on 100%.
Googled
https://github.com/brianlmoon/GearmanManager/issues/13 where you need to change the value dedicated_only, but I can not find where is this config?
Has anyone faced this problem? How to solve it?