gatewayworker 有时候不进入worker

speakphp

我现在的部署方案是
我采用的是 gatewayWorker
1:一台register
2:一台 gateway
3:一台 worker服务
场景描述:
1:有的时候客户端发送消息的时候,我在worker里面的 onMessage里面
输出日志 ,这里压根不输出
服务端响应的还是之前的数据
我php版本是7.1 另外 opcache也关闭了 我在编译的时候 --disable-opcache

'./configure' '--prefix=/data/server/php' '--with-config-file-path=/data/server/php/etc' '--with-curl' '--with-freetype-dir' '--with-gd' '--with-gettext' '--with-iconv-dir' '--with-kerberos' '--with-libdir=lib64' '--with-libxml-dir' '--with-mysqli' '--with-openssl' '--with-pcre-regex' '--with-pdo-mysql' '--with-pdo-sqlite' '--with-pear' '--with-png-dir' '--with-xmlrpc' '--with-xsl' '--with-zlib' '--enable-fpm' '--enable-bcmath' '--enable-libxml' '--enable-inline-optimization' '--enable-gd-native-ttf' '--enable-mbregex' '--enable-mbstring' '--disable-opcache' '--enable-pcntl' '--enable-shmop' '--enable-soap' '--enable-sockets' '--enable-sysvsem' '--enable-xml' '--enable-zip' 
2356 1 0
1个回答

six

我觉得你应该在哪里还有businessWorker启动着,并且上面运行的老代码,所以才有这个问题。

  • 暂无评论
年代过于久远,无法发表回答
🔝