Re: psql hanging - Mailing list pgsql-general

From Tom Lane
Subject Re: psql hanging
Date
Msg-id 24122.1035929934@sss.pgh.pa.us
Whole thread Raw
In response to psql hanging  ("David J. Trombley" <dtrom@bumba.net>)
List pgsql-general
"David J. Trombley" <dtrom@bumba.net> writes:
>     I'm running 7.2.2 on x86 linux, and trying to execute a very large
> (200Mb or so) sql script by cat'ing it to psql.
>     After about 2000 lines, psql hangs.
>     An strace yields the following output after the process is in the
> hung state:
>     rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
>     rt_sigaction(SIGINT, {0x804d528, [], SA_RESTART|0x4000000},
> {0x804d528, [], SA_RESTART|0x4000000}, 8) = 0
>     over and over again.

Can't guess much from that.  Could you attach to the hung process with
gdb and get a stack trace?

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: command-line history (readline) fails
Next
From: Tom Lane
Date:
Subject: Re: User functions not displayed by \df