[pgsql-jp: 33536] Re: pgpool 2.0.2 報告

Tatsuo Ishii t-ishii @ sra.co.jp
2004年 7月 7日 (水) 21:47:46 JST


石井です.

> 西尾です。

> 2.psqlのコンソールから、
> 
>   test02=# \d+ user_list
> と入力すると、
> 
> server closed the connection unexpectedly
>         This probably means the server terminated abnormally
>         before or while processing the request.
> The connection to the server was lost. Attempting reset: Succeeded.
> 
> というメッセージが表示されます。(これエラーですよね?)

えーと,まずこれが再現しません.ですので,とりあえずpgpool -d -nで起動
し,このエラーが起きた辺りのデバッグ出力を見せてもらえませんか?
--
Tatsuo Ishii

> 3.この後、再度psコマンドでpgpoolのプロセスを調べます。
> 
> postgres  2200  2196  0 19:50:31 ?        0:00 pgpool
> postgres  2201  2196  0 19:50:31 ?        0:00 pgpool
> postgres  2202  2196  0 19:50:31 ?        0:00 pgpool
> postgres  2205  2196  0 19:50:31 ?        0:00 pgpool
> postgres  2196     1  0 19:50:31 ?        0:00 pgpool
> postgres  2199  2196  0 19:50:31 ?        0:00 pgpool
> postgres  2213  2196  0 19:52:15 ?        0:00 pgpool
> postgres  2204  2196  0 19:50:31 ?        0:00 pgpool
> postgres  2203  2196  0 19:50:31 ?        0:00 pgpool
> postgres  2197  2196  0 19:50:31 ?        0:00 pgpool
> 
> で、プロセス2206が落ちてしまっています。(前回は2個一辺に落ちた気が)
> 
> 上記1から3を繰り返します。
> ちなみに、もう一度繰り返すと、
> postgres  2200  2196  0 19:50:31 ?        0:00 pgpool
> postgres  2201  2196  0 19:50:31 ?        0:00 pgpool
> postgres  2202  2196  0 19:50:31 ?        0:00 pgpool
> postgres  2196     1  0 19:50:31 ?        0:00 pgpool
> postgres  2199  2196  0 19:50:31 ?        0:00 pgpool
> postgres  2204  2196  0 19:50:31 ?        0:00 pgpool
> postgres  2203  2196  0 19:50:31 ?        0:00 pgpool
> postgres  2197  2196  0 19:50:31 ?        0:00 pgpool
> 
> で、1度で2213と2205のプロセスが落ちました。
> (これ以降はプロセスは2個ずつ落ちていきました。)
> 
> これを繰り返してると、親プロセスだけになり、
> server closed the connection unexpectedly
>         This probably means the server terminated abnormally
>         before or while processing the request.
> The connection to the server was lost. Attempting reset:
> 
> と表示され、この状態で固まります。
> Ctrl+Cで強制終了させ、プロセスを確認すると、
> 
> postgres  2196     1  0 19:50:31 ?        0:00 pgpool
> 
> 上記の様に、親プロセスだけになります。
> この状態で、"psql -p 9999 -n test"とすると、psql起動中で固まってし
> まいます。
> 
> 手っ取り早い再現というと上記の方法になりますが、これでよいでしょうか。
> 



pgsql-jp メーリングリストの案内