Results 1 to 3 of 3

Thread: [SOLVED] convertd failed with 32,000 messages in cnvcache

  1. #1
    Rich Graves is offline Outstanding Member
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    717
    Rep Power
    9

    Default [SOLVED] convertd failed with 32,000 messages in cnvcache

    I've asked this before and it was never answered: What's supposed to clean up ~zimbra/convertd/cnvcache?

    I've disabled view as HTML because all attempts fail.

    The directory ~zimbra/convertd/cnvcache happens to have exactly 32,000 entries.

    com.zimbra.cs.convert.ConversionException: Cannot create directory /opt/zimbra/convertd/cnvcache/5rcrx,QPqXbWm1aX03IZLGShA6E= for HTML conversion

    Issue #2:

    Assuming that moving cnvcache out of the way fixes the problem, how can I make this go away so that attachments received during the convertd downtime can be re-attempted?

    Caused by: com.zimbra.cs.convert.ConversionException: Cannot extract text from document that previously crashed convertd.
    Last edited by Rich Graves; 04-28-2008 at 10:07 AM.

  2. #2
    Rich Graves is offline Outstanding Member
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    717
    Rep Power
    9

  3. #3
    Rich Graves is offline Outstanding Member
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    717
    Rep Power
    9

    Default

    Solved. There is no database, just a directory hash tree. All one has to do to address problem #2 is

    cd /opt/zimbra/convertd
    mv crash crash.not; mkdir crash

    And then convertd will happily retry conversion of any previously crashed attachments.

    That probably leaves some tiny race condition where an active conversion process could lose, but I think it's better than convertd downtime (accomplished with zmconvertctl restart).

    I was also able to mv cnvcache cmvcache.not; mkdir cnvcache without downtime. That fixed the problem for *new* attachments.

    Bug 27570 still needs resolution... this error is just waiting to happen on any medium-to-large ZCS install. If you have a large number of items in cnvcache now, I would recommend manual pruning with something like find cnvcache -maxdepth 1 -mtime +14 | xargs rm -rf

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Re-creating the spam training e-mail account
    By richard-hdd in forum Administrators
    Replies: 21
    Last Post: 03-20-2012, 07:34 AM
  2. upgrading from 5.0.4 to 5.0.5 opensource
    By smoke in forum Installation
    Replies: 4
    Last Post: 10-19-2008, 10:38 AM
  3. Problem with Mail Server - Need help!
    By joeleo in forum Installation
    Replies: 2
    Last Post: 03-04-2008, 12:03 PM
  4. My Zimbra server down ... please help :)
    By frankb in forum Administrators
    Replies: 2
    Last Post: 12-12-2007, 11:29 AM
  5. Lotus migration
    By babou in forum Migration
    Replies: 15
    Last Post: 03-05-2007, 10:33 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
  •