ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: ALT Linux sysadmin discuss
	<public-sysadmins-XbBxUvOt3X3HsNE/8sQLYR2eb7JE58TQ@plane.gmane.org>
Subject: Re: [Sysadmins] Dovecot deliver: write() failed: File too large
Date: Thu, 05 Nov 2009 13:56:36 -0000
Message-ID: <20091105135553.GD10512@newmaster.mivlgu.local> (raw)
In-Reply-To: <f7a739430910301059j5f36175fhbfe1903adb4124f5@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

On Fri, Oct 30, 2009 at 08:59:22PM +0300, Eugene Prokopiev wrote:
> Наблюдаю в логах:
> 
> master deliver(veronika): write() failed with mbox file
> /home/veronika/mail/data/inbox: File too large
> 
> Размер этого майлбокса - 2.1Gb,  в postfix/main.cf написано:
> 
> mailbox_command = /usr/lib/dovecot/deliver -d $LOGNAME
> mailbox_size_limit = 10000000000

Такая настройка работать не будет - внутри postfix для хранения этого
значения используется тип int, поэтому предел размера ящика выше 2 ГБ
(точнее, 2^31 - 1 байт) выставить нельзя.  Не поможет даже переход на
x86_64 - int при этом всё равно остаётся 32-разрядным.  Можно только
совсем снять ограничение на размер ящика на уровне postfix, выставив
mailbox_size_limit = 0, и перенести всё управление этими ограничениями
в dovecot.

Кстати, 32-разрядное ядро в любом случае не позволит установить
ограничение на размер файла выше, чем 2^32 - 2 байт.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2009-11-05 13:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-30 17:59 Eugene Prokopiev
2009-10-31 17:05 ` Alexey Shabalin
2009-11-05 13:56 ` Sergey Vlasov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091105135553.GD10512@newmaster.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=public-sysadmins-XbBxUvOt3X3HsNE/8sQLYR2eb7JE58TQ@plane.gmane.org \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git