on 12-19-2013 2:34 AM
I am do a clean installation of NetWeaver 7.0 SR3. When it comes to the start instance phase, the WP could not be started. I have checked the dev_w0, there is an error says:
M SHM_PRES_BUF | (addr: 7fb6acf8e000, size: 4400000) |
I *** ERROR => shmat(11698206,0x(nil),SHM_RND) (12: Cannot allocate memory) [shmux.c 1593]
M *** ERROR => ThShMCreate: ShmCreate SHM_ROLL_AREA_KEY failed [thxxhead.c 2757]
M *** ERROR => ThIPCInit: ThShMCreate [thxxhead.c 2172]
M ***LOG R19=> ThInit, ThIPCInit ( TSKH-IPC-000001) [thxxhead.c 1567]
I have 4 GB RAM and 20GB swap space, so I think this is not due to memory bottle neck.
Can anyone help me on this? Thanks in advance!
Regards,
Roy Liu
hi,
did you fix the issue at the end?
if so, how?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Please set the parameter "rdisp/TRACE = 2" and start the system again.
Once the issue occurs, remove this parameter and attach to this thread:
1) The complete "DEFAULT.PFL" and "S01_DVEBMGS00_linux-7zr7" profiles;
2) The complete dev_w?? trace where you see the shared memory errors (similar to the entries posted at the opening of this thread).
Regards,
Isaías
PS: there is an option to attach files to the thread, so you do not need to copy/paste their entire content at the text box.
Hi all,
Thanks for all your answers. I have though about OS level parameters, and tried to change shmmax and shmall some times, but it did work. Currently, the two parameters are as follows:
cat /proc/sys/kernel/shmmax
18446744073709551615
cat /proc/sys/kernel/shmall
1152921504606846720
I have tried to restart the host a lot of times and also tried cleanipc, it seems not work
And the sappfpar results are as follows:
================================================================================
== Checking profile: /usr/sap/S01/SYS/profile/S01_DVEBMGS00_linux-7zr7
================================================================================
***WARNING: Unexpected parameter: rslg/new_layout =9
***WARNING: Unexpected parameter: service/protectedwebmethods =SDEFAULT
***WARNING: Unexpected parameter: ssl/ssl_lib =/usr/sap/S01/DVEBMGS00/exe/libsapcrypto.so
Shared memory disposition overview
================================================================
Shared memory pools
Key: 10 Pool
Size configured.....: 136000000 ( 129.7 MB)
Size min. estimated.: 132565864 ( 126.4 MB)
Advised Size........: 136000000 ( 129.7 MB)
Key: 40 Pool for database buffers
Size configured.....: 112000000 ( 106.8 MB)
Size min. estimated.: 109175040 ( 104.1 MB)
Advised Size........: 112000000 ( 106.8 MB)
Shared memories inside of pool 10
Key: 11 Size: 500000 ( 0.5 MB) Factory calender buffer
Key: 12 Size: 6000000 ( 5.7 MB) TemSe Char-Code convert Buf.
Key: 13 Size: 60500000 ( 57.7 MB) Alert Area
Key: 14 Size: 4400000 ( 4.2 MB) Presentation buffer
Key: 16 Size: 22400 ( 0.0 MB) Semaphore activity monitoring
Key: 17 Size: 11142696 ( 10.6 MB) Roll administration
Shared memories inside of pool 40
Key: 42 Size: 7232992 ( 6.9 MB) DB TTAB buffer
Key: 43 Size: 32534392 ( 31.0 MB) DB FTAB buffer
Key: 44 Size: 7958392 ( 7.6 MB) DB IREC buffer
Key: 45 Size: 4886392 ( 4.7 MB) DB short nametab buffer
Key: 46 Size: 20480 ( 0.0 MB) DB sync table
Key: 47 Size: 3073024 ( 2.9 MB) DB CUA buffer
Key: 48 Size: 500000 ( 0.5 MB) Number range buffer
Key: 49 Size: 2968344 ( 2.8 MB) Spool admin (SpoolWP+DiaWP)
Shared memories outside of pools
Key: 1 Size: 2500 ( 0.0 MB) System administration
Key: 2 Size: 5944564 ( 5.7 MB) Disp. administration tables
Key: 3 Size: 66864000 ( 63.8 MB) Disp. communication areas
Key: 4 Size: 513448 ( 0.5 MB) statistic area
Key: 6 Size: 319488000 ( 304.7 MB) ABAP program buffer
Key: 7 Size: 14838 ( 0.0 MB) Update task administration
Key: 8 Size: 268435556 ( 256.0 MB) Paging buffer
Key: 9 Size: 268435556 ( 256.0 MB) Roll buffer
Key: 18 Size: 3670116 ( 3.5 MB) Paging adminitration
Key: 19 Size: 30000000 ( 28.6 MB) Table-buffer
Key: 30 Size: 20480 ( 0.0 MB) Taskhandler runtime admin.
Key: 31 Size: 9612000 ( 9.2 MB) Dispatcher request queue
Key: 33 Size: 10240000 ( 9.8 MB) Table buffer, part.buffering
Key: 34 Size: 33554432 ( 32.0 MB) Enqueue table
Key: 41 Size: 25010000 ( 23.9 MB) DB statistics buffer
Key: 51 Size: 18000000 ( 17.2 MB) Extended memory admin.
Key: 52 Size: 180000 ( 0.2 MB) Message Server buffer
Key: 54 Size: 4202496 ( 4.0 MB) Export/Import buffer
Key: 55 Size: 8192 ( 0.0 MB) Spool local printer+joblist
Key: 57 Size: 1572864 ( 1.5 MB) Profilparameter in shared mem
Key: 58 Size: 4096 ( 0.0 MB) Enqueue ID for reset
Key: 62 Size: 85983232 ( 82.0 MB) Memory pipes
Key: 63 Size: 409600 ( 0.4 MB) ICMAN shared memory
Key: 64 Size: 4202496 ( 4.0 MB) Online Text Repository Buf.
Key: 65 Size: 4202496 ( 4.0 MB) Export/Import Shared Memory
Key: 81 Size: 21760 ( 0.0 MB) Security Audit Log
Key: 1002 Size: 400000 ( 0.4 MB) Performance monitoring V01.0
Key: 58900100 Size: 4096 ( 0.0 MB) SCSA area
Nr of operating system shared memory segments: 30
Shared memory resource requirements estimated
================================================================
Total Nr of shared segments required.....: 30
System-imposed number of shared memories.: 1000
Shared memory segment size required min..: 319488000 ( 304.7 MB)
Currently available maximum segment size.: 5570035712 (5312.0 MB)
Swap space requirements estimated
================================================
Shared memory....................: 1343.7 MB
..in pool 10 126.4 MB, 97% used
..in pool 40 104.1 MB, 97% used
..not in pool: 1107.2 MB
Processes........................: 257.8 MB
Extended Memory .................: 4096.0 MB
------------------------------------------------
Total, minimum requirement.......: 5697.5 MB
Process local heaps, worst case..: 1907.3 MB
Total, worst case requirement....: 7604.8 MB
Errors detected..................: 0
Warnings detected................: 3
Thanks : )
Roy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roy,
Please stop the system clean the shared memory using ipc clean command , if possible reboot the host .
Then start the system , it should work , if still face issue please provide dev_w* dev_disp log.
Best Regards,
Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roy
Just restart the system and then try again
Regards
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
can you please tell me the OS.
It looks that this issue is with the shared roll.
did you run below command and see if you get some error.
sappfpar check pf=<instance profile>
Can you please tell me the value of this parameter.
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.
Hi,
The error may be caused by OS level memory limit.
eg. kernel.shmall and kernel.shmmax in Linux.
Thanks.
Jim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.