on 08-26-2009 4:26 AM
Hello all,
I am having an interesting time here working with a machine that has both MOBILE 7.1 and PI 7.1 on it.
When I did the installation, both came up fine and I was able to use the SAP GUI to get into them.
Then, I take the system down and now am encountering issues. I have incorporated some of the error files below.
I am working with a Linux box.
I think that the problem lies with the shared memory. I saw this error here:
ERROR => shmget(19003,66864000,2016) (22: Invalid argument) [shmux.c 1504]
What does this error mean? What are some correct values to adjust the shared memory?
TIA
__________________________________________________
=>
file: startsap_DVEBMGS90.log
file/FDX_DVEBMGS90_scar
(5603) Waiting for Child Processes to terminate.
(5603) **** 2009/08/25 10:03:44 Child 5680 terminated with Status 0 . ****
Instance on host scar started
=>
file: startsap_saphostagent.log
Tue Aug 25 10:04:02 2009
start hostcontrol using profile /usr/sap/hostctrl/exe/host_profile
ERROR => Already Running (pid=4352) [HostServiceI 892]
=>
file: dev_disp.new
DpShMCreate: sizeof(gw_adm) 48
DpShMCreate: sizeof(j2ee_adm) 3928
DpShMCreate: SHM_DP_ADM_KEY (addr: 7f01f7843000, size: 7195472)
ERROR => shmget(19003,66864000,2016) (22: Invalid argument) [shmux.c 1504]
ERROR => DpShMCreate: ShmCreate SHM_DP_CA_KEY(rc=1) [dpxxca.c 186]
ERROR => DpIPCInit2: DpShMCreate [dpxxtool2.c 500]
DP_FATAL_ERROR => DpSapEnvInit: DpIPCInit2
DISPATCHER EMERGENCY SHUTDOWN ***
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
Hello Harris
Clear the shared memory as suggested above and maintain Physical memory for both the SID in RZ10
Parameter: "PHYS_MEMSIZE" in Instance Profile.
~Ankush
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys and thanks for the responses.
The system is up and working now but I did some extra things.
>
> While you are installing it ask you the memory you want to have for the Perticular SID in the Advance DB configuration.
>
> thanks
> Rishi Abrol
I did not see any part during the installation asking for the amount of memory the SID should use.
>
> Hello Harris
>
> Clear the shared memory as suggested above and maintain Physical memory for both the SID in RZ10
> Parameter: "PHYS_MEMSIZE" in Instance Profile.>
> ~Ankush
Does this apply to the instance only (in other words, how much memory the SID:XYZ is allowed to take up altogether)?
Does this value also include shared memory for the DB?
In the end, is it supposed to be PHYS_MEMSIZE (of SID1) + PHYS_MEMSIZE (of SID2) = Total memory of machine?
Edited by: Casey Harris on Aug 26, 2009 3:11 PM
Now that the system is working, what I did was:
-> /etc/init.d/sapstart stop
-> I checked for shared memory and none was being used
-> I changed the /etc/sysctl.conf file from the OLD (listed below) to the NEW (also listed below)
QUESTION 1: There was a note that said that -1 was a good value for kernel.shmmax is this correct?
QUESTION 2: Is the sysctl.conf file OK? As of now, there is about 6GB of RAM
-> I restarted the system
-> I made sure available.log was OK for both systems
____________________________________________________________________
OLD sysctl.conf
kernel.shmall = 2097152
#From SAP note
kernel.shmmax = -1
kernel.shmmni = 4096
#From SAP Note
kernel.sem = 1250 256000 100 8192
#from SAP note
vm.max_map_count = 300000
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 262144
_________________________________________________________________
NEW sysctl.conf
fs.inotify.max_user_watches = 65536
#message on net - Aug 26 2009
kernel.shmmax = 4294967295
kernel.shmall = 268435456
kernel.shmmni = 4096
#From SAP Note
kernel.sem = 1250 256000 100 8192
#from SAP note
vm.max_map_count = 300000
#
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 262144
_____________________________________________________________
TIA,
Casey
While you are installing it ask you the memory you want to have for the Perticular SID in the Advance DB configuration.
What did you give at that time.Did you adjust the memory in that phase.
Try to stop the SAP system and the database ,check that no process is running and clean the shaed menory segment
Use cleanipc XX remove where XXis the instance no of the two Sid.
thanks
Rishi Abrol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.