Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 12 Nov 2002 09:41:38 -0500 From: Jason Tishler Subject: Re: RFD: cygipc ENOSYS patch In-reply-to: <20021105153841.GA1756@tishler.net> To: cygwin AT cygwin DOT com Mail-followup-to: cygwin AT cygwin DOT com Message-id: <20021112144138.GE792@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: <20021105153841 DOT GA1756 AT tishler DOT net> Chuck, On Tue, Nov 05, 2002 at 10:38:41AM -0500, Jason Tishler wrote: > On Wed, Oct 30, 2002 at 08:35:41PM +0100, Peter Eisentraut wrote: > > I'm getting tired of the "initdb hangs" class of complaints. Why > > doesn't the relevant function fail if the ipc-daemon isn't running? > > Can anything be done in that area? > > Motivated by the above, I finally looked into this long standing > Cygwin PostgreSQL problem. Specifically, Cygwin PostgreSQL will hang > and consume all available CPU cycles if cygipc's ipc-daemon is not > running when either initdb or postmaster is started. > > I'm proposing that the attached patch (against cygipc-1.11-1) be > applied to cygipc since it solves the Cygwin PostgreSQL hang problems. > Specifically, this patch changes cygipc's shmget() and semget() to > return ENOSYS instead of EACCES if ipc-daemon is not running. See the following for the full details: http://cygwin.com/ml/cygwin/2002-11/msg00136.html The Cygwin PostgreSQL and KDE communities seem to be happy with the above. Would you be willing to accept such a patch into cygipc CVS? If so, then please let me know because I just found some more places where ENOSYS should be returned instead of EACCES. However, I would like to gauge your interest before pursuing this further. Thanks, Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/