Re: Need help with error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Philip Poles" <philip(at)surfen(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Need help with error
Date: 2000-07-05 21:01:32
Message-ID: 4387.962830892@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Philip Poles" <philip(at)surfen(dot)com> writes:
> I'm not sure if this is relevant, but I've seen similar errors occur
> when there are too many open files on the filesystem (running Linux RH
> 6.2). I'm not sure if this problem is in the backend or the Linux
> kernal, or somewhere else, not being very conversant in such matters
> myself, but I did have our admin increase the limit for number of open
> files.

Good point. If you are at the system limit on number of open files,
blind writes would fail where regular writes do not (in 7.0.* and
earlier --- this is fixed for 7.1). However, if your kernel file
table is full, the symptoms are usually visible all over the place
not just in Postgres, so I'm not sure that this explains Steven's
problem.

I would recommend to Steven that he update to 7.0.2 soon, since there
is some additional debugging logic in 7.0.2 that logs the kernel error
code when a blind write fails --- that would give us some more info
about the underlying problem. Of course an update implies a postmaster
restart which will make the problem go away, so unless he knows how to
reproduce it I'd prefer to investigate first...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Eric Jain 2000-07-05 21:04:13 Scoring
Previous Message Jan Wieck 2000-07-05 20:54:43 Re: proposed improvements to PostgreSQL license