cancel
Showing results for 
Search instead for 
Did you mean: 

Program Swaps Still red after increasing memory pool 10

Former Member
0 Kudos

Dear Guru's

I use SAP R/3 4.0B. i face a red alert in Program Swaps (abap/buffersize (pxa)). i already try to increase size of memory pool 10 and move ipc/shm_psize_06 = -10.

But i always get red alert from Program Swaps (in ST02). my question, how to eliminate program swaps red alert in the future?

Here is the configuration of profile

ipc/shm_psize_06 = -10

abap/swap_reserve = 20971520

ipc/shm_psize_04 = -10

ipc/shm_psize_07 = -10

ipc/shm_psize_10 = 912000000

ipc/shm_psize_14 = -10

ipc/shm_psize_19 = 0

ipc/shm_psize_40 = 98000000

ipc/shm_psize_51 = -10

ipc/shm_psize_52 = -10

ipc/shm_psize_54 = -10

ipc/shm_psize_55 = -10

SAPPFPAR Check pf result.....

================================================================================

== Checking profile: /sapmnt/TRX/profile/TRX_D01_pride1

================================================================================

Shared memory disposition overview

================================================================

Shared memory pools

Key: 10 Pool

Size configured.....: 912000000 ( 869.7 MB)

Size min. estimated.: 908616838 ( 866.5 MB)

Advised Size........: 912000000 ( 869.7 MB)

Key: 40 Pool for database buffers

Size configured.....: 98000000 ( 93.5 MB)

Size min. estimated.: 93384400 ( 89.1 MB)

Advised Size........: 96000000 ( 91.6 MB)

Shared memories inside of pool 10

Key: 1 Size: 2000 ( 0.0 MB) System administration

Key: 2 Size: 6425872 ( 6.1 MB) Disp. administration tables

Key: 3 Size: 112000000 ( 106.8 MB) Disp. communication areas

Key: 4 Size: 525448 ( 0.5 MB) statistic area

Key: 6 Size: 632832000 ( 603.5 MB) ABAP program buffer

Key: 7 Size: 14838 ( 0.0 MB) Update task administration

Key: 8 Size: 8192100 ( 7.8 MB) Paging buffer

Key: 9 Size: 66060388 ( 63.0 MB) Roll buffer

Key: 11 Size: 500000 ( 0.5 MB) Factory calender buffer

Key: 12 Size: 120000 ( 0.1 MB) TemSe Char-Code convert Buf.

Key: 13 Size: 2500000 ( 2.4 MB) Alert Area

Key: 14 Size: 26000000 ( 24.8 MB) Presentation buffer

Key: 16 Size: 22400 ( 0.0 MB) Semaphore activity monitoring

Key: 17 Size: 1441892 ( 1.4 MB) Roll administration

Key: 18 Size: 1835108 ( 1.7 MB) Paging adminitration

Key: 31 Size: 3606000 ( 3.4 MB) Dispatcher request queue

Key: 33 Size: 30720000 ( 29.3 MB) Table buffer, part.buffering

Key: 51 Size: 3200000 ( 3.1 MB) Extended memory admin.

Key: 52 Size: 20000 ( 0.0 MB) Message Server buffer

Key: 54 Size: 12582912 ( 12.0 MB) Export/Import buffer

Key: 55 Size: 8192 ( 0.0 MB) Spool local printer+joblist

Shared memories inside of pool 40

Key: 41 Size: 9010000 ( 8.6 MB) DB statistics buffer

Key: 42 Size: 5380592 ( 5.1 MB) DB TTAB buffer

Key: 43 Size: 51846392 ( 49.4 MB) DB FTAB buffer

Key: 44 Size: 6790392 ( 6.5 MB) DB IREC buffer

Key: 45 Size: 5254392 ( 5.0 MB) DB short nametab buffer

Key: 46 Size: 20480 ( 0.0 MB) DB sync table

Key: 47 Size: 11776000 ( 11.2 MB) DB CUA buffer

Key: 48 Size: 300000 ( 0.3 MB) Number range buffer

Key: 49 Size: 3000000 ( 2.9 MB) Spool admin (SpoolWP+DiaWP)

Shared memories outside of pools

Key: 19 Size: 65000000 ( 62.0 MB) Table-buffer

Key: 1002 Size: 400000 ( 0.4 MB) Performance monitoring V01.0

Key: 58900101 Size: 4096 ( 0.0 MB) SCSA area

Nr of operating system shared memory segments: 8

Shared memory resource requirements estimated

================================================================

Nr of shared memory descriptors required for

Extended Memory Management ..............: 64

Total Nr of shared segments required.....: 72

System-imposed number of shared memories.: 1000

Shared memory segment size required min..: 912000000 ( 869.7 MB)

System-imposed maximum segment size......: 4294967296 (4096.0 MB)

Swap space requirements estimated

================================================

Shared memory....................: 1025.6 MB

..in pool 10 866.5 MB, 99% used

..in pool 40 89.1 MB, 95% used

..not in pool 62.4 MB

Processes........................: 322.0 MB

Extended Memory .................: 4096.0 MB

-


Total, minimum requirement.......: 5443.5 MB

Process local heaps, worst case..: 1907.3 MB

Total, worst case requirement....: 7350.9 MB

Errors detected..................: 0

Warnings detected................: 0

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hello,

in a productive system till 10000 swaps per day for the program buffer should be fine.

the parameter abap/buffersize defines the size of the program buffer, you might need to increase this one.

kind regards,

Mercedes

Former Member
0 Kudos

Hi Mercedes,

i already set abap/buffersize=600000, but still red alert. is it enough?

Thanks,

Agni

0 Kudos

Hello,

how many swaps do you have per day? around 10000 - 12000 should be fine in a productive system.

if you have more you could increase it more.

kind regards,

Mercedes

Former Member
0 Kudos

Hi,

below 1000 per day. actually, what a really problem if we get red alert in program swaps?

Regards,

Agni

0 Kudos

Hello,

then should be ok, you don't need to increse the program buffer.

Swap shows how many objects have been swapped out since system startup.

kind regards,

Mercedes

Answers (2)

Answers (2)

Sriram2009
Active Contributor
0 Kudos

Hi

have you tried the Zero memory management as per the SAP note -88416

Regards

Sriram

Former Member
0 Kudos

Hi Sriram,

Thanks for your replied, but unfortunately our system using AIX 5.2 64 Bit not Microsoft O/S as that's note mentioned.

BTW, thank for your reply.

Regards,

Agni

Former Member
0 Kudos

I tried to take out abap/buffersize from memory pool 10 and restart the server.

the result is, red swap increase more lower than before.

Actually, which is better way to put abap/buffersize into pool 10 or outside pool 10?

Regards,

Agni

Former Member
0 Kudos

Hi Agni,

It is something around abap/buffersize = 1500000, in my profile configuration. You should calculate the average value by calling ST02 -> double click on "program" -> History (Shift+F6) -> Get average value of "Free Stor." column

So, it will help you to find suitable value for your needs.

But keep in mind that, if your system is 32-bit, the value shouldn't be more than 1500000. Otherwise, your system might not be started succesfully.

Best regards,

Orkun Gedik

Former Member
0 Kudos

Hi orkun,

thanks for your share, but unfortunately i cannot find "Get Average Value....". because i used 4.0B version, maybe.

Is there any clue in SAP that i can follow for create a suitable size for my R3?

Regards,

Agni

Former Member
0 Kudos

Hi Agni,

>> thanks for your share, but unfortunately i cannot find "Get Average Value....". because i used 4.0B version, maybe.

There is no "Get Average Value...." field here. I wanted to say that you should calculate it by yourself.

Here is the formula;

SumOf(Directory Entries free)/number of total days

Or take a look at "Average" line at the bottom of the list.

Then, you should monitor it, in the further days and increase the value, if it requires.

Best regards,

Orkun Gedik