Coder Social home page Coder Social logo

Comments (6)

ketomagasaki avatar ketomagasaki commented on July 21, 2024 1

I assume it's the logs that are filling up the storage space and eventually causing the container to crash.

What command or technique can I use to purge the logs? I searched for a method in the documentation but couldn't find one. With this information, I could establish a log purging routine.

from galera-manager-support.

fa11er avatar fa11er commented on July 21, 2024

I also have a problem with the disk being full. How can I get this under control? How long is the log kept? How can I influence this?

from galera-manager-support.

ayurchen avatar ayurchen commented on July 21, 2024

Hi, unfortunately at the moment these things can't be controlled. Galera Manager collects one month of data (metrics and logs) so that it can be displayed and analyzed even when a node is lost, so it depends on how chatty your nodes are. Please check if you have general or slow logs enabled on the nodes. Having said that, we have not encountered memory usage anywhere near that. My influxd RES at the moment sits at 150Mb and its been running for a few days. We need a way to reproduce the issue. So any usage "tips" are welcome.

from galera-manager-support.

ketomagasaki avatar ketomagasaki commented on July 21, 2024

Hi,

I shut down the Galera Manager container a few days ago to prevent it from filling its disk. Currently, with 3 nodes, Influx DB is taking up 6.4 GB out of the container's 7.64 GB:

image

image

Since I added storage space to 10 Go, there have been no RAM problems.

I haven't found how to "slow down" log provisioning.
In /etc/default/influxdb2:

INFLUXD_CONFIG_PATH=/etc/influxdb/config.toml
INFLUXD_HTTP_BIND_ADDRESS=127.0.0.1:8086
INFLUXD_FLUX_LOG_ENABLED=false
INFLUXD_LOG_LEVEL=error
INFLUXD_METRICS_DISABLED=true
INFLUXD_REPORTING_DISABLED=true
INFLUXD_UI_DISABLED=true

In the meantime, while looking for a solution and to avoid losing this container, I keep it turned off and only switch it on when I need to make modifications to the cluster.

from galera-manager-support.

ayurchen avatar ayurchen commented on July 21, 2024

I haven't found how to "slow down" log provisioning. In /etc/default/influxdb2:

INFLUXD_CONFIG_PATH=/etc/influxdb/config.toml
INFLUXD_HTTP_BIND_ADDRESS=127.0.0.1:8086
INFLUXD_FLUX_LOG_ENABLED=false
INFLUXD_LOG_LEVEL=error
INFLUXD_METRICS_DISABLED=true
INFLUXD_REPORTING_DISABLED=true
INFLUXD_UI_DISABLED=true

It is not about InfuxDB, it is about how much your mysql servers log. E.g. if you have

'mysql_native_password' is deprecated and will be removed in a future release.

reported for every client connection, you may have a lot of logs.

from galera-manager-support.

ketomagasaki avatar ketomagasaki commented on July 21, 2024

Okay,

However, do you have any idea what I should do? Because I can't understand what type of log is causing the saturation. Is there a way to find out? Or even a configuration file?

from galera-manager-support.

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.