Why lies Gearman?

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?
June 8th 19 at 17:22
2 answers
June 8th 19 at 17:24
If loading on a donkey load of approximately 1,000 pounds, he falls to the ground and cannot rise.
Googled that donkey need to upgrade, but I can not find how to do it.
Has anyone faced this problem? How to solve it?
And? Herman pulls 1K tasks? - Ellen_Bashirian68 commented on June 8th 19 at 17:27
At the same time so few people pull. - Jerad_Padbe commented on June 8th 19 at 17:30
well the reason is should something be? Leap like a sharp, i.e., for example 900 task is running with zero load, and 1,000 with 100% - Ellen_Bashirian68 commented on June 8th 19 at 17:33
well in fact, each task is a separate process. - Ellen_Bashirian68 commented on June 8th 19 at 17:36
June 8th 19 at 17:26
The people help! Pay the money)

Herman hangs on 1027 task, despite the fact that 1026 CPU is not eating at all. 1027 and the first 100 jumps, and then jumps from 70 to 100.
And he died, no longer meets.

May be the OS or PHP limits the number of processes? 1 task = 1 process.
Killed the gearman process. The scripts in the background also work, but in German they're gone. Obviously is some limit on the performance of tasks... - Ellen_Bashirian68 commented on June 8th 19 at 17:29
The problem was solved. In the logs it was Herman says that I was missing some files.
Googling, I found an article https://statusengine.org/tutorials/gearman-to-many...

PS. Enough to do the first thing and restart the server. - Jerad_Padbe commented on June 8th 19 at 17:32

Find more questions by tags GearmanMySQLPHP