Thanks everyone. Sorry for the delay. There was another less specific
summary that just came across. In order to tweek the shm table sizes
you have to properly edit /etc/system and reboot -r.
I had to add the following line into /etc/system for Notes 4 to come up.
set shmsys:shminfo_shmmax=8388608
Some of the responses mentioned more parameters to play with so I am appending
all
responses. For the record, please don't blame lotus for lack of
documentation. I was handed the CD alone by the IT Notes administrator and
asked
to have a go at it... "Installs fine on NT" she says ;-)
My thanks to
Brion Leary <bleary@state.ma.us>
Torsten Metzner <tom@plato.uni-paderborn.de>
Henry Katz <hkatz@panix.com>
Jens Fischer <jefi@kat.ina.de>
sin@weusc.es (Robin Sinclair)
Andi Paton <apaton@wtl1.demon.co.uk>
iv08480@issc02.mdc.com (Colin Melville)
miquel@proton.uab.es (Miquel Cabanas. BBM-UAB)
------- Original Post
Subject: Notes under Solaris 2.5 fails
Date: Fri, 23 Aug 1996 09:18:40 -0700
From: Nicky Ayoub <nicky@hal.Microchip.COM>
Hello Gurus,
It looks like a shared memory error to me. The system is an IPX with
32M of RAM
> swap -l
swapfile dev swaplo blocks free
/dev/dsk/c0t3d0s1 32,25 8 271144 254792
When I truss notes, it points to an err in a shmget call. I
assume shmget can't aquire the 8000000 bytes that it wants and dies
because if that. Is it possible to configure the host with more
shared memory buffers? I am new to solaris 2 so I thought I might
ask here. Pointers to tuning documentation will be fine. I
can do the homework with the proper push. Thanks All.
getpid() = 2580 [2579]
shmget(-458816, 489880, 0660|IPC_CREAT|IPC_EXCL) = 100
shmat(100, 0, 0) = 0xEE410000
shmget(-458815, 8000000, 0660|IPC_CREAT) Err#22 EINVAL
Incurred fault #6, FLTBOUNDS %pc = 0xEF24ECDC
siginfo: SIGSEGV SEGV_MAPERR addr=0xFFFFFFFF
Received signal #11, SIGSEGV [caught]
siginfo: SIGSEGV SEGV_MAPERR addr=0xFFFFFFFF
sigprocmask(SIG_SETMASK, 0xEEEC59D4, 0x00000000) = 0
getpid() = 2580 [2579]
Incurred fault #6, FLTBOUNDS %pc = 0xEF2386A4
siginfo: SIGSEGV SEGV_MAPERR addr=0x0000003C
Received signal #11, SIGSEGV [caught]
siginfo: SIGSEGV SEGV_MAPERR addr=0x0000003C
signal fault in critical section
write(2, " s i g n a l f a u l t".., 33) = 33
signal number: 11, signal code: 1, fault address: 0x3c,
write(2, " s i g n a l n u m b e".., 62) = 62
pc: 0xef2386a4, sp: 0xefffdc80
write(2, " p c : 0 x e f 2 3 8 6".., 31) = 31
ABORT: core dump
write(2, " A B O R T : c o r e ".., 17) = 17
sigaction(SIGSEGV, 0xEEEC5AAC, 0x00000000) = 0
setcontext(0xEFFFDA40)
Incurred fault #6, FLTBOUNDS %pc = 0xEF2386A4
siginfo: SIGSEGV SEGV_MAPERR addr=0x0000003C
Received signal #11, SIGSEGV [default]
siginfo: SIGSEGV SEGV_MAPERR addr=0x0000003C
*** process killed ***
------- End of included Messages
------- Message 1
From: bleary@state.ma.us
Nicky,
Have you configured shared memory in your kernel?
example from my /etc/system file:
* shmmax = max 20971520 8388608
set shmsys:shminfo_shmmax=20971520
* shmmni = 100 + 2000
set shmsys:shminfo_shmmni=2100
* shmseg = max 100 10
set shmsys:shminfo_shmseg=100
set shmsys:shminfo_shmmin=1
If you search for shminfo_ in Answerbook you'll get references.
One undocumented gotcha' -- after editing /etc/system and rebooting with
boot -r, if you do 'ipcs' you will not see any shared memory info from
your kernel. That's ok. It isn't loaded until you a running process asks
for it (this is Solaris, kernel loads modules dynamically as needed).
As for the values you'll need to run Notes - that should be in the install
documentation (else shame on Lotus/IBM!).
Brion Leary <bleary@state.ma.us>
------- Message 2
From: Torsten Metzner <tom@plato.uni-paderborn.de>
Hello Nicky,
I just had a look at your WWW page. As an 5 years UNIX admin the following
should be enough informations. {;-)
shmsys is the keyword
E.g. put:
set shmsys:shminfo_shmmax=8388608
in your /etc/system file and reboot. It's a good idea to save the old file
before you modify /etc/system.
I think you are experienced enough, so you need not more infos, because
if you know the keyword everything is easy. But here are some.
- - Use the answerbook.
- - Take a look at the sun-managers FAQ {;-) I can send it to you if neccessary
Here you will find:
Subject: 2.4) How do I get help upgrading to Solaris 2.x?
Start by reading the Solaris FAQ, maintained and posted periodically to
comp.unix.solaris by Casper Dik <casper@fwi.uva.nl>. It can be obtained
by anonymous ftp to ftp.fwi.uva.nl, in /pub/solaris. An HTML version
can be obtained at ftp://ftp.fwi.uva.nl/pub/solaris/solaris2.html.
IMHO everyone should know Casper's FAQ.
Get Casper's FAQ and search the keyword.
- - man sysdef
If there are still problems, feel free to ask.
Hope this helps,
Torsten.
- -----------------------------------------------------------------------------
-- My address : Torsten Metzner E-Mail: tom@uni-paderborn.de Universitaet-GH Paderborn Tel.: +49 5251 602641 FB 17 - Mathematik Fax : +49 5251 603836 Warburger Str. 100 Office: D3.204 33098 Paderborn Germany - ----------------------------------------------------------------------------- --------- Message 3
From: Henry Katz <hkatz@panix.com>
Nick,
you've got to tweak some sys params in /etc/system, below are some examples:
set semsys:seminfo_semmni=70 set semsys:seminfo_semmns=250 * value for oracle 7.16 * set shmsys:shminfo_shmmax=67000000 * value for sybase v.10.0 set shmsys:shminfo_shmmax=131072000 * set shmsys:shminfo_shmmin=10 set shmsys:shminfo_shmmni=100 set shmsys:shminfo_shmseg=100
trial and error is best not done here ;-)
Henry
Advanced Admin, | Henry Katz,MS net: hkatz@panix.com Systems Engineering, | ISCS, Inc. vox: 718.263.5762 fax: 718.268.3584 Extraordinary |"The hereafter for all we know may be an eternal Unix Solutions | state of excruciating insanity"- Nabokov
------- Message 4
From: Jens Fischer <jefi@kat.ina.de>
Hi Nicky,
you should add the following line to /etc/system:
set shmsys:shminfo_shmmax=8000000
in order to get 8 MB of shared Memory configured.
Regards - Jens Fischer
I User : Jens Fischer Department : DV-Anwendungsentwicklung Technik I N A Company : INA Werk Schaeffler KG Address Industriestrasse 1-3 A D 91074 - Herzogenaurach Phone : (+49)9132-823262 FAX : (+49)9132-824953 e-mail : fischjns@kat.ina.de
------- Message 5
From: sin@weusc.es (Robin Sinclair)
I ran into this sort of thing with a large image-processing app, and had to do the following in /etc/system :
setshmsys:shminfo_shmmax=16777216 setshmsys:shminfo_shmmin=1 setshmsys:shminfo_shmmni=100 setshmsys:shminfo_shmseg=10
for 16M shared memory on a SPARC 10 running 2.4
The last 3 lines are not necessary, only the shmmax
------- Message 6
From: Andi Paton <apaton@wtl1.demon.co.uk>
The Lotus Notes 3.1 Install guide under Solaris 2.x suggests add the following to your /etc/system file (kernel config)
set shmsys:shminfo_shmmax=1000000 set shmsys:shminfo_shmseg=20 set strctlsz=2048
You could also try increasing maxusers e.g. set maxusers=32
Once the file has been edited do a reboot.
Andi Paton email : apaton@wtl1.demon.co.uk - --------------------------------------------------------------------------- Software : A product that you play with long enough will work Hardware : A product that you play with long enough will break
------- Message 7
From: iv08480@issc02.mdc.com (Colin Melville)
Nicky,
Yes, it's possible I think. Look at the Answerbook for /etc/system (that is the file where kernel mods go). Also, try Answerbook for "shmget".
Colin
%)====================================================%) %) Colin Melville | cmelville@mdc.com %) %) UNIX Systems Administrator| NTS Technical Services %) %) UNIX Server Support Team | http://www.ntstech.com %) %) %) %) Contracted to: McDonnell Douglas Aircraft Corp. %) %) http://www.mdc.com %) %)====================================================%)
------- Message 8
From: miquel@proton.uab.es (Miquel Cabanas. BBM-UAB) hi,
for your homework:
1. check the man page for swap(1M) and mkfile(1M). The first command is used to administer swap files that increase the amount of available swap space. The 2nd one is used to create a file with the desired size.
2. if you have the AnswerBook installed, look for virtual memory or swap. There's a detailed description on how to set up a swapfile
if you don't, i could send you the pages (as a ps file)
hope this helps.
miquel
Miquel E Cabanas --------------------------------------------------- SeRMN & BBM - Universitat Autonoma de Barcelona, Catalunya - Spain
e-mail: miquel@proton.uab.es url: http://bbm-web.uab.es/biomed-nmr/miquel_angles.html - ------------------------------------------o-oo--ooo---ooo--oo-o-----
------- End of included Messages
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:09 CDT