1

Topic: increasing vsz_limit

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: CentOS6.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: No
====

I've migrated to new version of iRedmail from 08.x.
Users with bigger mailboxes are unable to see their mails in the inbox. Dovecot log says vsz_limit is small and needs to be increased.
I've default vsz_limit set at 254M. I tried changing the vsz_limit value in dovecot.conf, but it din't help.
Please help in changing the default_vsz_limit?

Divakar

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: increasing vsz_limit

Show us original log message please.

3

Re: increasing vsz_limit

Here goes the log from dovecot.log

May 10 10:30:53 imap(user@domain): Info: Disconnected: Logged out in=580 out=3898
May 10 10:31:05 imap-login: Info: Login: user=<user@domain>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=5791, secured, session=<iasdfasdfasd>
May 10 10:31:05 imap(user@domain): Fatal: block_alloc(4194304): Out of memory
May 10 10:31:05 imap(user@domain): Fatal: master: service(imap): child 5791 returned error 83 (Out of memory (service imap { vsz_limit=256 MB }, you may need to increase it))

4

Re: increasing vsz_limit

Find block "service imap {}" in /etc/dovecot/dovecot.conf, if it doesn't have "vsz_limit =" setting, add one with higher memory. If it does exist, update it.

5

Re: increasing vsz_limit

service imap{} was not present in the dovecot.conf.
I've create the service and added "vsz_limit="..

service imap {
  vsz_limit = 1024MB
}

No errors after that and mails are loading now..

thanks..
Divakar