Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 May 2001 13:28:32 +0000
From:      lists@mediumgreen.com
To:        Matt Dillon <dillon@earth.backplane.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Should /sys/i386/conf/GENERIC's SysV shared memory  settings+defaults be re-thought?
Message-ID:  <20010504172935.A249837B422@hub.freebsd.org>
In-Reply-To: Message from Matt Dillon <dillon@earth.backplane.com>  of "Fri, 04 May 2001 10:07:27 MST." <200105041707.f44H7Rw26684@earth.backplane.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
I think I heard Matt Dillon say:
>    Could you do me a favor and post your 'ipcs -a' output for the case
>    of your nominally heavy X load?
>
>    I am looking to raise the SHMMAXPGS default from 1024 to 8192,
>    SHMMNI from 96 to 192, and SHMSEG from 64 to 128.  The question is
>    whether I have to raise SHMMNI and SHMSEG even higher -- I'm guessing
>    that your problems were mostly due to the too-low SHMMAXPGS default.

I've seen similar issues with my home machine.  If I leave vmware running,
my backups fail.  I haven't yet gotten around to rebuilding the kernel with
the shm setting changed.

Here is my current ipcs output:


Message Queues:
T     ID     KEY        MODE       OWNER    GROUP  CREATOR   CGROUP CBYTES  QNUM QBYTES LSPID LRPID   STIME    RTIME    CTIME

Shared Memory:
T     ID     KEY        MODE       OWNER    GROUP  CREATOR   CGROUP NATTCH  SEGSZ  CPID  LPID   ATIME    DTIME    CTIME
m  65536    2622055 --rw-r--r--     root    wheel     root    wheel      1 1048576    287    287 2:48:02 23:16:20  2:48:02

Semaphores:
T     ID     KEY        MODE       OWNER    GROUP  CREATOR   CGROUP NSEMS   OTIME    CTIME
s  65536    2622057 --rw-rw-rw-     root    wheel     root    wheel     14no-entry  2:48:02


-matthew



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010504172935.A249837B422>