[pgsql-jp: 29597] サーバプロセスダウン

Hayashi Yuichiro yhayashi @ totsu.com
2003年 4月 7日 (月) 16:24:18 JST


お世話になります。林と申します。

PostgreSQL 7.2.3 + Cygwin を Windows 2000 で動作させていますが、たまにサー
バプロセスが落ちてしまいます。
その際のログは以下のようになっております。
単に、メモリ不足なのかと思いきや、再現性がないためログの指摘どおり 
postgresql.conf を修正すれば改善されるものなのかどうかも分かりません。
※ちなみに、postgresql.conf はデフォルト状態で使用しています。

落ちる現象を防ぐ改善策を教えていただけないでしょうか。
よろしくお願いします。

DEBUG:  recycled transaction log file 0000000000000003
FATAL 2:  link from /usr/local/pgsql/data/pg_xlog/0000000000000003 to /usr/local/pgsql/data/pg_xlog/0000000000000006 (initialization of log file 0, segment 6) failed: Permission denied
DEBUG:  server process (pid 764) exited with exit code 2
DEBUG:  terminating any other active server processes
NOTICE:  Message from PostgreSQL backend:
	The Postmaster has informed me that some other backend
	died abnormally and possibly corrupted shared memory.
	I have rolled back the current transaction and am
	going to terminate your database system connection and exit.
	Please reconnect to the database system and repeat your query.
DEBUG:  all server processes terminated; reinitializing shared memory and semaphores
IpcMemoryCreate: shmget(key=5432001, size=1441792, 03600) failed: Not enough core


This error usually means that PostgreSQL's request for a shared
memory segment exceeded available memory or swap space.
To reduce the request size (currently 1441792 bytes), reduce
PostgreSQL's shared_buffers parameter (currently 64) and/or
its max_connections parameter (currently 32).


-- 
Hayashi Yuichiro <yhayashi @ totsu.com>





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