From: Tam MK <mktam@dg21.com>
To: pgsql-performance@postgresql.org
Subject: More connections in Solaris9
Date: Thu, 21 Aug 2003 19:56:57 +0800
Message-ID: <00d001c367db$54c98ea0$1400a8c0@DIGITALONE> (raw)
I try to increase my no. of connections of the Postmaster in my client's
Solaris9 box but fails:
When startup using bin/postmaster -N 300 -B 2000 -D /export/data, I got the
message:
IpcSemaphoreCreate: semget(key=5432004, num=17, 03600) failed: No space left
on device
This error does *not* mean that you have run out of disk space.
It occurs either because system limit for the maximum number of
semaphore sets (SEMMNI), or the system wide maximum number of
semaphores (SEMMNS), would be exceeded. You need to raise the
respective kernel parameter. Look into the PostgreSQL documentation
for details.
So what should I set for SEMMNI and SEMMNS? Any suggestion?
The /etc/system file (partial) is set with the following:
set shmsys:shminfo_shmmax=0x7fffffff
set rlim_fd_max=8192
set rlim_fd_cur=4096
Regards,
Tam MK
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: mktam@dg21.com
Subject: Re: More connections in Solaris9
In-Reply-To: <00d001c367db$54c98ea0$1400a8c0@DIGITALONE>
References: <00d001c367db$54c98ea0$1400a8c0@DIGITALONE>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox