[pgsql-jp: 33940] Re: pgpool のエラー(pool_read:EOF encountered)

nishio @ aileck.co.jp nishio @ aileck.co.jp
2004年 8月 27日 (金) 17:14:46 JST


西尾です。
横槍的で申し訳ないのですが・・・。

[pgsql-jp: 33916]のパッチを当てて、ダンプしたデータをリストアしようとしたところ、
データベースの構成がすんで、COPYを始めたところで、固まってしまいます。
"pgpool -n -d"での出力は以下の内容です。

...snip...

DEBUG: pid 2185: pool_read_string: read all from pending data. po:50 len:9
DEBUG: pid 2185: Complete Command Response: string: "SELECT"
DEBUG: pid 2185: read kind from backend pending data C len: 8 po: 51
DEBUG: pid 2185: pool_read_string: read all from pending data. po:58 len:1
DEBUG: pid 2185: pool_read_string: read all from pending data. po:58 len:1
DEBUG: pid 2185: Complete Command Response: string: "COMMIT"
DEBUG: pid 2185: read kind from backend pending data Z len: 0 po: 0
DEBUG: pid 2185: read kind from frontend Q(51)
DEBUG: pid 2185: pool_read_string: read all from pending data. po:0 len:0
DEBUG: pid 2185: Query: SET search_path = public, pg_catalog;
DEBUG: pid 2203: read kind from backend C
DEBUG: pid 2185: read kind from backend C
DEBUG: pid 2203: pool_read_string: read all from pending data. po:6 len:1
DEBUG: pid 2203: pool_read_string: read all from pending data. po:6 len:1
DEBUG: pid 2203: Complete Command Response: string: "RESET"
DEBUG: pid 2203: read kind from backend pending data Z len: 0 po: 0
DEBUG: pid 2203: pool_connection_pool_timer: called
DEBUG: pid 2185: pool_read_string: read all from pending data. po:4 len:1
DEBUG: pid 2185: pool_read_string: read all from pending data. po:4 len:1
DEBUG: pid 2185: Complete Command Response: string: "SET"
DEBUG: pid 2185: read kind from backend pending data Z len: 0 po: 0
DEBUG: pid 2185: read kind from frontend Q(51)
DEBUG: pid 2185: pool_read_string: read all from pending data. po:0 len:0
DEBUG: pid 2185: Query: COPY active_sessions (sid, name, val, changed) FROM stdin;
DEBUG: pid 2185: read kind from backend G
ERROR: pid 2185: pool_read_string: read() failed. reason:Resource temporarily unavailable
DEBUG: pid 2185: Query: ABORT

psqlの方は、以下の状態で固まっています。

...snip...

CREATE FUNCTION
You are now connected as new user www.
SET search_path = public, pg_catalog;
SET
COPY active_sessions (sid, name, val, changed) FROM stdin;


このパッチを当てないと正常にリストアが完了します。
ちなみに、[pgsql-jp: 33923]までのパッチを当てても同様の症状でした。

環境は、OS Solaris8、PostgreSQL 7.3.6、pgpool 2.0.8となっています。






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