From: | Durgamahesh Manne <maheshpostgres9(at)gmail(dot)com> |
---|---|
To: | Sri Mrudula Attili <sri(at)ebi(dot)ac(dot)uk> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Postgresql database terminates abruptly with too many open files error |
Date: | 2025-01-19 09:01:18 |
Message-ID: | CAJCZkoLT_9iL+C9iMP+C6-7Fha0uy4UN5c6vNZPRoKs-+G8viQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-in-general |
---------- Forwarded message ---------
From: Sri Mrudula Attili <sri(at)ebi(dot)ac(dot)uk>
Date: Wed, 15 Jan, 2025, 17:12
Subject: Re: Postgresql database terminates abruptly with too many open
files error
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-general(at)postgresql(dot)org>
Hello Tom,
The max_connections =200 and max_files_per_process =1000 as you mentioned.
So should a max_files_per_process =500 helps?
I could see from the number of connections to the databaseis not
exceeding 20. But still these 20 are causing all the damage or using up
all the openfiles quota.
Thanks,
Sri
On 14/01/2025 14:19, Tom Lane wrote:
> Sri Mrudula Attili <sri(at)ebi(dot)ac(dot)uk> writes:
>> We have a postgresql VDB(virtual database- Delphix) that keeps
>> terminating due "to too many open files".
> What do you have max_connections set to, and how many actually-live
> server processes are there typically?
>
>> The number of allowed openfiles at OS level are 65000.
> I'm suspecting that you either need to increase that, decrease
> max_files_per_process (which defaults to 1000), or decrease
> max_connections.
>
> regards, tom lane
Hi Team,
What is the final conclusion for this ?
Regards,
Durga Mahesh
From | Date | Subject | |
---|---|---|---|
Next Message | Peter J. Holzer | 2025-01-19 11:06:16 | Re: Postgresql database terminates abruptly with too many open files error |
Previous Message | Jeremy Schneider | 2025-01-19 07:20:25 | Re: glibc 2.35-2.39 upgrade requirements |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter J. Holzer | 2025-01-19 11:06:16 | Re: Postgresql database terminates abruptly with too many open files error |
Previous Message | Sri Mrudula Attili | 2025-01-15 11:42:30 | Re: Postgresql database terminates abruptly with too many open files error |