美文网首页
rabbitmq监控点

rabbitmq监控点

作者: 猴子精h | 来源:发表于2018-10-25 15:16 被阅读32次

生产环境配置注意点

Memory

rabbitMQ默认不接受新的message当内存使用量超过系统的40%, 默认配置:

{vm_memory_high_watermark, 0.4}

vm_memory_high_watermark的区间为: 0.40 to 0.66

Disk Space

disk_free_limit默认为50MB, 当系统硬盘空间低于这个值时, 就会导致节点失败数据丢失; 推荐配置如下:

mem_relative: 相对于内容的倍数

  • {disk_free_limit, {mem_relative, 1.0}} is the minimum recommended value
  • {disk_free_limit, {mem_relative, 1.5}} is a safer production value.
  • {disk_free_limit, {mem_relative, 2.0}} is the most conservative. production value.

Open File Handles Limit

Make sure your environment allows for at least ==50K== open file descriptors for effective RabbitMQ user, including in development environments.

相关文章

网友评论

      本文标题:rabbitmq监控点

      本文链接:https://www.haomeiwen.com/subject/rhqctqtx.html