Re: open pgsql files (was Re: [GENERAL] Mime-Version: 1.0)

From: Ed Loehr <eloehr(at)austin(dot)rr(dot)com>
To: Serge Sozonoff <serge(at)globalbeach(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: open pgsql files (was Re: [GENERAL] Mime-Version: 1.0)
Date: 2000-02-21 21:28:34
Message-ID: 38B1AE02.E84C9640@austin.rr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Serge Sozonoff wrote:
>
> Since then I have been observeing /proc/sys/fs/file-nr and I noticed that the
> system has already spiked to 8192 open files. I have also seen it sitting
> steady at 7356 open files.
> d
> I was interested to know if this is "normal" behavior for Postgres, using
> "lsof" I noticed
> that most of the open files belonged to postmaster and most of them were
> not sockets.

Your numbers do not surprise me at all. Backend pgsql servers live
for the lifetime of the client connection, and they open a similarly
large number of files on my system. I throttle them by throttling the
life of the apache children who are generally the only clients.

Cheers,
Ed Loehr

In response to

  • at 2000-02-22 05:15:06 from Serge Sozonoff

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Teruel Tony 2000-02-21 22:57:37 Passwords
Previous Message The Hermit Hacker 2000-02-21 21:16:27 Re: [GENERAL] Calender