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, 3 May 2005 11:13:33 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: postgresql and sockets Message-ID: <20050503091333.GF25050@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i On May 3 01:26, Krzysztof Duleba wrote: > Hi > > I am using Cygwin postgresql as my db engine for high load jboss/Hibernate > web app. It works fine, but after some 10k transactions socket seems > broken and I get this message: > > $ psql > psql: could not connect to server: Bad file descriptor > Is the server running locally and accepting > connections on Unix domain socket "/tmp/.s.PGSQL.5432"? > > $ cat /tmp/.s.PGSQL.5432 > !1304 s D872D6B4-84B51718-5811C571-3E0793C6 > > However, `psql -h localhost -p 5432' succeeds. So in fact the socket is > still there, but the link stored in /tmp/.s.PGSQL.5432 is broken. That's rather unlikely. Could you show us an strace of the above failing psql call? Perhaps there's some interesting information in there. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/