Kibana server is not ready yet

I use this script for generating kibana and elastic with docker

version: "2"

services:

  zookeeper:

    image: wurstmeister/zookeeper:3.4.6

    ports:

      - "2181:2181"

  kafka:

    image: wurstmeister/kafka

    ports:

      - "9092:9092"

    environment:

      KAFKA_ADVERTISED_HOST_NAME: localhost

      KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181

      KAFKA_CREATE_TOPICS: "a:1:1,c:1:1"

    volumes:

      - /var/run/docker.sock:/var/run/docker.sock

         

  jobmanager:

    image: pyflink/playgrounds:1.10.0

    volumes:

      - ./examples:/opt/examples

    hostname: "jobmanager"

    expose:

      - "6123"

    ports:

      - "8088:8088"

    command: jobmanager

    environment:

     - |

        FLINK_PROPERTIES=

        jobmanager.rpc.address: jobmanager

  taskmanager:

    image: pyflink/playgrounds:1.10.0

    volumes:

      - ./examples:/opt/examples

    expose:

      - "6121"

      - "6122"

    depends_on:

      - jobmanager

    command: taskmanager

    links:

      - jobmanager:jobmanager

    environment:

    - |

        FLINK_PROPERTIES=

        jobmanager.rpc.address: jobmanager

        taskmanager.numberOfTaskSlots: 2

  

  elasticsearch0:

    restart: always

    image: docker.elastic.co/elasticsearch/elasticsearch:7.14.1

    container_name: elasticsearch

    ulimits:

      memlock:

        soft: -1

        hard: -1

    volumes:

      - data01:/usr/share/elasticsearch/data    

    ports:

      - 9200:9200

    networks:

      - es-net

    environment:

      - discovery.type=single-node

      - bootstrap.memory_lock=true

      - ES_JAVA_OPTS:"-Xms1g-Xmx1g"

      - refresh_rate=300s

      - MALLOCA_ARENA_MAX=4

  

  kibana:

    image: docker.elastic.co/kibana/kibana:7.14.1

    mem_limit: 9096m

    mem_reservation: 8096m

    container_name: kibana

    networks:

      - es-net

    environment:

      - "ELASTICSEARCH_HOSTS=http://elasticsearch:9200"     

      - "server.maxPayload=1653247624" 

      - "--max-old.space-size=4048"

      

    ports:

      - 5601:5601

    links:

      - elasticsearch0

volumes:

  data01:

    driver: local

networks:

  es-net:

    driver: bridge

kibana worked until I load 150MB of data and around 20 saved object generated with altair into 3 dashboards when I insert data system exload with out of memory error and then Kibana is not able to respond now everytime I launch docker compose return an error and I cnanot able to respond to it. How can I increase data of kibana?

Unfortunately you haven't provided any of the information that was asked in your previous thread, so I doubt a new thread with that information missing will be able to assist you.

version kibana and elastic is possible to see in the previos docker file 7.14.1. What happens I simply make the request to open kiabana app so localhost:5601. Exit code are 0 or 1 but caused by out of memory

log is the following

{"type":"log","@timestamp":"2021-09-10T07:31:14+00:00","tags":["info","plugins-service"],"pid":1212,"message":"Plugin \"metricsEntities\" is disabled."}

{"type":"log","@timestamp":"2021-09-10T07:31:14+00:00","tags":["warning","config","deprecation"],"pid":1212,"message":"Support for setting server.host to \"0\" in kibana.yml is deprecated and will be removed in Kibana version 8.0.0. Instead use \"0.0.0.0\" to bind to all interfaces."}

{"type":"log","@timestamp":"2021-09-10T07:31:14+00:00","tags":["warning","config","deprecation"],"pid":1212,"message":"plugins.scanDirs is deprecated and is no longer used"}

{"type":"log","@timestamp":"2021-09-10T07:31:14+00:00","tags":["warning","config","deprecation"],"pid":1212,"message":"Config key [monitoring.cluster_alerts.email_notifications.email_address] will be required for email notifications to work in 8.0.\""}

{"type":"log","@timestamp":"2021-09-10T07:31:14+00:00","tags":["warning","config","deprecation"],"pid":1212,"message":"\"xpack.reporting.roles\" is deprecated. Granting reporting privilege through a \"reporting_user\" role will not be supported starting in 8.0. Please set \"xpack.reporting.roles.enabled\" to \"false\" and grant reporting privileges to users using Kibana application privileges **Management > Security > Roles**."}

{"type":"log","@timestamp":"2021-09-10T07:31:14+00:00","tags":["info","http","server","NotReady"],"pid":1212,"message":"http server running at http://0.0.0.0:5601"}

{"type":"log","@timestamp":"2021-09-10T07:31:14+00:00","tags":["info","plugins-system"],"pid":1212,"message":"Setting up [106] plugins: [translations,taskManager,licensing,globalSearch,globalSearchProviders,banners,licenseApiGuard,code,usageCollection,xpackLegacy,telemetryCollectionManager,telemetryCollectionXpack,kibanaUsageCollection,securityOss,share,screenshotMode,telemetry,newsfeed,mapsEms,mapsLegacy,legacyExport,kibanaLegacy,embeddable,uiActionsEnhanced,expressions,charts,esUiShared,bfetch,data,savedObjects,visualizations,visTypeXy,visTypeVislib,visTypeTimelion,features,visTypeTagcloud,visTypeTable,visTypePie,visTypeMetric,visTypeMarkdown,tileMap,regionMap,presentationUtil,timelion,home,searchprofiler,painlessLab,grokdebugger,graph,visTypeVega,management,watcher,licenseManagement,indexPatternManagement,advancedSettings,discover,discoverEnhanced,dashboard,dashboardEnhanced,visualize,visTypeTimeseries,savedObjectsManagement,spaces,security,transform,savedObjectsTagging,lens,reporting,canvas,lists,ingestPipelines,fileUpload,maps,dataVisualizer,encryptedSavedObjects,dataEnhanced,timelines,dashboardMode,cloud,upgradeAssistant,snapshotRestore,fleet,indexManagement,rollup,remoteClusters,crossClusterReplication,indexLifecycleManagement,enterpriseSearch,eventLog,actions,alerting,triggersActionsUi,stackAlerts,ruleRegistry,osquery,ml,cases,securitySolution,observability,uptime,infra,monitoring,logstash,console,apmOss,apm]"}

{"type":"log","@timestamp":"2021-09-10T07:31:14+00:00","tags":["info","plugins","taskManager"],"pid":1212,"message":"TaskManager is identified by the Kibana UUID: 242f7a18-fc19-4e93-bcc0-dd911b2f68ed"}

{"type":"log","@timestamp":"2021-09-10T07:31:15+00:00","tags":["warning","plugins","security","config"],"pid":1212,"message":"Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}

{"type":"log","@timestamp":"2021-09-10T07:31:15+00:00","tags":["warning","plugins","security","config"],"pid":1212,"message":"Session cookies will be transmitted over insecure connections. This is not recommended."}

{"type":"log","@timestamp":"2021-09-10T07:31:15+00:00","tags":["warning","plugins","reporting","config"],"pid":1212,"message":"Generating a random key for xpack.reporting.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.reporting.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}

{"type":"log","@timestamp":"2021-09-10T07:31:15+00:00","tags":["warning","plugins","reporting","config"],"pid":1212,"message":"Chromium sandbox provides an additional layer of protection, but is not supported for Linux CentOS 8.4.2105\n OS. Automatically setting 'xpack.reporting.capture.browser.chromium.disableSandbox: true'."}

{"type":"log","@timestamp":"2021-09-10T07:31:15+00:00","tags":["warning","plugins","encryptedSavedObjects"],"pid":1212,"message":"Saved objects encryption key is not set. This will severely limit Kibana functionality. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}

{"type":"log","@timestamp":"2021-09-10T07:31:15+00:00","tags":["warning","plugins","actions","actions"],"pid":1212,"message":"APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}

{"type":"log","@timestamp":"2021-09-10T07:31:15+00:00","tags":["warning","plugins","alerting","plugins","alerting"],"pid":1212,"message":"APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}

{"type":"log","@timestamp":"2021-09-10T07:31:15+00:00","tags":["info","plugins","ruleRegistry"],"pid":1212,"message":"Write is disabled, not installing assets"}

{"type":"log","@timestamp":"2021-09-10T07:31:16+00:00","tags":["info","savedobjects-service"],"pid":1212,"message":"Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations..."}

{"type":"log","@timestamp":"2021-09-10T07:31:17+00:00","tags":["error","savedobjects-service"],"pid":1212,"message":"Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 172.27.0.2:9200"}

{"type":"log","@timestamp":"2021-09-10T07:31:21+00:00","tags":["info","savedobjects-service"],"pid":1212,"message":"Starting saved objects migrations"}

{"type":"log","@timestamp":"2021-09-10T07:31:22+00:00","tags":["info","savedobjects-service"],"pid":1212,"message":"[.kibana] INIT -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 51ms."}

{"type":"log","@timestamp":"2021-09-10T07:31:22+00:00","tags":["info","savedobjects-service"],"pid":1212,"message":"[.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 19ms."}

{"type":"log","@timestamp":"2021-09-10T07:31:22+00:00","tags":["info","savedobjects-service"],"pid":1212,"message":"[.kibana_task_manager] INIT -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 92ms."}

{"type":"log","@timestamp":"2021-09-10T07:31:22+00:00","tags":["info","savedobjects-service"],"pid":1212,"message":"[.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 15ms."}

{"type":"log","@timestamp":"2021-09-10T07:31:22+00:00","tags":["info","savedobjects-service"],"pid":1212,"message":"[.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 41ms."}

{"type":"log","@timestamp":"2021-09-10T07:31:22+00:00","tags":["info","savedobjects-service"],"pid":1212,"message":"[.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 13ms."}

{"type":"log","@timestamp":"2021-09-10T07:31:22+00:00","tags":["info","savedobjects-service"],"pid":1212,"message":"[.kibana_task_manager] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 480ms."}

{"type":"log","@timestamp":"2021-09-10T07:31:23+00:00","tags":["info","savedobjects-service"],"pid":1212,"message":"[.kibana_task_manager] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> DONE. took: 646ms."}

{"type":"log","@timestamp":"2021-09-10T07:31:23+00:00","tags":["info","savedobjects-service"],"pid":1212,"message":"[.kibana_task_manager] Migration completed after 1288ms"}

{"type":"log","@timestamp":"2021-09-10T07:31:28+00:00","tags":["info","savedobjects-service"],"pid":1212,"message":"[.kibana] Starting to process 19 documents."}

{"type":"log","@timestamp":"2021-09-10T07:31:28+00:00","tags":["info","savedobjects-service"],"pid":1212,"message":"[.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_TRANSFORM. took: 6594ms."}

{"type":"log","@timestamp":"2021-09-10T07:31:50+00:00","tags":["info","savedobjects-service"],"pid":1212,"message":"[.kibana] OUTDATED_DOCUMENTS_TRANSFORM -> TRANSFORMED_DOCUMENTS_BULK_INDEX. took: 21885ms."}

{"type":"log","@timestamp":"2021-09-10T07:31:52+00:00","tags":["info","savedobjects-service"],"pid":1212,"message":"[.kibana] TRANSFORMED_DOCUMENTS_BULK_INDEX -> FATAL. took: 2384ms."}

{"type":"log","@timestamp":"2021-09-10T07:31:52+00:00","tags":["error","savedobjects-service"],"pid":1212,"message":"[.kibana] migration failed, dumping execution log:"}

Then elasticsearch

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.