confluentinc / demo-scene

👾Scripts and samples to support Confluent Demos and Talks. ⚠️Might be rough around the edges ;-) 👉For automated tutorials and QA'd code, see https://github.com/confluentinc/examples/
https://developer.confluent.io
Apache License 2.0
1.5k stars 896 forks source link

ksql-workshop #108

Closed husenzhang closed 4 years ago

husenzhang commented 4 years ago

elasticsearch /usr/local/bin/docker-entr ... Exit 78

rmoff commented 4 years ago

You'll need to provide a bit more context than that :)

What version are you running, on what machine, what do the logs say, etc.

husenzhang commented 4 years ago

:)

Description:    Ubuntu 18.04.3 LTS
Release:        18.04
Codename:       bionic
-----------------------------------------
KiB Mem : 32577552 total,  6598028 free, 15710732 used, 10268792 buff/cache
----------------------------------------------
~/demo-scene/ksql-workshop$ docker-compose ps
      Name                    Command                  State                              Ports
-----------------------------------------------------------------------------------------------------------------------
connect-debezium   /docker-entrypoint.sh start      Up             0.0.0.0:8083->8083/tcp, 8778/tcp, 9092/tcp, 9779/tcp
control-center     bash -c echo "Waiting two  ...   Up             0.0.0.0:9021->9021/tcp
datagen-ratings    bash -c echo Waiting for K ...   Up
elasticsearch      /usr/local/bin/docker-entr ...   Exit 78
kafka              /etc/confluent/docker/run        Up             0.0.0.0:9092->9092/tcp
kafka-connect      /etc/confluent/docker/run        Up (healthy)   0.0.0.0:18083->18083/tcp, 8083/tcp, 9092/tcp
kafkacat           sleep infinity                   Up
kibana             /usr/local/bin/kibana-docker     Up             0.0.0.0:5601->5601/tcp
ksql-cli           /bin/sh                          Up
ksql-server        /etc/confluent/docker/run        Up             0.0.0.0:8088->8088/tcp
mysql              docker-entrypoint.sh mysqld      Up             0.0.0.0:3306->3306/tcp, 33060/tcp
nginx              nginx -g daemon off;             Up             80/tcp, 0.0.0.0:8080->8080/tcp
schema-registry    /etc/confluent/docker/run        Up             8081/tcp
websockets         docker-entrypoint.sh bash  ...   Up             3000/tcp
zookeeper          /etc/confluent/docker/run        Up             2181/tcp, 2888/tcp, 3888/tcp
husenzhang commented 4 years ago

thanks robin. logs showed vm.max_map_count was too low. fixed the issue after:

sudo sysctl -w vm.max_map_count=262144

not sure if i need to do above command each time i log into the box

rmoff commented 4 years ago

Great, glad you sorted it. There's instructions here for making this config change permanent.