Ad Widget

Collapse

disk space growth

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jvdb
    Junior Member
    • Feb 2022
    • 23

    #1

    disk space growth

    Hi,

    The disk space on our server is currently growing really fast.. since last week its been growing by GB's daily.
    I have attached a screenshot.

    We haven't changed anything during that time and I can't seem to pinpoint why this is happening.
    Attached Files
  • KevG
    Junior Member
    • May 2023
    • 8

    #2
    Hi,

    Can you share a screenshot of the command : df -h (on zabbix server)

    To see how your disk is built.

    Thanks

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #3
      Is the zabbix database located on the same disk? is this a growing base?

      Perhaps some process writes a lot of information to logs - check the directory with logs (usually /var/log).
      use the du utility to determine the space occupied by directories (or better, install the ncdu utility - it is much more convenient and clearer)​

      Comment

      • jvdb
        Junior Member
        • Feb 2022
        • 23

        #4
        KevG
        Click image for larger version  Name:	image.png Views:	0 Size:	32.1 KB ID:	465562
        this is how the disk is build up

        Hamardaban
        The database is on the same disk, although it didn't grow so fast at all in the last months since we installed a new server with a fresh installation of zabbix.
        this is currently in our /var/log directory:
        Click image for larger version  Name:	image.png Views:	0 Size:	134.8 KB ID:	465564

        Quite a lot of logs, but not really big.


        I have checked the database location for Zabbix and notice the audit log is 100GB:
        Click image for larger version

Name:	image.png
Views:	2465
Size:	128.9 KB
ID:	465565
        ​although we have the audit set to 7 days and i have ran housekeeping a couple of times manually to try to clear it out
        Attached Files
        Last edited by jvdb; 07-06-2023, 08:34.

        Comment

        • jvdb
          Junior Member
          • Feb 2022
          • 23

          #5
          its the ibdata1 file that grew like crazy.


          is there something we can to stop this?
          Attached Files

          Comment

          • Hamardaban
            Senior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • May 2019
            • 2713

            #6
            Google about option "innodb_file_per_table​" in the mysql config

            Comment

            • jjeff123
              Member
              • May 2022
              • 33

              #7
              Do you have version between 6.0 and 6.06 ?
              there was a bug where the auditlog grew and never got trimmed.
              I ran 6.04 for a year and had a 231GB auditlog.

              Comment

              • jvdb
                Junior Member
                • Feb 2022
                • 23

                #8

                we run Zabbix 6.4.3, but we have ran 6.0 and 6.06
                we dumped the audit log and recreated it

                Comment

                • jvdb
                  Junior Member
                  • Feb 2022
                  • 23

                  #9
                  I did this a week and a half ago and it seems to have fixxed the issue.

                  Topic can be locked.

                  Thanks for all the responses!

                  Comment

                  Working...