Ad Widget

Collapse

Reducing SSD write activity ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ianiovski
    Junior Member
    • Nov 2024
    • 4

    #1

    Reducing SSD write activity ?

    Hello, I bought a Raspberry Pi 5 and installed Zabbix 7.0 on it, I haven't added any devices to it yet, but I have constant activity on the MariaDB database on the SSD. Although it's small for now, in the future, won't this affect the state of the NVMe SSD by constantly writing to it, and the SSD activity LED on the RPI 5 is constantly blinking and annoying me?
    Attached Files
  • PavelZ
    Senior Member
    • Dec 2024
    • 162

    #2
    This is normal behavior. You can only reduce the number of keys and data stored in Zabbix.

    Many non-offical templates store unnecessary text data. If you exclude them, it will also help
    You can also try to reduce amount of write data in mysql, but this is somewhat dangerous
    (Please consult the documentation for each setting.)
    PHP Code:
    log_bin off
    innodb_doublewrite off
    innodb_flush_log_at_trx_commit 2 
    Last edited by PavelZ; 21-12-2024, 17:17.

    Comment

    • PavelZ
      Senior Member
      • Dec 2024
      • 162

      #3
      Originally posted by ianiovski
      I haven't added any devices to it yet, but I have constant activity on the MariaDB
      This is also understandable - usually during installation you get a host called "Zabbix server" which collects data about itself

      Comment

      Working...