美文网首页
ngx_slab_alloc() failed

ngx_slab_alloc() failed

作者: JoJo_wen | 来源:发表于2017-11-30 15:21 被阅读0次

报错

添加后端upstream的时候,有以下报错

nginx: [crit] ngx_slab_alloc() failed: no memory
nginx: [emerg] http upstream check_shm_size is too small, you should specify a larger size.

解决

nignx.conf 添加 check_shm_size 5m;

默认值为 1M,修改到5M

原因

[待加]

相关文章

网友评论

      本文标题:ngx_slab_alloc() failed

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