| 配置 | client-output-buffer-limit normal |
|---|---|
| 默认 | 0 0 0(不限制) |
| 建议 | 按返回集上限评估后设置 |
示例
示例
redis-cli CONFIG GET client-output-buffer-limit
redis-cli CLIENT LIST不限制是默认取舍:配合 maxmemory-clients 提供整体兜底更稳妥。
普通客户端的输出缓冲默认不设限或限制宽松,大量积压会直接吃掉实例内存;按业务响应速度设置合理上限能防患于未然。
| 配置 | client-output-buffer-limit normal |
|---|---|
| 默认 | 0 0 0(不限制) |
| 建议 | 按返回集上限评估后设置 |
redis-cli CONFIG GET client-output-buffer-limit
redis-cli CLIENT LIST