Results 1 to 5 of 5

Thread: zmstat.out growing to 20+ gb in size

  1. #1
    Join Date
    Aug 2009
    Location
    florida
    Posts
    132
    Rep Power
    6

    Default [Solved] zmstat.out growing to 20+ gb in size

    The only contents of the zmstat.out file is:

    Use of uninitialized value in subtraction (-) at /opt/zimbra/libexec/zmstat-nginx line 118.

    I have a multiserver setup and this is my MTA / Proxy server. I have already searched the forums and google for this specific error and most of the threads suggest upgrading to the latest version since this was a bug from zimbra 6. The problem is I am already using the latest version of zimbra. Does anyone have any pointers as to what may be causing this. Other than my /opt folder filling up completely, the server works perfectly

    [zimbra@mta32 ~]$ zmcontrol -v
    Release 7.2.0_GA_2669.RHEL6_64_20120410002025 CentOS6_64 FOSS edition.
    Last edited by sangamc; 08-13-2012 at 09:49 AM. Reason: Solved
    Release 7.2.0_GA_2669.RHEL6_64_20120410002025 CentOS6_64 FOSS edition.

  2. #2
    Join Date
    Jun 2011
    Location
    Caracas Venezuela
    Posts
    476
    Rep Power
    4

  3. #3
    Join Date
    Aug 2009
    Location
    florida
    Posts
    132
    Rep Power
    6

    Default [solved]

    Good Stuff!!

    I am not to enthusiastic about modifying the perl script (not my strength) But i may manually create a new log rotation so that i zeros out when the file size goes above a specified value.

    Thanks for your help
    Release 7.2.0_GA_2669.RHEL6_64_20120410002025 CentOS6_64 FOSS edition.

  4. #4
    Join Date
    Aug 2009
    Location
    florida
    Posts
    132
    Rep Power
    6

    Default

    Turns out this file is already included in the logrotate.d/zimbra config. Ill have to do some more trouble shooting to determine why it does not rotate and grows so big!!

    Thanks again
    Release 7.2.0_GA_2669.RHEL6_64_20120410002025 CentOS6_64 FOSS edition.

  5. #5
    Join Date
    Aug 2009
    Location
    florida
    Posts
    132
    Rep Power
    6

    Default

    I was never able to find out why just the zmstat log would not rotate. Ended up using a cronjob to cat /dev/null > /opt/zimbra/zmstat/zmstat.log. all other logs rotate fine, jst this one
    Release 7.2.0_GA_2669.RHEL6_64_20120410002025 CentOS6_64 FOSS edition.

Similar Threads

  1. Replies: 3
    Last Post: 02-22-2010, 04:26 AM
  2. Growing logs
    By ScottChapman in forum Administrators
    Replies: 0
    Last Post: 11-25-2008, 03:01 PM
  3. zmmtaconfig.log growing
    By newmember in forum Administrators
    Replies: 2
    Last Post: 09-02-2008, 07:47 PM
  4. /opt is growing
    By mclain in forum Administrators
    Replies: 1
    Last Post: 05-29-2008, 02:21 PM
  5. zmconvertd.log growing
    By algoman in forum Administrators
    Replies: 3
    Last Post: 03-15-2007, 05:52 PM

Posting Permissions

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