Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: 6GB of RRD files in Two Weeks -- How Big Is Your /opt/zimbra/logger/db/data/rrds ?

  1. #1
    Brian Puccio is offline New Member
    Join Date
    Oct 2013
    Posts
    3
    Rep Power
    1

    Default 6GB of RRD files in Two Weeks -- How Big Is Your /opt/zimbra/logger/db/data/rrds ?

    I've been using Zimbra for a long time and don't remember disk use increasing like this. However, this is my first install of the 8.x.x series, this install has been running for roughly two weeks.

    Code:
    server03# pwd
    /opt/zimbra/logger/db/data/rrds
    server03# ll | wc -l
    9493
    server03# du -ch | grep total
    5.9G	total
    server03# su - zimbra
    zimbra@server03:~$ zmcontrol -v
    Release 8.0.5.GA.5839.UBUNTU12.64 UBUNTU12_64 FOSS edition.
    How quickly should /opt/zimbra/logger/db/data/rrds be growing? Is there an upper limit that I just haven't hit yet?

    Alternatively ... this data is generated by zimbra's logger, right? If I have a munin install on another machine to generate all sorts of pretty graphs and I start storing stats there, can I nuke these RRDs and turn off zimbra's logger? Or does it serve other functions as well beyond generating thousands of RRD files?

    Thanks!

  2. #2
    deepjm is offline Member
    Join Date
    Jul 2010
    Posts
    10
    Rep Power
    5

    Default

    Same situation here.

    Can i delete old RRDs or configure a rotate for that?

  3. #3
    Brian Puccio is offline New Member
    Join Date
    Oct 2013
    Posts
    3
    Rep Power
    1

    Default

    Hey deepjm,

    No clue what the "right" solution is to this mess. I just turned off zimbra's logger and nuked the files. I'm not sure if this is intended behavior or not.

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    Default

    As far as I'm aware the data in rrd files is cumulative, you don't keep accumulating files. My ZCS 8 server has been up for the past twelve months(ish) and this is the rrd directory size:

    Code:
    [root@mail01 rrds]# ll | wc -l
    45
    [root@mail01 rrds]# du -ch | grep total
    172M    total
    Did you try and discover what was causing the problem?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Brian Puccio is offline New Member
    Join Date
    Oct 2013
    Posts
    3
    Rep Power
    1

    Default

    Quote Originally Posted by phoenix View Post
    As far as I'm aware the data in rrd files is cumulative, you don't keep accumulating files. My ZCS 8 server has been up for the past twelve months(ish) and this is the rrd directory size:

    Code:
    [root@mail01 rrds]# ll | wc -l
    45
    [root@mail01 rrds]# du -ch | grep total
    172M    total
    Did you try and discover what was causing the problem?
    It was a clean install, so I had no idea what would cause that problem and rather than reinstall, (after reading through the logs and Googling [of course]) I posted here. With no answer after a few days regarding whether or not this was intended behavior (let alone a potential cause of the issue), I nuked zimbra logger and the files, assuming my install was merely operating as designed, not as intended.

    I'm glad to know that this is not intended behavior.

  6. #6
    n4bbq is offline Senior Member
    Join Date
    Oct 2008
    Location
    Dahlonega, Ga
    Posts
    53
    Rep Power
    6

    Default

    C'mon, you guys can do better than that...

    Code:
    root@mail:/opt/zimbra/logger/db/data/rrds# ll | wc -l
    44646
    root@mail:/opt/zimbra/logger/db/data/rrds# du -ch | grep total
    28G	total
    This server has been around a loooooong time (~7 years). It would be nice to tidy things up a bit.

  7. #7
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    Default

    Quote Originally Posted by n4bbq View Post
    C'mon, you guys can do better than that...
    Meaning what? You're not actually providing much information.

    Quote Originally Posted by n4bbq View Post
    Code:
    root@mail:/opt/zimbra/logger/db/data/rrds# ll | wc -l
    44646
    root@mail:/opt/zimbra/logger/db/data/rrds# du -ch | grep total
    28G	total
    This server has been around a loooooong time (~7 years). It would be nice to tidy things up a bit.
    So was my previous server, it had been online and upgraded since 2005 and there was no such problem. Why don't you just delete the old files (older than 12 months and after a suitable backup)? It's not rocket science.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    n4bbq is offline Senior Member
    Join Date
    Oct 2008
    Location
    Dahlonega, Ga
    Posts
    53
    Rep Power
    6

    Default

    I did this as zimbra after reading the thread:
    Code:
    zmloggerctl stop
    mv rrds rrds_old
    mkdir rrds
    zmlogger start
    Then I figger'd if nothing crashed, then it'd be ok to kill the new dir "rrds_old" and rid myself of 26G of mess. I like to play it safe. haha

  9. #9
    n4bbq is offline Senior Member
    Join Date
    Oct 2008
    Location
    Dahlonega, Ga
    Posts
    53
    Rep Power
    6

    Default

    Quote Originally Posted by phoenix View Post
    Meaning what? You're not actually providing much information.
    I was just being funny (or so I thought). You know; my numbers are bigger than yours.

  10. #10
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    Default

    Quote Originally Posted by n4bbq View Post
    I was just being funny (or so I thought). You know; my numbers are bigger than yours.
    Sorry, my sense of humour goes walk-about sometimes.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zimbra data files
    By Simich in forum Administrators
    Replies: 2
    Last Post: 08-21-2013, 04:41 AM
  2. Replies: 0
    Last Post: 01-05-2012, 02:48 PM
  3. Where does zimbra store it's data files?
    By linc in forum Administrators
    Replies: 2
    Last Post: 10-15-2008, 07:35 AM
  4. a way to clean /opt/zimbra/logger/db/data
    By dhickey in forum Users
    Replies: 2
    Last Post: 09-18-2008, 01:48 AM
  5. logger daemon dies after few weeks
    By reza225 in forum Administrators
    Replies: 1
    Last Post: 01-31-2007, 06:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •