[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的健康检查以后,出现了这种情况
1条答案
按热度按时间agyaoht71#
设置的check_shm_size太小了
在http块中增加一条配置:
check_shm_size 40m;
不够就再加大