Unable to run “gearman” command line tool with gearman 1.1.6

元气小坏坏 提交于 2019-12-04 19:25:20
Andrey Rubshtein

Ok, It looks like the answer in here was the key to success. Probably, the "getting started" section was not updated for a while. Indeed, one must specify a port explicitly for gearmand and gearman .

Server:

 sudo gearmand -p 5000

Worker:

 gearman -p 5000 -w -f wc -- wc -l 

Client:

 gearman -p 5000 -f wc < /etc/passwd
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!