Re: [HACKERS] kqueue
Matteo Beccati <php@beccati.com>
From: Matteo Beccati <php@beccati.com>
To: Thomas Munro <thomas.munro@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>,
Rui DeSousa <rui@crazybean.net>,
Torsten Zuehlsdorff <mailinglists@toco-domains.de>,
Keith Fiske <keith@omniti.com>, Andres Freund <andres@anarazel.de>,
Heikki Linnakangas <hlinnaka@iki.fi>, Marko Tiikkaja <marko@joh.to>,
Alvaro Herrera <alvherre@2ndquadrant.com>,
Robert Haas <robertmhaas@gmail.com>,
Pg Hackers <pgsql-hackers@postgresql.org>, Noah Misch <noah@leadboat.com>
Date: 2020-01-21T09:55:46Z
Lists: pgsql-hackers
Hi, On 21/01/2020 02:06, Thomas Munro wrote: > [1] https://www.postgresql.org/message-id/CA%2BhUKGJAC4Oqao%3DqforhNey20J8CiG2R%3DoBPqvfR0vOJrFysGw%40mail.gmail.com I had a NetBSD 8.0 VM lying around and I gave the patch a spin on latest master. With the kqueue patch, a pgbench -c basically hangs the whole postgres instance. Not sure if it's a kernel issue, HyperVM issue o what, but when it hangs, I can't even kill -9 the postgres processes or get the VM to properly shutdown. The same doesn't happen, of course, with vanilla postgres. If the patch gets merged, I'd say it's safer not to enable it on NetBSD and eventually leave it up to the pkgsrc team. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/
Commits
-
Add kqueue(2) support to the WaitEventSet API.
- 815c2f0972c8 13.0 landed
-
Add WL_EXIT_ON_PM_DEATH pseudo-event.
- cfdf4dc4fc96 12.0 cited
-
Be conservative about alignment requirements of struct epoll_event.
- a3b30763cc86 9.6.0 cited
-
Make idle backends exit if the postmaster dies.
- ac1d7945f866 9.6.0 cited