Coder Social home page Coder Social logo

All nodes in the cluster are crashed when multiple writing stress testing and 16 million total points written per second about influxdb-cluster HOT 4 CLOSED

chengshiwen avatar chengshiwen commented on July 28, 2024
All nodes in the cluster are crashed when multiple writing stress testing and 16 million total points written per second

from influxdb-cluster.

Comments (4)

chengshiwen avatar chengshiwen commented on July 28, 2024

@andyli029 This error seems to be caused by a lot of stress writing sources. Because one stress write source will make the cpu and memory of all data nodes become fully loaded, and multiple stress write sources will only cause all data nodes to go down.

from influxdb-cluster.

chengshiwen avatar chengshiwen commented on July 28, 2024

Additional information: 16 million total points written per second under 4 servers with 32C32GB

cat 2stress.sh
/usr/bin/influx-stress insert -r 200s --strict --pps 4000000 --host http://10.90.3.93:8086 >> /root/out_stress.log &
/usr/bin/influx-stress insert -r 200s --strict --pps 4000000 --host http://10.90.3.94:8086 >> /root/out_stress.log &
/usr/bin/influx-stress insert -r 200s --strict --pps 4000000 --host http://10.90.3.95:8086 >> /root/out_stress.log &
/usr/bin/influx-stress insert -r 200s --strict --pps 4000000 --host http://10.90.3.96:8086 >> /root/out_stress.log &

The performance requirements for this write are very challenging.

from influxdb-cluster.

andyli029 avatar andyli029 commented on July 28, 2024

@chengshiwen
Maybe I find the core reason: OOM

Mar 14 21:18:03 kernel: Out of memory: Kill process 17944 (influxd) score 847 or sacrifice child
Mar 14 21:18:03 kernel: Killed process 17944 (influxd), UID 0, total-vm:33462440kB, anon-rss:28731572kB, file-rss:0kB, shmem-rss:0kB

the Cluster with replica 2 use more mem than the Cluster with replica 1.

from influxdb-cluster.

chengshiwen avatar chengshiwen commented on July 28, 2024

This kind of crash problem is OOMKilled, which is similar to the #19 issue.

image

from influxdb-cluster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.