Re: Performance degradation in commit ac1d794

From: Andres Freund <andres(at)anarazel(dot)de>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Васильев Дмитрий <d(dot)vasilyev(at)postgrespro(dot)ru>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Performance degradation in commit ac1d794
Date: 2016-03-21 10:10:57
Message-ID: 20160321101057.sf2vyawxgclar6k4@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,m

On 2016-03-21 11:26:43 +0530, Amit Kapila wrote:
> LOG: database system was shut down at 2016-03-21 11:17:13 IST
> LOG: MultiXact member wraparound protections are now enabled
> LOG: database system is ready to accept connections
> LOG: autovacuum launcher started
> FATAL: failed to set up event for socket: error code 10022
> LOG: statistics collector process (PID 668) exited with exit code 1
> LOG: autovacuum launcher process (PID 3868) was terminated by exception
> 0xC0000005
> HINT: See C include file "ntstatus.h" for a description of the hexadecimal
> value.

We resolved this and two followup issues on IM; all localized issues.
Thanks again for the help!

I've attached two refreshed patches including the relevant fixes, and
the addition of a 'user_data' pointer to events; as desired by Thomas.

I plan to push these after some msvc animals turned green. We might want
to iterate on the API in some parts, but this will fix the regression,
and imo looks good.

Regards,

Andres

Attachment Content-Type Size
0001-Combine-win32-and-unix-latch-implementations.patch text/x-patch 29.3 KB
0002-Introduce-WaitEventSet-API.patch text/x-patch 59.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2016-03-21 10:30:48 Re: multivariate statistics v14
Previous Message Aleksander Alekseev 2016-03-21 10:08:50 PROPOSAL: make PostgreSQL sanitizers-friendly (and prevent information disclosure)