Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception
Дата
Msg-id
20080828021952.GH4071@alvh.no-ip.org
Ответ на
Список
Дерево обсуждения
select on 22 GB table causes "An I/O error occured while sending to the backend." exception henk de wit <henk53602@hotmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Mark Lewis <mark.lewis@mir3.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception henk de wit <henk53602@hotmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Florian Weimer <fweimer@bfk.de>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Andrew Sullivan <ajs@commandprompt.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Alvaro Herrera <alvherre@commandprompt.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Tom Lane <tgl@sss.pgh.pa.us>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Andrew Sullivan <ajs@commandprompt.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Tom Lane <tgl@sss.pgh.pa.us>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Jeff Davis <pgsql@j-davis.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Matthew Wakeling <matthew@flymine.org>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Craig James <craig_james@emolecules.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Craig James <craig_james@emolecules.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Jeff Davis <pgsql@j-davis.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception "Scott Marlowe" <scott.marlowe@gmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception James Mansion <james@mansionfamily.plus.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Craig James <craig_james@emolecules.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Matthew Wakeling <matthew@flymine.org>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Valentin Bogdanov <valiouk@yahoo.co.uk>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Matthew Wakeling <matthew@flymine.org>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Bill Moran <wmoran@collaborativefusion.com>
Re: select on 22 GB table causes"An I/O error occured while sending to the backend." exception "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Greg Smith <gsmith@gregsmith.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Bill Moran <wmoran@collaborativefusion.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Greg Smith <gsmith@gregsmith.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Matthew Wakeling <matthew@flymine.org>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Steve Atkins <steve@blighty.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception "Jerry Champlin" <jchamplin@absolute-performance.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Matthew Wakeling <matthew@flymine.org>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Craig James <craig_james@emolecules.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Florian Weimer <fweimer@bfk.de>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Craig James <craig_james@emolecules.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Florian Weimer <fweimer@bfk.de>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Craig James <craig_james@emolecules.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Matthew Wakeling <matthew@flymine.org>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception "Scott Marlowe" <scott.marlowe@gmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception "Scott Marlowe" <scott.marlowe@gmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Magnus Hagander <magnus@hagander.net>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception "Scott Marlowe" <scott.marlowe@gmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception "Matthew Dennis" <mdennis@merfer.net>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception "Scott Marlowe" <scott.marlowe@gmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Alvaro Herrera <alvherre@commandprompt.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Alvaro Herrera <alvherre@commandprompt.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Alvaro Herrera <alvherre@commandprompt.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Matthew Wakeling <matthew@flymine.org>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception "Scott Marlowe" <scott.marlowe@gmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception henk de wit <henk53602@hotmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Bill Moran <wmoran@collaborativefusion.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Shane Ambler <pgsql@Sheeky.Biz>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception DANIEL CRISTIAN CRUZ <daniel.cruz@sc.senai.br>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Greg Smith <gsmith@gregsmith.com>
david@lang.hm wrote:
> On Wed, 27 Aug 2008, Andrew Sullivan wrote:

>>> seperate copies for the seperate processes (and if at this time it runs of
>>> of memory it invokes the OOM killer to free some space),
>>
>> . . .it kills processes that are using a lot of memory.  Those are not
>> necessarily the processes that are allocating memory they don't need.
>
> the bahavior of the OOM killer has changed over time, so far nobody has  
> been able to come up with a 'better' strategy for it to follow.

The problem with OOM killer for Postgres is that it tends to kill the
postmaster.  That's really dangerous.  If it simply killed a backend
then it wouldn't be so much of a problem.

Some time ago I found that it was possible to fiddle with a /proc entry
to convince the OOM to not touch the postmaster.  A postmaster with the
raw IO capability bit set would be skipped by the OOM too killer (this
is an Oracle tweak AFAIK).

These are tricks that people could use in their init scripts to protect
themselves.

(I wonder if the initscript supplied by the RPMs or Debian should
contain such a hack.)

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-performance по дате отправления
От: Scott Marlowe
Дата:
От: Tom Lane
Дата:
FAQ