Re: psql hanging

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David J(dot) Trombley" <dtrom(at)bumba(dot)net>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql hanging
Date: 2002-10-29 22:18:54
Message-ID: 24122.1035929934@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"David J. Trombley" <dtrom(at)bumba(dot)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

In response to

  • psql hanging at 2002-10-29 18:51:17 from David J. Trombley

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-10-29 22:31:02 Re: User functions not displayed by \df
Previous Message Tom Lane 2002-10-29 22:14:26 Re: command-line history (readline) fails