Re: shmmin settings in Sun Solaris
Posted in 2003
Topics: Installation, Setup & Upgrades, Platform-Specific Issues
Paul Watson <paul@oninit.com> wrote in message news:<3FB3A455.198136BB@oninit.com>... > powerd (1M) is the power management daemon, you get an EINVAL if > you attempt to start it with shmmin over 68. There is no need > for powerd to running unless you want the machine to shutdown > automatically due to idle time or low battery etc. > > I believe powerd became default in 2.4 but that was a while back. But > I suspect that was when the /etc/system recommendations from Informix > were set as they still mentions enable_sm_va > > Jonathan Leffler wrote: > > > > Paul Watson wrote: > > > > > AFAIR the shmmin of 1 is required for powerd, if you are not using > > > power management then leave it at 64 > > > > I agree with the first half - powerd is the primary system user. On > > Solaris 7, I set it to 16 because powerd used a somewhat bigger number > > (28 bytes?). On Solaris 8, powerd only uses 4 bytes. Informix > > doesn't care what the value is as long as it is small enough to permit > > the smallest segment IDS wants to allocate - which would probably be > > in the 1KB range. > > > > I disagree with the conclusion - if Sun recommends 1, use 1. It's > > their o/s. Setting it to 1 won't harm Informix - and not setting it > > to 1 might harm your system. > > > > > jjjj wrote: > > >> I have Informix dynamic server 9.20.UC1 installed on Sun Solaris > > >> machine. The shmmin setting in /etc/system is set to 64. Sun > > >> recommends to set it to 1. Can anyone tell me if it is ok to > > >> change the value to 1? Any addintional information about it is > > >> welcome. > > > > -- > > Jonathan Leffler #include <disclaimer.h> > > Email: jleffler@earthlink.net, jleffler@us.ibm.com > > Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/ According to Informix, the value can be the smallest value OS can support. Hence, no problem changing it to 1.