delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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 <corinna-cygwin AT cygwin DOT com> |
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: | <d56cbd$jjd$1 AT sea DOT gmane DOT org> |
Mime-Version: | 1.0 |
In-Reply-To: | <d56cbd$jjd$1@sea.gmane.org> |
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 > !<socket >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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |