tengine http upstream check_shm_size is too small, you should specify a larger size

bmp9r5qi  于 4个月前  发布在  其他
关注(0)|答案(1)|浏览(48)

[root@kkb-new-proxy-1 vhosts]# /data/nginx/sbin/nginx -t
nginx: the configuration file /data/nginx/conf/nginx.conf syntax is ok
nginx: [crit] ngx_slab_alloc() failed: no memory
nginx: [emerg] http upstream check_shm_size is too small, you should specify a larger size.
nginx: configuration file /data/nginx/conf/nginx.conf test failed

这这是啥情况啊,添加了nginx的健康检查以后,出现了这种情况

agyaoht7

agyaoht71#

设置的check_shm_size太小了
在http块中增加一条配置:
check_shm_size 40m;
不够就再加大

相关问题