Pages

Download SAP Certification Material for FREE @ http://sap-ebooks-den.blogspot.com

Thursday, October 27, 2011

SAP Webdispatcher Shared Memory

-cleanup

> sapwebdisp pf=PROFILE -cleanup

Common resources (shared memory and so on) are released. This is necessary if the SAP Web Dispatcher ran was not stopped in an orderly manner the last time it ran, but was terminated by a crash.

-shm_attach_mode (bitmask)

> sapwebdisp pf=PROFILE -shm_attach_mode (bitmask)
*****************************************************
***  Could not initialize shared memory table     ***
***  Use option "-shm_attach_mode " if      ***
***  shared memory already exists or use cleanipc ***
***  to cleanup shared memory                     ***
***  Flagbits for -shm_attach_mode                ***
***  1 (DELETE): remove shared memory and exit    ***
***  2 (ATTACH): attach to existing shared memory ***
***  4 (CREATE): create new shared memory         ***
*****************************************************

Determines what should happen to the shared memory of the SAP Web Dispatcher. Here,is a number that is a combination of the following values (bit mask):

1: Delete the shared memory of the SAP Web Dispatcher. The shared memory is cleaned up and the SAP Web Dispatcher ends. The behavior is the same as with the option of –cleanup.

2: Connect to the shared memory. The SAP Web Dispatcher connects to the existing shared memory (attach). If this does not exist, the SAP Web Dispatcher ends with an error.

> sapwebdisp pf=PROFILE -shm_attach_mode 2
*** SAP Web Dispatcher up and operational (pid: 12345) ***

3: Not useful

4: Create a new shared memory. The SAP Web Dispatcher creates a new shared memory. If this exists already, the SAP Web Dispatcher ends with an error.

5: If a shared memory exists already, it is deleted. A new shared memory is then created.

6: The Web Dispatcher attempts to attach itself to an existing shared memory. If a shared memory does not exist, a new one is created. This is also the default value, and the SAP Web Dispatcher behaves like this if options -shm_attach_modeand -cleanup are not used, and parameter wdisp/shm_attach_mode is not explicitly set to another value (see Parameter Overview)

7: As 5

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...