Gearman 无法连接到服务器
有谁知道 Gearman 中可能导致此问题的原因是什么?
PHP 警告:GearmanClient::doBackground(): gearman_connection_flush:无法连接
我正在尝试连接到另一台服务器来运行 gearman 任务,并且我正在使用 PECL PHP Gearman 包。
Does anyone have any idea what could be causing this problem in Gearman?
PHP Warning: GearmanClient::doBackground():
gearman_connection_flush:could not connect
I am trying to connect to another server to run a gearman task and I am using the PECL PHP Gearman package.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个老问题,但对于遇到此问题的任何人来说:您的 Gearman 守护进程可能没有运行。首先执行 gearmand -d 来设置守护进程,然后启动工作进程,最后运行客户端代码。
It's an old question, but for anyone who encounters this: your Gearman daemon may not be running. Do
gearmand -d
to set up the daemon first, then start your worker process, then finally run the client code.