Comments (6)
- 使用workerman官方文档的busy排查方案,上传一下busy相关的信息
- 上传一下该队列的配置信息,包括QOS、timerInterval等参数
from webman-rqueue.
strace -ttp 18881
lsof -nPp 18881
from webman-rqueue.
redis 的connection是正常的,延迟队列也是用的这个配置是没有问题的
from webman-rqueue.
你的队列看起来很正常,没问题;
poll timeout是正常的;
我进行测试后,没有复现你的问题,是否能给一个稳定的测试样例?
尝试使用status -d观察是否长时间busy
from webman-rqueue.
status -d 刚开始是busy 然后就正常了。如果不加-d 就是busy
from webman-rqueue.
status是定时器捕获状态,假设在workman事件刚好发生阻塞事件(php大多数io都是阻塞的,如PDO),那么就会显示busy;
-d是轮询查询,所以能观察的更仔细;
刚开始busy,我认为是redis创建连接等阻塞操作造成的,当连接成功创建后,消费者的timer就正常进行消费了,如你的timer handler中存在阻塞,那么这个时候进行status查询,也将会是busy,直到handler执行完,workerman的event就将接管业务。
from webman-rqueue.
Related Issues (11)
- 延迟队列CPU占用高 HOT 7
- _header['_delete'] 消息释放如何理解? HOT 1
- 可用于生产环境吗? HOT 1
- 支持php8.0+吗? HOT 1
- 为rqueue增加psr/log及日志收集部分
- 完善webman-rqueue的消费者测试
- 增加对pending状态数据的处理
- republish的优化 HOT 1
- 释放消息bug
- 建议延迟队列增加一个重新发送覆盖前一个任务的功能 HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webman-rqueue.