kunpengweb
故障排除
更新时间:2020/03/19 GMT+08:00
问题描述:运行Nginx过程中提示如下错误:
nginx: [crit] ngx_slab_alloc() failed: no memory nginx: [emerg] http upstream check_shm_size is too small, you should specify a larger size.
问题原因:检查后端服务器健康检查状态配置太多,导致默认缓存1M不够用。
解决方法:
在“nginx.conf”的http块中增加一条配置,设置缓存大小:
check_shm_size 50m;
父主题: 移植Tengine
