Message from syslogd@localhost at Jan 2 22:01:37 ...
kernel:NMI watchdog: BUG: soft lockup - CPU#0 stuck for 27s! [kworker/u256:1:90397]
ERROR:
Can't find a suitable configuration file in this directory or any
parent. Are you in the right directory?
Supported filenames: docker-compose.yml, docker-compose.yaml
elasticsearch启动报错
ERROR: [1] bootstrap checks failed
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
解决办法 虚拟机内存我开始设置的1g,内存较小,我改成3g,重启了一下,然后进行命令设置;
解决:
切换到root用户
执行命令:
sysctl -w vm.max_map_count=262144
查看结果:
sysctl -a|grep vm.max_map_count
显示:
vm.max_map_count = 262144
[root@localhost ~]# docker-compose ps
ERROR:
Can't find a suitable configuration file in this directory or any
parent. Are you in the right directory?
Supported filenames: docker-compose.yml, docker-compose.yaml
[root@localhost ~]#