Skip site navigation (1) Skip section navigation (2)

Re: Our poll() based WaitLatch implementation is broken

From: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Our poll() based WaitLatch implementation is broken
Date: 2012-01-15 08:25:46
Message-ID: CAEYLb_UpKveDsjeXoweCQuOZH7Kk4O9QbaHTwbmBMqiR9UdP7w@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On 15 January 2012 07:26, Peter Geoghegan <peter(at)2ndquadrant(dot)com> wrote:
> Build Postgres master, on Linux or another platform that will use the
> poll() implementation rather than the older select(). Send the
> Postmaster SIGKILL. Observe that the WAL Writer lives on, representing
> a denial of service as it stays attached to shared memory, busy
> waiting (evident from the fact that it quickly leaks memory).

Correction: The CPU usage % approaches 100.

-- 
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services

In response to

pgsql-hackers by date

Next:From: Greg SmithDate: 2012-01-15 08:37:30
Subject: Re: automating CF submissions (was xlog location arithmetic)
Previous:From: Greg SmithDate: 2012-01-15 08:24:15
Subject: Vacuum rate limit in KBps

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group