More connections in Solaris9

From: "Tam MK" <mktam(at)dg21(dot)com>
To: <pgsql-performance(at)postgresql(dot)org>
Subject: More connections in Solaris9
Date: 2003-08-21 11:56:57
Message-ID: 00d001c367db$54c98ea0$1400a8c0@DIGITALONE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

Browse pgsql-performance by date

  From Date Subject
Next Message Mathieu De Zutter 2003-08-21 13:35:38 Sorting a query on a view ignores an index
Previous Message Bruno Wolff III 2003-08-20 13:36:24 Re: When NOT to index small tables?