Re: why so many open files? - Mailing list pgsql-general

From Tom Lane
Subject Re: why so many open files?
Date
Msg-id 17272.1212413909@sss.pgh.pa.us
Whole thread Raw
In response to why so many open files?  (hubert depesz lubaczewski <depesz@depesz.com>)
Responses Re: why so many open files?
List pgsql-general
hubert depesz lubaczewski <depesz@depesz.com> writes:
> why backend process from one database has opened files from other databases?

That's not very surprising at all: a backend might have to write out a
dirty buffer in order to reclaim the buffer for re-use, and which
database the page is from doesn't enter into that.

What does seem surprising is that it's had to do that quite a lot.
Is this an old PG version without a bgwriter process?  In a properly
functioning recent release, I'd expect only the bgwriter to have a
really eclectic mix of open files.

            regards, tom lane

pgsql-general by date:

Previous
From: "Brian A. Seklecki"
Date:
Subject: Re: [Xen-users] SNMP AgentX subagent for Xen
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: why so many open files?