on 12-15-2011 8:27 PM
Hello everybody....I am a newbie into this Basis thing, and i have been playin around in SAP, but now i have this issue on our productive server...
Our system is running normally, but.....when some users are runnig huge reports the server just collapses.....and when I look into TX-ST22 I see some errors refering to PXA_NO_SHARED_MEMORY....
I have read in the detail error and I saw that the ABAP program tried to run, but needed 300000KB of memory...then below I also saw that the current is 287, something....so it does not match the 300000that are required by the ABAP Program...so i guess this is the main cause of the NO_PXA error....
by the way I am running Windows 2003 x64, 16 GB PHYS_MEM, and a 65GB page file...
around 25 WP on SAP, don't know what else you need to know in order to have a better idea on how to help out...
thanks in advance...
Do check if there is not enough contiguous address space to create the buffer of size required MB
Make sure that the system can start properly. Generally, the size
of the PXA area (profile parameter abap/buffer size) will be too large
for your system
1569318 - ST22 DUMP PXA_NO_SHARED_MEMORY
Read SAP note 307976 for information about this dump type PXA_NO_SHARED_MEMORY.
-Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Same problem is addressed in thread http://forums.sdn.sap.com/thread.jspa?threadID=1354115.
Increasing abap/buffersize should resolve your issue.
Regards,
Ashutosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is the abap/buffersize the same as the ABAP Program in the buffer and work process part in the basic administration option within the RZ10 ??
If so, right now is set to 300000 KB i tried to increase it to 310000 KB and this was the result:
SAP service didn't started after i rebooted the server in order the changes take effect..i had to modify the profile files from notepad back to normal...
how is this parameter modified??
I mean how much can I increase, is there any kind of grow pattern or formula to know the size I can grow??
Yes, that is the parameter.
In this case, I guess you need to use SAPPFPAR command from your EXE or NTAMD64 to check your memory parameter values and adjust the values as recommended by the tool.
Refer to below link on how to use it (You can also search in google or SAP Website on more information on this tool)
http://mysapbasis.wordpress.com/2009/09/17/analysing-memory-using-sappfpar-command-in-sap/
http://basishowto.blogspot.com/2011/07/sappfpar-tools-to-check-sap-server.html
Refer to the note and adjust the parameters if server is Windows -
88416 Zero administration memory management for the ABAP server
918475 Correction for shared memory calculation (Windows and Linux)
Thanks,
Arjun
I just ran SAPPFPAR and got this results:
S:\usr\sap\PRD\DVEBMGS00\exe>sappfpar check pf=PRD_DVEBMGS00_sftcr-s01prd
sappfpar=>sapparam(2): fopenU("PRD_DVEBMGS00_sftcr-s01prd","r"): No such file or
directory
sappfpar=>No Profile used.
sappfpar=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
================================================================================
== Checking profile: <no_profile>
================================================================================
Shared memory disposition overview
================================================================
Key: 1 Size: 2500 ( 0.0 MB) System administration
Key: 2 Size: 6108332 ( 5.8 MB) Disp. administration tables
Key: 3 Size: 13714400 ( 13.1 MB) Disp. communication areas
Key: 4 Size: 503248 ( 0.5 MB) statistic area
Key: 5 Size: 4096 ( 0.0 MB) SCSA area
Key: 6 Size: 319488000 ( 304.7 MB) ABAP program buffer
Key: 7 Size: 14838 ( 0.0 MB) Update task administration
Key: 8 Size: 134217828 ( 128.0 MB) Paging buffer
Key: 9 Size: 268435556 ( 256.0 MB) Roll buffer
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: 2760892 ( 2.6 MB) Roll administration
Key: 18 Size: 917604 ( 0.9 MB) Paging adminitration
Key: 19 Size: 30000000 ( 28.6 MB) Table-buffer
Key: 30 Size: 3072 ( 0.0 MB) Taskhandler runtime admin.
Key: 31 Size: 1806000 ( 1.7 MB) Dispatcher request queue
Key: 33 Size: 10240000 ( 9.8 MB) Table buffer, part.buffering
Key: 41 Size: 25010000 ( 23.9 MB) DB statistics buffer
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)
Key: 51 Size: 3200000 ( 3.1 MB) Extended memory admin.
Key: 52 Size: 40000 ( 0.0 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: 1048576 ( 1.0 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: 1002 Size: 400000 ( 0.4 MB) Performance monitoring V01.0
Nr of operating system shared memory segments: 40
Shared memory resource requirements estimated
================================================================
Total Nr of shared segments required.....: 40
Shared memory segment size required min..: 319488000 ( 304.7 MB)
Swap space requirements estimated
================================================
Shared memory....................: 999.0 MB
Processes........................: 29.0 MB
Extended Memory .................: 4096.0 MB
----
Total, minimum requirement.......: 5124.0 MB
Process local heaps, worst case..: 16383.0 MB
Total, worst case requirement....: 21507.0 MB
Errors detected..................: 0
Warnings detected................: 0
as far as I understood looks like my system is well configured, although i have that PXA error from time to time, maybe I misunderstood, if so , please correct me.
thanks in advance.
I ran it the right way and still no error, but one warning...heres the run
this gw host..I located it in Austria, I guess this is for licensing or something like that...
================================================================================
== Checking profile: s:\usr\sap\PRD\SYS\profile\PRD_DVEBMGS00_sftcr-s02prd
================================================================================
WARNING: Unexpected parameter: gw/alternative_hostnames =213.150.251.111
Shared memory disposition overview
================================================================
Key: 1 Size: 2500 ( 0.0 MB) System administration
Key: 2 Size: 6148628 ( 5.9 MB) Disp. administration tables
Key: 3 Size: 13714400 ( 13.1 MB) Disp. communication areas
Key: 4 Size: 517048 ( 0.5 MB) statistic area
Key: 5 Size: 4096 ( 0.0 MB) SCSA area
Key: 6 Size: 319488000 ( 304.7 MB) ABAP program buffer
Key: 7 Size: 14838 ( 0.0 MB) Update task administration
Key: 8 Size: 134217828 ( 128.0 MB) Paging buffer
Key: 9 Size: 268435556 ( 256.0 MB) Roll buffer
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: 2760892 ( 2.6 MB) Roll administration
Key: 18 Size: 917604 ( 0.9 MB) Paging adminitration
Key: 19 Size: 30000000 ( 28.6 MB) Table-buffer
Key: 30 Size: 26624 ( 0.0 MB) Taskhandler runtime admin.
Key: 31 Size: 4806000 ( 4.6 MB) Dispatcher request queue
Key: 33 Size: 10240000 ( 9.8 MB) Table buffer, part.buffering
Key: 34 Size: 4194304 ( 4.0 MB) Enqueue table
Key: 41 Size: 25010000 ( 23.9 MB) DB statistics buffer
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)
Key: 51 Size: 3200000 ( 3.1 MB) Extended memory admin.
Key: 52 Size: 40000 ( 0.0 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: 1048576 ( 1.0 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: 1002 Size: 400000 ( 0.4 MB) Performance monitoring V01.0
Nr of operating system shared memory segments: 41
Shared memory resource requirements estimated
================================================================
Total Nr of shared segments required.....: 41
Shared memory segment size required min..: 319488000 ( 304.7 MB)
Swap space requirements estimated
================================================
Shared memory....................: 1005.9 MB
Processes........................: 336.1 MB
Extended Memory .................: 4096.0 MB
----
Total, minimum requirement.......: 5438.1 MB
Process local heaps, worst case..: 1907.3 MB
Total, worst case requirement....: 7345.4 MB
Errors detected..................: 0
Warnings detected................: 1
Hi Jesus,
Increase your abap/buffersize to around 600000 or more.
If you are using Zero Administration Memory Management then only keep ztta/roll_area & ztta/short_area parameters in profile and delete all other parameters related to memory.
Award points if useful.
Thanks,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to tune your ABAP parameters to avoid memory related issues.
Check your ABAP/BUFFERSIZE and em/max_size_MB value
Check this note :- Note 307976 - PXA_NO_SHARED_MEMORY, Note 146289 - Parameter Recommendations for 64-Bit SAP Kernel
Also, you can run SAPPFPAR pf=\usr\sap\SID\SYS\profile for memory values,
check this link http://forums.sdn.sap.com/thread.jspa?threadID=1954394
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.