It’s a possibility that the data structure holding free space
is overflowing, if it can’t deal with 1.8Tb of free space.

I would suggest that you set a quota on the ZFS filesystem to
bring the free space down to something of the order of a couple
of Gb, and see if that resolves it. If it does, it gives you something
to look at/for, and is easy/quick/non-disruptive to set and unset.

If that does sort things out, then it’s a case of checking
how postfix was built - you may find it was built using a
32 bit compiler - despite the system being 64 bit capable,
or not using the right flags during build.

https://illumos.org/man/5/lfcompile64




> On 1 Jun 2020, at 12:00, Jaco Lesch <ja...@saix.net> wrote:
> 
> 
> 
> On 6/1/20 11:16, Gabriele Bulfon wrote:
>> Hi Jaco, thanks a lot. Here is the output:
>> 
>> Sonicle XStreamOS (powered by illumos) SunOS 5.11 xs_154 June 2016
>> sonicle@cloudserver:~$ zpool list
>> NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
>> data 9.81T 6.80T 3.02T - 58% 69% 1.00x ONLINE -
>>  
>> Consider that this is an illumos zone, which has it's BE inside data, so the 
>> root FS is inside the data pool:
>> 
>> sonicle@cloudserver:~$ zfs list
>> NAME USED AVAIL REFER MOUNTPOINT
>> data 4.53T 1.80T 7.64G /data
>> data/cloud 4.48T 1.80T 32.0K /data/cloud
>> data/cloud/server 227G 1.80T 32.0K /data/cloud/server
>> data/cloud/server/ROOT 227G 1.80T 32.0K legacy
>> data/cloud/server/ROOT/zbe 227G 1.80T 187G legacy
>> data/cloud/server/ROOT/zbe-1 2.84M 1.80T 110G legacy
>> data/cloud/server/ROOT/zbe-backup-1 3.70M 1.80T 65.2G legacy
>> data/cloud/server/ROOT/zbe-backup-2 3.40M 1.80T 101G legacy
>>  
>> Gabriele
>> 
>> 
>> 
>>  
>>  
>> Sonicle S.r.l. : http://www.sonicle.com
>> Music: http://www.gabrielebulfon.com
>> Quantum Mechanics : http://www.cdbaby.com/cd/gabrielebulfon
>> 
>> 
>> 
>> Da: Jaco Lesch <ja...@saix.net>
>> A: Gabriele Bulfon <gbul...@sonicle.com>postfix-users@postfix.org
>> Data: 1 giugno 2020 10.31.13 CEST
>> Oggetto: Re: 452 4.3.1 Insufficient system storage
>> 
>> 
>> 
>> 
>> On 6/1/20 09:28, Gabriele Bulfon wrote:
>> Also queue_minfree is 0, running postconf, so no check should be performed. 
>> Right?
>> 
>>  
>>  
>> Sonicle S.r.l. : http://www.sonicle.com
>> Music: http://www.gabrielebulfon.com
>> Quantum Mechanics : http://www.cdbaby.com/cd/gabrielebulfon
>> 
>> 
>> 
>> ----------------------------------------------------------------------------------
>> 
>> Da: Matus UHLAR - fantomas <uh...@fantomas.sk>
>> A: postfix-users@postfix.org 
>> Data: 29 maggio 2020 17.49.10 CEST
>> Oggetto: Re: 452 4.3.1 Insufficient system storage
>> 
>> On 29.05.20 15:42, Gabriele Bulfon wrote:
>> >This in mail.log:
>> >May 28 20:09:45 cloudserver postfix/smtpd[21079]: [ID 197553 mail.info] 
>> >connect from sender-host[*.*.*.*]
>> >May 28 20:09:45 cloudserver postfix/smtpd[21079]: [ID 197553 mail.info] 
>> >Anonymous TLS connection established from sender-host[*.*.*.*]: TLSv1.2 
>> >with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)
>> >May 28 20:09:45 cloudserver postfix/smtpd[21079]: [ID 197553 mail.info] 
>> >NOQUEUE: reject: MAIL from sender-host[*.*.*.*]: 452 4.3.1 Insufficient 
>> >system storage; proto=ESMTP helo=
>> >May 28 20:09:45 cloudserver postfix/smtpd[21079]: [ID 947731 mail.warning] 
>> >warning: not enough free space in mail queue: 38384640 bytes
>> > 
>> >This last warning looks quite uncomprehensible, message size limit is 
>> >50000000, and sure 38384640 is less than 1.5*msl, so what's the problem?
>> 
>> _that_ is apparently the problem.
>> 
>> you have 38384640 B (~38MB) of free space in queue, but message maximum size
>> is 50MB, so you don't have enough of free space for maximum message size,
>> not even for 1.5*maximum required by default:
>> 
>> http://www.postfix.org/postconf.5.html#queue_minfree
>> 
>> 
>> -- 
>> Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
>> Warning: I wish NOT to receive e-mail advertising to this address.
>> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
>> The 3 biggets disasters: Hiroshima 45, Tschernobyl 86, Windows 95
>> 
>> 
>> Gabriele
>> 
>> What does the output of "zpool list" look like?
>> 
>> Regards
>>  
>> -- 
>> ---
>> Jaco Lesch
>> SAIX HLS
>> Email: 
>> ja...@saix.net
> Gabriele
> 
> Have you possibly considered running the Postfix mail queues on a separate 
> ZFS filestsystem? That is what we have done in our environment for Postfix on 
> Solaris 11, also assigned a ZFS quota to the filesystem.
> 
> This is fairly straight forward with the "zfs create" command.
> 
> Just a thought.
> 
> Regards
>  
> -- 
> ---
> Jaco Lesch
> SAIX HLS
> Email: 
> ja...@saix.net

Reply via email to