Tuesday, July 09, 2024

Re: smtpd warn: not enough disk space

On 2024-07-09, Christian Schulte <schulte.it@gmail.com> wrote:
>
>
> On 07.07.24 03:51, Jeremy Evans wrote:
>> On Fri, Jul 5, 2024 at 9:16 PM Christian Schulte <schulte.it@gmail.com
>> <mailto:schulte.it@gmail.com>> wrote:
>>
>> Just wondering how the postgresql
>> port is configured. Really should setup quotas automatically when
>> pkg_adding in a way, just to ensure, that no one ever runs into a
>> situation, that there is no way out of a disk full situation.

The port can't sanely do that, because it doesn't know how the admin
has configured their system.

Also, openbsd doesn't enable filesystem quotas by default.

> I did not criticize the postgresql port in any way. I am just
> suggesting, that when you want to setup a postgresql server in a
> fire-and-forget way of things, it would be cool to restrict it from
> eating up all available storage.

That is simple, use a separate filesystem for /var/postgresql.

--
Please keep replies on the mailing list.

No comments:

Post a Comment