on 10-11-2007 2:57 PM
We are running 5 SAP ECC 6.0 systems on Solaris 10 with the project definitions configured as mentioned in note 724713.
Now after the fifth system was installed, we have problems to start all of the systems.
The error can occur for either of the systems and in dev_disp it would say:
ERROR => e=28 semget(20038,1,2047) (28: No space left on device) [semux.c 928]
ERROR => CCMS: SemInit failed [alxxappl.c 610]
ERROR => CCMS: sAlInit: could not create/attach shared memory key 13 (rtc = 255) [alxx.c 1187]
Before the fifth system was installed, we didn't experience any problems.
Do we have to change the project definitions and if yes how?
We have defined 5 projects (each system) with the following values for each project:
SD2:200:SAP System SD2:orasd2,sd2adm::process.max-sem-nsems=(priv,2048,deny);project.max-sem-ids=(priv,1024,deny);project.max-shm-ids=(priv,256,deny);project.max-shm-memory=(priv,18446744073709551615,deny)
Best Regards
Walter
Hi Walter,
do you have the users assigned to the project in /etc/user_attr?
If yes, you'd need to increase max-shm-ids (1024).
--
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Markus,
It is helped me in a critical situation.
Regards,
Govardhan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Markus
The increase of max-shm-ids with for example
projmod -s -K "project.max-shm-ids=(priv,1024,deny)" SD2
as you pointed out in the first place, did help anyway!
It looks like that the change was not effective right away but with some delay ... perhaps a synchronization issue?
Cheers
Walter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have changed the project vith projmod it looks now like :
htudv# projects -l `projects -d sd2adm`
SD2
projid : 200
comment: "SAP System SD2"
users : orasd2
sd2adm
groups : (none)
attribs: process.max-sem-nsems=(priv,2048,deny)
project.max-sem-ids=(priv,1024,deny)
project.max-shm-ids=(priv,1024,deny)
project.max-shm-memory=(priv,18446744073709551615,deny)
htudv#
But when I start SD2 I still get:
ERROR => e=28 semget(20038,1,2047) (28: No space left on device) [semux.c 928]
ERROR => CCMS: SemInit failed [alxxappl.c 610]
And what confuses me is that all the processes started under sd2adm I watched with
prctl -t privileged <pid> , have a value like
project.max-shm-ids
privileged 128 - deny ???
Why not 1024 as defined in the project?
BR
Walter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is only for new started processes.
You can try the following:
- kill saposcol of the system SD2
- kill sapstartsrv of system SD2 (this is not stopped when you initial 'stopsap')
- stop oracle, listener and all other processes belonging to sd2adm and orasd2
Then try to start them again with the new project settings.
--
Markus
Thanks Markus
Yes we have assigned the users:
sd2adm::::project=SD2
orasd2::::project=SD2
How would you change the value? By deleting/readding the project or with projmod?
Walter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
since the syntax of projmod is... ehm... "strange", I use the Solaris Management Console for that:
login as root
start "smc" (with DISPLAY set or on the console)
wait a minute or two until smcwebserver is started
configuration via SMC is pretty straightforward (system configuration - projects)
However, you could also just delete with vi the entry in /etc/projects and create it new.
--
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.