Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道在 Gearman 中可能导致此问题的原因是什么?
PHP 警告:GearmanClient::doBackground(): gearman_connection_flush: 无法连接
我正在尝试连接到另一台服务器以运行 gearman 任务,并且我正在使用 PECL PHP Gearman 包。
这是一个老问题,但对于遇到这个问题的人来说:你的 Gearman 守护进程可能没有运行。gearmand -d首先设置守护进程,然后启动您的工作进程,最后运行客户端代码。
gearmand -d