Command execution goes stuck... - Mailing list pgsql-general

From Rosario Peluso
Subject Command execution goes stuck...
Date
Msg-id 200207172041.WAA0000013332@ospd00.pd.infn.it
Whole thread Raw
List pgsql-general
    Hi all...

I'm experiencing a starnge problem using postgres 7.1.3 under RedHat
linux 6.2: I'm accessing to a database table using the C++ interface
(the libpq++) and sometimes happen that, when the machine is somehow
loaded, the methods PgDatabase::ExecuteCommand or
PgDatabase::ExecuteTuples go stuck inside an internal select() call...
   I've discovered this by debugging the running process of my
program, and the back trace of the process (unfortunately I haven't a
complete one now) says that the call is stuck inside a __select()
function deep enveloped inside the library... It is sufficient to
exit from the debugger to let the program start again without any
error...
   Someone knows about this strange behaviour ??? Is there something
I can do to avoid such stucks ??? There seems to be no way, for
example, to set a timeout on that select call, AFAIK: probably it is
not intended to be reached from the C++ APIs...

                                         Help me, I'm stuck

                                               Rosario

--
                          | Almeno tu che puoi fuggi via canto
\|/ ____ \|/   \ ||_|     | nomade questa cella e` piena della
"@'/ ,. \`@"    \|| |     | mia disperazione tu che puoi non
/_| \__/ |_\ Vax Headroom | farti prendere.
   \__U_/                 |                    BMS

pgsql-general by date:

Previous
From: nconway@klamath.dyndns.org (Neil Conway)
Date:
Subject: Re: dropping anonymous constraints
Next
From: "Johnson, Shaunn"
Date:
Subject: pg_restore: archiver error