[pgsql-jp: 31255] postmasterが起動しない。。。

Saito Tetsuo saito.tetsuo @ renesas.com
2003年 10月 22日 (水) 13:54:57 JST


斉藤と申します。

PostgreSQL Ver7.3.4をインストールしたのですが、initdbは無事作成
できたようなのですが、postmasterが起動しません。コマンドは以下の
とおり。
/usr/local/pgsql/bin/postmaster -N 8 -D /usr/local/pgsql/data -b
/usr/local/pgsql/bin/postgres -i

以下のようなエラーメッセージです。

IpcMemoryCreate: shmget(key=5432001, size=1105920, 03600) failed: Invalid
argument

This error usually means that PostgreSQL's request for a shared memory
segment exceeded your kernel's SHMMAX parameter.  You can either
reduce the request size or reconfigure the kernel with larger SHMMAX.
To reduce the request size (currently 1105920 bytes), reduce
PostgreSQL's shared_buffers parameter (currently 64) and/or
its max_connections parameter (currently 8).

If the request size is already small, it's possible that it is less than
your kernel's SHMMIN parameter, in which case raising the request size or
reconfiguring SHMMIN is called for.

The PostgreSQL Administrator's Guide contains more information about
shared memory configuration.

メモリ関係のエラーなのは、わかるのですが、スワップは、250MBほど
あるので、十分かと思っています。何が問題かわかりません。
申し訳ありませんが、わかる人がおられましたら、お教えください。
ちなみに、環境は、Solaris2.5.1です。initdbを実行したユーザと
postmasterを起動しようとしているユーザは同じものです。
よろしくお願い致します。



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