cancel
Showing results for 
Search instead for 
Did you mean: 

ITS, New user session denied due to memory bottleneck

0 Kudos

Dear Friends,

We were facing the following issues

1) when we access Shopping cart functionality (using Internal ITS)

through web and it is given error

500 SAP Internal Server Error (Error: New session was refused due to

memory bottleneck). For every error in web, we could find the entry

in SM21 as mentioned below,

10:39:35 DIA 000 300 PHG02777 W0 D ITS, New user

session denied due to memory bottleneck.

10:39:35 DIA 000 300 PHG02777 W0 3 ITS, User

session could not be created

10:39:35 DIA 000 300 PHG02777 D0 1 Transaction

Canceled ITS_P 027 ( )

2) ST22 Dumps: SYSTEM_NO_SHM_MEMORY

We have followed SAP note #Note 1232973 - SYSTEM_NO_SHM_MEMORY short

dump and increased the parameter abap/shared_objects_size_MB from 320

to 640.After that we have not any SYSTEM_NO_SHM_MEMORY error and we

monitored in SHMM transaction about the free memory and

available. Before this change, we used to clean manually the ICF shared

memory when it got accumulated with high value. This implies that the

problem regarding SYSTEM_NO_SHM_MEMORY is solved.

But still we were facing issues mentioned in point no 1). When we have

more than 100 sessions. This is occurring more from 8:00 CET to 12:00 CET

(peak load)

Later we changed the value of abap/shared_objects_size_MB from 640 to

1664 and also we reduced em/initial_size_MB from 12Gb to 11Gb (since we

are not using full amount of em initial size).

****Important *****

after this change we are facing more often related to point no 1).

Moreover, We could find the following in the trace file of W0 as,

Trace file of W0 is showing,

Tue Apr 14 12:38:42 2009

      • WARNING => ipl_MemAvail already 80 % memory used (itsp:

highwater = 80 %) [itsplmem.c 534]

***LOG W0D=> NULL& [itspxx.cpp 697]

      • ERROR => itsp_OpenSession failed rc = 1, send icf error page

[itsplxx.c 878]

***LOG W03=> [itsplxx.c 879]

      • ERROR => ipl_OpenSession returns 1(ITSPE_FAILURE) [itsplxx.c

881]

      • ERROR => Raise Last error:[27 from: itspxx.cpp :699]

[itsplxx.c 1214]

      • ERROR => RaiseError(sapdext) ITS_P:27 [itspxx.cpp 699]

Since the parameter itsp/max_eg_mem_percent was set to 80.

It is not clear that from which memory layout the eror is occuring.

According to note :Note 785365 - Extended Global Memory (EG) increased

from 2 GB to 8 GB

we could see that The size of the EG is obtained from the total of the

parameter values em/global_area_MB and abap/shared_objects_size_MB

We would like you check the system and update us about the memory

layout defined in our system, more specically em/global_area_MB (we are

planning to increase the value according to note SAP Note 742048) from

896 (current) to 1200 (10 % of em/initial_size_MB) and reduce the

abap/shared_objects_size_MB from 1664 to 640 .

Any help will be highly appreciated.

Thanks

Venkat

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Venkat,

Check out SAP note [https://service.sap.com/sap/support/notes/972757]

Manoj

Former Member
0 Kudos

to 1)

You can monitor the ITS memory usage in transaction SITSPMON, but you are on the right track with increasing em/global_area_MB.

If you see its sessions lasting for a long time, then you might need to adapt the session timeout to save memory (TIMEOUT of your icm server port). Have a look at note [885580 - Integrated ITS: Configuration Parameters|https://service.sap.com/sap/bc/bsp/spn/sapnotes/index2.htm?numm=885580] for details.

Regards, Michael