pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Christian Bourque <christian.bourque@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: jdbc and nfs
Date: Sat, 16 Feb 2008 14:43:58 -0500
Message-ID: <52EB7A06-120D-4EE2-BE7F-4892EA73D87F@fastcrypt.com> (raw)
In-Reply-To: <21927.1203185964@sss.pgh.pa.us>
References: <a6ee49d30802161007m789ce06fm274848c5d9b54e9@mail.gmail.com>
	<21927.1203185964@sss.pgh.pa.us>


On 16-Feb-08, at 1:19 PM, Tom Lane wrote:

> "Christian Bourque" <christian.bourque@gmail.com> writes:
>> The pg server is running on server B (openSUSE) and I'm connecting to
>> it from server C (Solaris 10) using a user account with an nfs  
>> mounted
>> directory from server A (openSUSE).
>
>> If I unmount the nfs share it works! But with the share it doesn't,
>> the connection seems to reach the server but it gets stuck there, no
>> error and it doesn't timeout either...
>
> It's way too hard to believe that NFS per se is interfering.
>
seems far fetched to me too.

> What I could believe is that there is some configuration-type file in
> your home directory that is causing a problem, and after the unmount
> it's not visible so no problem.  There are obvious possibilities for
> this such as ~/.psqlrc if you're using psql/libpq, but I dunno enough
> about the JDBC environment to guess whether it has equivalents.
>
There is no equivalent use in the jdbc environment.

> If all else fails, you could try strace'ing the application (or  
> whatever
> Solaris' equivalent to strace is) in both cases and comparing results.
> That would at least make it clearer where it's hanging up ...
>
> 			regards, tom lane
>
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
>               http://archives.postgresql.org




view thread (6+ messages)  latest in thread

Message-ID: <52EB7A06-120D-4EE2-BE7F-4892EA73D87F@fastcrypt.com>
Permalink:  ../52EB7A06-120D-4EE2-BE7F-4892EA73D87F@fastcrypt.com/
Also on:    postgresql.org/message-id/52EB7A06-120D-4EE2-BE7F-4892EA73D87F@fastcrypt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: pg@fastcrypt.com, tgl@sss.pgh.pa.us, christian.bourque@gmail.com
  Subject: Re: jdbc and nfs
  In-Reply-To: <52EB7A06-120D-4EE2-BE7F-4892EA73D87F@fastcrypt.com>
  References: <a6ee49d30802161007m789ce06fm274848c5d9b54e9@mail.gmail.com> <21927.1203185964@sss.pgh.pa.us> <52EB7A06-120D-4EE2-BE7F-4892EA73D87F@fastcrypt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox