[RabbitMQ] beam.smp high cpu load
2016-10-10 14:24
2176 查看
A customer reported a function is not working in our django app. That app runs using celery and RabbitMQ. I found out that the celery worker cannot receive tasks from RabbitMQ. Then I checked my RabbitMQ cluster, both servers in the cluster are having a very high cpu load.
I googled and found this article. It suggests the high cpu load may be caused by unused queues not being freed.
So I went though the official RabbitMQ doc and found the Queue TTL policy might be useful. TTL policy will delete unused queue after the expire time you specified.
You can set the policy via
This example will expire any queue in the default / vhost after it has been unused for 30 minutes.
I googled and found this article. It suggests the high cpu load may be caused by unused queues not being freed.
So I went though the official RabbitMQ doc and found the Queue TTL policy might be useful. TTL policy will delete unused queue after the expire time you specified.
You can set the policy via
rabbitmqctl set_policy expiry ".*" '{"expires":1800000}' --apply-to queues
This example will expire any queue in the default / vhost after it has been unused for 30 minutes.
相关文章推荐
- High CPU load on Linux with HP DP backup job
- Generate high cpuload on specified cpu core
- TTY Background causing high CPU load May 26th, 2009 · No Comments Using an old switch cisco C3548XL
- Reducing CPU problem caused due to high buffer gets (after large delete)
- linux CPU Load负载详解,lscpu详解
- linux CPU Load负载详解,lscpu详解
- Node Eviction due to OLOGGERD High CPU
- Unexpected High CPU Usage with WebLogic Server
- Basic Windbg - 3.High CPU的分析及诊断方法
- SMP系统linux下的进程绑定指定cpu
- 性能优化总结:CPU和Load、NIO以及多线程
- Understanding load average vs. cpu usage
- 2012.05.15.offer大图页小需求预发布出现cpuload过高问题排查
- 多核CPU、AMP和SMP
- High "Resmgr:Cpu Quantum" Wait Events In 11g Even When Resource Manager Is Disabled (文档 ID 949033.1)
- Linux芯片级移植与底层驱动(基于3.7.4内核) --SMP多核启动以及CPU热插拔驱动
- linux CPU Load负载详解,lscpu详解
- cpu load过高问题排查
- smpboot_register_percpu_thread_cpumask的作用
- java cpu load