ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] Dovecot deliver: write() failed: File too large
@ 2009-10-30 17:59 Eugene Prokopiev
  2009-10-31 17:05 ` Alexey Shabalin
  2009-11-05 13:56 ` Sergey Vlasov
  0 siblings, 2 replies; 3+ messages in thread
From: Eugene Prokopiev @ 2009-10-30 17:59 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

Здравствуйте!

Наблюдаю в логах:

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

Файлы размером, например, в 5Gb на этом же разделе создаются с помощью
dd без проблем.

# rpm -q postfix
postfix-2.4.9-alt0.M41.1
# rpm -q dovecot
dovecot-1.0.3.hg20070801-alt1

Что это может быть?

-- 
С уважением,
Прокопьев Евгений

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Sysadmins] Dovecot deliver: write() failed: File too large
  2009-10-30 17:59 [Sysadmins] Dovecot deliver: write() failed: File too large Eugene Prokopiev
@ 2009-10-31 17:05 ` Alexey Shabalin
  2009-11-05 13:56 ` Sergey Vlasov
  1 sibling, 0 replies; 3+ messages in thread
From: Alexey Shabalin @ 2009-10-31 17:05 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

30 октября 2009 г. 20:59 пользователь Eugene Prokopiev написал:
> Здравствуйте!
>
> Наблюдаю в логах:
>
> master deliver(veronika): write() failed with mbox file
> /home/veronika/mail/data/inbox: File too large
>

Это ругается dovecot? dovecot в качестве lda используется?

> Размер этого майлбокса - 2.1Gb,  в postfix/main.cf написано:
>
> mailbox_command = /usr/lib/dovecot/deliver -d $LOGNAME
> mailbox_size_limit = 10000000000

Если доставщик почты dovecot - то думаю настройки postfix на него не влияют.
Ищите аналогичные параметры в самом dovecot.

>
> Файлы размером, например, в 5Gb на этом же разделе создаются с помощью
> dd без проблем.
>
> # rpm -q postfix
> postfix-2.4.9-alt0.M41.1
> # rpm -q dovecot
> dovecot-1.0.3.hg20070801-alt1
>
> Что это может быть?

-- 
Alexey Shabalin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Sysadmins] Dovecot deliver: write() failed: File too large
  2009-10-30 17:59 [Sysadmins] Dovecot deliver: write() failed: File too large Eugene Prokopiev
  2009-10-31 17:05 ` Alexey Shabalin
@ 2009-11-05 13:56 ` Sergey Vlasov
  1 sibling, 0 replies; 3+ messages in thread
From: Sergey Vlasov @ 2009-11-05 13:56 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-05 13:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-30 17:59 [Sysadmins] Dovecot deliver: write() failed: File too large Eugene Prokopiev
2009-10-31 17:05 ` Alexey Shabalin
2009-11-05 13:56 ` Sergey Vlasov

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