Re: Postgresql database terminates abruptly with too many open files error

From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgresql database terminates abruptly with too many open files error
Date: 2025-01-14 13:39:27
Message-ID: CANzqJaBvSYzEue9H4ENRUnFfkmmFaRw94D0U6EtBZPwgrbxU5g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-in-general

On Tue, Jan 14, 2025 at 7:58 AM Sri Mrudula Attili <sri(at)ebi(dot)ac(dot)uk> wrote:

> Hello Team,
>
> We have a postgresql VDB(virtual database- Delphix) that keeps
> terminating due "to too many open files".
>
> Below are few alerts that we could see from the postgresql.log
>
>
> < 2025-01-14 11:37:20.724 GMT >LOG: out of file descriptors: Too many
> open files in system; release and retry
>
> < 2025-01-14 11:37:20.724 GMT >FATAL: epoll_create1 failed: Too many
> open files in system
>
>
> The number of allowed openfiles at OS level are 65000. even then we see
> these all these being utilised and causing the database to terminate.
>
>
> Is there a way we could avoid this.
>

We need more information.

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2025-01-14 14:19:53 Re: Postgresql database terminates abruptly with too many open files error
Previous Message Frank Lanitz 2025-01-14 13:39:06 Re: Postgresql database terminates abruptly with too many open files error

Browse pgsql-in-general by date

  From Date Subject
Next Message Tom Lane 2025-01-14 14:19:53 Re: Postgresql database terminates abruptly with too many open files error
Previous Message Frank Lanitz 2025-01-14 13:39:06 Re: Postgresql database terminates abruptly with too many open files error