Results 1 to 4 of 4

Thread: zmlogprocess - "Out of memory!"

  1. #1
    xtrac is offline Active Member
    Join Date
    Oct 2006
    Location
    Ireland
    Posts
    28
    Rep Power
    8

    Default zmlogprocess - "Out of memory!"

    Hi Folks,

    I am reclaiming some disk space from the logger, its currently at 18GB with the default Lifetime values. Running on ZCS 5.0.11 OSE on Debian 4.0, with store of about 88GB.

    I have changed them now to be the following

    ==========
    zimbra@faraday:~$ zmprov mcf zimbraLogRawLifetime 7d
    zimbra@faraday:~$ zmprov mcf zimbraLogSummaryLifetime 365d
    ==========

    After this I ran

    ==========
    zimbra@faraday:~$ ./libexec/zmlogprocess
    ==========

    Which gave me the following output.

    ==================
    Pruning service/server entries older then 2009-02-23 23:05:02
    faraday maps to faraday.XXXX.XXX
    Processing mta entries from 134136159
    Found 691958 messages
    Inserted 691958 rows
    Saving ID 222411382
    Deleting processed postfix logs from raw_logs...Done
    Processing clamd entries from 94474308
    Found 0 entries
    Deleting processed clamd logs from raw_logs...Done
    Processing amavis entries from 134140318
    Out of memory!
    ==================

    Its still running, its been running now for about 19hours. The logger directory is still 18GB.

    How long should I leave it run after this notice? Is there a parameter I can set for zmlogprocess to be able to use more memory? Or, should I try for larger day values first, then work down to smaller ones? (Dont want to do this if necessary, as it is clearly taking a significant amount of time.) Or, can I just ignore the error and wait for it to finish?

    Regards

    -Roy

  2. #2
    xtrac is offline Active Member
    Join Date
    Oct 2006
    Location
    Ireland
    Posts
    28
    Rep Power
    8

    Default

    Well,

    I've let it finish, it finished shortly after it gave the out of memory error.

    The following processes are still running.
    =============
    faraday:/opt/zimbra# ps -ef | grep zmlogprocess
    zimbra 30243 30238 0 16:51 ? 00:00:00 /bin/sh -c /opt/zimbra/libexec/zmlogprocess > /tmp/logprocess.out 2>&1
    zimbra 30288 30243 0 16:51 ? 00:00:57 /usr/bin/perl /opt/zimbra/libexec/zmlogprocess
    root 7249 22844 0 18:48 pts/1 00:00:00 grep zmlogprocess
    faraday:/opt/zimbra#
    =============

    However the logger directory is still 18GB. Any pointers or ideas here would be most welcome.

    Regards,

    -Roy
    Last edited by xtrac; 02-24-2009 at 12:08 PM.

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

    Default

    There was a problem with the logger process causing OOM errors, you should upgrade to the most recent version of Zimbra. As a temporary measure you can update the script in comment #9 of the bug report.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    xtrac is offline Active Member
    Join Date
    Oct 2006
    Location
    Ireland
    Posts
    28
    Rep Power
    8

    Default

    Thanks Bill,

    I'll upgrade at the weekend. zmlogprocess hosed the machine trying to clear out the logger db, so I just deleted them and started it from scratch, using the instructions from King0770-Notes.

    Regards

    -Roy

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Zimbra 5.0.9 zmlogprocess needs patchin'
    By Chris Chen in forum Administrators
    Replies: 2
    Last Post: 02-09-2009, 03:06 AM
  2. zmlogprocess error on aggregates
    By hlandgar in forum Installation
    Replies: 4
    Last Post: 04-19-2007, 10:22 AM
  3. Replies: 0
    Last Post: 10-19-2006, 08:42 AM
  4. imapsync "out of memory"
    By EFSNetworks in forum Administrators
    Replies: 9
    Last Post: 10-13-2006, 01:51 PM
  5. Running zmlogprocess once a day vs. every 10 mins
    By scottnelson in forum Administrators
    Replies: 3
    Last Post: 08-11-2006, 07:38 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
  •