Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2006 12:01:23 +0100
From:      "Kipp Holger" <h.kipp@eurowings.com>
To:        <stable@freebsd.org>
Subject:   How do I change kern.ipc.shmmax in FreeBSD 5.x automatically after reboot?
Message-ID:  <BA84A761ED41C54893BED691A4A574CF014DE96A@EXCH5.eurowings.com>

next in thread | raw e-mail | index | archive | help

Hello,

I have the following entries in /boot/loader.conf:

  kern.ipc.shm_use_phys=3D"1"
  kern.ipc.semmns=3D"500"
  kern.ipc.semmni=3D"40"
  kern.ipc.semmap=3D"500"

which are set correctly. Unfortunately, the following
two entries

  kern.ipc.shmmax=3D"512000000"
  kern.ipc.shmall=3D"65526"

do not change the corresponding values according
to sysctl, no matter whether I put them in=20
/boot/loader.conf or /etc/sysctl.conf.

Changing them by hand (as root with 'sysctl') afterwards
however _does_ work, so I have (for now) put
those two settings in a little script
(/usr/local/etc/rc.d/000_sysctl.sh)

Has this behaviour changed for 6.x?
Anyone who could explain this behaviour?

Regards,
Holger



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