Closed jvigna closed 13 years ago
mod_gearman spawns new worker every ~ 2 seconds. It will not spawn 100 worker immediatly when there are waiting jobs. It will increase the number of worker slowly. If you think the number of current worker is too low, maybe it helps to increase the idle timeout or the max-jobs parameter.
And yes, there was a bug in the old version. The new version only forks a shell if there are "bash" characters in your command line.
Btw, please use the mailing list for general questions :-)
closed
Hello,
I updated to version 0.9 from version 0.7pre and have seen now that the mod_gearman_worker somehow does not respect the min/max worker options or maybe you changed the behavior? I have 50 min and 100 max worker set and have seen that also if the waiting jobs was > 300 it spawned only 54 worker processes. Anyway it seems that 0.9 is much more performant then the 0.7 version as I reduced the load on the system a lot just updating to this new version!!!
Thanks a lot for your work!