Timo Sirainen wrote:

> Does the attached patch help? If not, increase the 1024*1024 to a larger
> value.

Sorry for replying so late, the server running Dovecot succumbed to a
hardware problem. Now that the machine is online again, I applied your
patch. Running the expire tool now causes the following log messages:

  dict: db(secondary, ): DB->set_cachesize: method not permitted when 
environment specified
  dict: db(secondary, ): unable to allocate space from the buffer cache
  dict: sdb.open() failed: Cannot allocate memory
  dict:
  dict: db(/var/lib/dovecot/expire.db) open failed
  dict: Failed to initialize dictionary 'expire'

This does not look too well yet. ;-)

-R

Reply via email to