Maximu Shared Memory (shmmax kernel parameter)

Hi,
in all Unix Installation documents...
shmmax kernel parameter to be set as the Half of the Physical RAM.
per suppose...if we have 6 GB Ram...cant we increase the SGA size to 5 GB........does it make sense...or any other ....this is the Apps Database with 10g..no other database on this machine....
anywork arounds .....

It depends on your exact Unix OS and if your database is 32 or 64 bit. I would not advise setting SGA to 5GB on a 6 GB machine as you leave almost nothing for the OS, nor PGA/UGA shadow processes. If you have more than like 10 connections, I would set the SGA to no more than 2 or 3 GB, then have a 1 GB pga_aggregate_target.

Similar Messages

  • Confirm that SHMMAX kernel parameter is set datastore size

    Hi,
    I'm getting below exception when i'm trying to create datastore. The error is complaining about failure to create shared memory segment.
    I did go through the T-10 documentation and various post on this forum, and have made sure that the OS and the DSN settings are as per the recommended values. The values meets(or rather exceeds) the minimum values.
    The values are based on below formulas:
    kernel.shmmax (in bytes) = Should be >= PermSize + TempSize + LogBufMB +~50MB overhead
    kernel.shmall (in pages) = Should be >= ceil ( SHMMAX / PAGE_SIZE)
    SwapTotal (in KB) = Swap space should generally be at least 1.5x total physical memory size. It should be sufficient to allow allocation of a large enough shared memory segment
    TempSize (in MB) = Should be >= 40 MB + ceiling( PermSize / 8 MB)
    I have pasted below following things. Please, can any one help me resolve this issue.
    - exception in ttmessg.log
    - output of cat /etc/sysctl.conf
    - sys.odbc.ini datastore configuration
    - cat /proc/meminfo
    - Swap space
    - output of ttstatus
    - output of ttversion
    [oracle@ttnode1 info]$ ttdaemonadmin -stop
    TimesTen Daemon stopped.
    [oracle@ttnode1 info]$ ttdaemonadmin -start
    TimesTen Daemon startup OK.
    [oracle@ttnode1 info]$ ttisql "dsn=tt"
    Copyright (c) 1996-2011, Oracle. All rights reserved.
    Type ? or "help" for help, type "exit" to quit ttIsql.
    connect "dsn=tt";
    *836: Cannot create data store shared-memory segment, error 22*
    The command failed.
    Done
    The exception in ttmesg.log
    [oracle@ttnode1 info]$ tail -f ttmesg.log
    2013-01-14 17:42:49.98 Warn: : 6533: TimesTen Daemon Release 11.2.2.4.0.tt started.
    2013-01-14 17:42:59.45 Err : : 6533: TT14000: TimesTen daemon internal error: Error 22 creating shared segment, KEY 0x0200778b
    2013-01-14 17:42:59.45 Err : : 6533: -- OS reports invalid shared segment size
    2013-01-14 17:42:59.45 Err : : 6533: -- Confirm that SHMMAX kernel parameter is set > datastore size
    2013-01-14 17:45:32.67 Warn: : 6533: request id check 'MKB9+MF7V7DybTjglCEC/10d5/N7FCEFtayvZF4a9xQ=' failed (-5)
    2013-01-14 17:47:18.45 Warn: : 6533: request id check 'u6GF7bBtmRQCXKYMAWa7LhwCv1GtIG8HXdW0GLRLHEU=' failed (-5)
    2013-01-14 17:47:41.62 Warn: : 6533: request id check 'nNAzUc/plNUStN85qP9htbsz/E5psODMEeRYLmE/n50=' failed (-5)
    2013-01-14 23:15:34.58 Warn: : 8590: TimesTen Daemon Release 11.2.2.4.0.tt started.
    2013-01-14 23:15:43.44 Err : : 8590: TT14000: TimesTen daemon internal error: Error 22 creating shared segment, KEY 0x02008294
    2013-01-14 23:15:43.44 Err : : 8590: -- OS reports invalid shared segment size
    2013-01-14 23:15:43.44 Err : : 8590: -- Confirm that SHMMAX kernel parameter is set > datastore size
    2013-01-14 23:16:11.23 Warn: : 8590: request id check 'v4TJ+ZyP3KRvGxfkguLgxNyRUdtfw/MMFrvR2tWMUBk=' failed (-5)
    2013-01-14 23:18:01.34 Warn: : 8590: request id check 'p4DVyvW75Fjlo3dQ5f8OFbk4qpolqj8gFyQhqfW4ekQ=' failed (-5)
    2013-01-14 23:19:50.28 Warn: : 8590: request id check 'DPQ8gSYcljQtkuvx6ccI5a5OGcjXklItV4Mj3Cf0DmA=' failed (-5)
    2013-01-14 23:41:01.97 Warn: : 8820: TimesTen Daemon Release 11.2.2.4.0.tt started.
    *2013-01-14 23:41:10.10 Err : : 8820: TT14000: TimesTen daemon internal error: Error 22 creating shared segment, KEY 0x02008294*
    *2013-01-14 23:41:10.10 Err : : 8820: -- OS reports invalid shared segment size*
    *2013-01-14 23:41:10.10 Err : : 8820: -- Confirm that SHMMAX kernel parameter is set > datastore size*
    2013-01-14 23:42:20.31 Warn: : 8820: request id check 'sHRtjK5AUKI/RYPN6Mf6ivOPeGVFysbXT4eU9dfBZPw=' failed (-5)
    2013-01-14 23:43:24.14 Warn: : 8905: TimesTen Daemon Release 11.2.2.4.0.tt started.
    2013-01-14 23:43:29.64 Err : : 8905: TT14000: TimesTen daemon internal error: Error 22 creating shared segment, KEY 0x02008294
    2013-01-14 23:43:29.64 Err : : 8905: -- OS reports invalid shared segment size
    2013-01-14 23:43:29.64 Err : : 8905: -- Confirm that SHMMAX kernel parameter is set > datastore size
    Here is the OS setting.
    *[oracle@ttnode1 ~]$ cat /etc/sysctl.conf*
    # Kernel sysctl configuration file for Red Hat Linux
    # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
    # sysctl.conf(5) for more details.
    # Controls IP packet forwarding
    net.ipv4.ip_forward = 0
    # Controls source route verification
    net.ipv4.conf.default.rp_filter = 1
    # Do not accept source routing
    net.ipv4.conf.default.accept_source_route = 0
    # Controls the System Request debugging functionality of the kernel
    kernel.sysrq = 0
    # Controls whether core dumps will append the PID to the core filename
    # Useful for debugging multi-threaded applications
    kernel.core_uses_pid = 1
    # Controls the use of TCP syncookies
    net.ipv4.tcp_syncookies = 1
    # Controls the maximum size of a message, in bytes
    kernel.msgmnb = 65536
    # Controls the default maxmimum size of a mesage queue
    kernel.msgmax = 65536
    # Controls the maximum shared segment size, in bytes
    kernel.shmmax = 68719476736
    # Controls the maximum number of shared memory segments, in pages
    kernel.shmall = 4294967296
    Here's the DSN setting
    * Datastore configuration in sys.odbc.ini file*
    *[oracle@ttnode1 info]$ grep -v ^# sys.odbc.ini | sed '/^ *$/d'
    [ODBC Data Sources]
    TT=TimesTen 11.2.2 Driver
    [TT]
    Driver=/home/oracle/TimesTen/tt/lib/libtten.so
    DataStore=/home/oracle/TimesTen/tt/info/DStore/itt_11224
    DatabaseCharacterSet=AL32UTF8
    PermSize=128
    TempSize=96
    ReplicationApplyOrdering=0
    ReplicationParallelism=4
    LogBufParallelism=4
    LogBufMB=32
    LogFileSize=32
    LogFlushMethod=2
    *[ice@ttnode1 ~]$ cat /proc/meminfo*
    MemTotal: 3865624 kB
    MemFree: 2287936 kB
    Buffers: 9744 kB
    Cached: 189340 kB
    SwapCached: 62588 kB
    Active: 739244 kB
    Inactive: 796816 kB
    HighTotal: 0 kB
    HighFree: 0 kB
    LowTotal: 3865624 kB
    LowFree: 2287936 kB
    SwapTotal: 2031608 kB
    SwapFree: 1755480 kB
    Dirty: 316 kB
    Writeback: 0 kB
    AnonPages: 1310800 kB
    Mapped: 24260 kB
    Slab: 12952 kB
    PageTables: 8712 kB
    NFS_Unstable: 0 kB
    Bounce: 0 kB
    CommitLimit: 3964420 kB
    Committed_AS: 2886040 kB
    VmallocTotal: 34359738367 kB
    VmallocUsed: 1616 kB
    VmallocChunk: 34359736599 kB
    HugePages_Total: 0
    HugePages_Free: 0
    HugePages_Rsvd: 0
    Hugepagesize: 2048 kB
    *[ice@ttnode1 ~]$ grep SwapTotal /proc/meminfo*
    SwapTotal: 4128752 kB
    Earlier the swap space was 2031608 KB, but snice it shuold be 1.5 times the physical memory, i bumped it up to its current value
    *[oracle@ttnode1 info]$ ttstatus*
    TimesTen status report as of Mon Jan 14 17:47:32 2013
    Daemon pid 6533 port 53398 instance tt
    TimesTen server pid 6550 started on port 53399
    Accessible by group oinstall
    End of report
    *[oracle@ttnode1 info]$ ttversion*
    TimesTen Release 11.2.2.4.0 (64 bit Linux/x86_64) (tt:53398) 2012-09-24T08:28:05Z
    Instance admin: oracle
    Instance home directory: /homankse/oracle/TimesTen/tt
    Group owner: oinstall
    Daemon home directory: /home/oracle/TimesTen/tt/info
    Thanks,
    Ved

    Hi,
    On continuing my debugging steps, if checked the limits for IPC facility.
    ipcs -m -l
    ------ Shared Memory Limits --------
    max number of segments = 4096
    max seg size (kbytes) = 32768
    max total shared memory (kbytes) = 8388608
    min seg size (bytes) = 1
    This says that "max number of segments = 4096", where as the kernel parameter is defined as "kernel.shmall = 4294967296".
    Am i correct in understanding that "max number of segments" is same as "kernel.shmall" and the values should be same.
    Also, it says that "max seg size (kbytes) = 32768" ie around 32MB, where as the kernel parameter is defined as "kernel.shmmax = 68719476736" i.e around 64BG.
    and since, the DSN is requesting to create shared memory segment of 128MB, which is greater that 32MB(as per max seg size (kbytes) = 32768), Timesten is throwing the error.
    Thanks everyone for helping me out.
    _ved                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • SHMMAX kernel parameter

    Hello -
    I'm running Oracle 10g R2 on Solaris 10. Does anyone know how to set the shmmax kernel parameter? According to Oracle documention, all kernel parms have been deprecated except for shmmax, but I believe this is stored and set in a different location on Solaris 10.
    Thanks

    A lot of kernel parameters, including SHMMAX, were replaced in Solaris 10 by resource controls.
    you can check
    Metalink note 317257.1
    and
    Installing OCS 10g R1 on Solaris 10
    Mike

  • Kernel parameter : Share memory.

    Hi All,
    I have some question about setup linux and oracle 8i. How to
    change kernel parameter such as SHMMNI ?.
    Look forward to hearing from you soon.
    Best Regards,
    Pichet R.
    null

    Pichet Ratanayant (guest) wrote:
    : Hi All,
    : I have some question about setup linux and oracle 8i. How to
    : change kernel parameter such as SHMMNI ?.
    : Look forward to hearing from you soon.
    : Best Regards,
    : Pichet R.
    You need to recompile the kernel adjusting the shared memory
    parameters
    the file you need is /usr/src/linux/include/asm/shmparam.h
    Alan
    The recompilation is simple but difficult to describe.
    null

  • ORA-27101: shared memory realm does not exist after kernel upgrade

    Hi,
    I have installed ECC 6.0 on windows 32 bit.  After I upgraded the kernel, the database can't be started as well as SAP.  When I checked the logs, the error ORA-27101: shared memory realm does not exist was encountered.
    M  calling db_connect ...
    C  Prepending E:\usr\sap\ERP\DVEBMGS01\exe to Path.
    C  Oracle Client Version: '10.2.0.1.0'
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPSR3's password
    C  Connecting as /@ERP on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1   06E217E8   06E26D84   06E2660C
    C  Attaching to DB Server ERP (con_hdl=0,svchp=06E26558,srvhp=06E38144)
    C  Starting user session (con_hdl=0,svchp=06E26558,srvhp=06E38144,usrhp=06E4CEB8)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1034
    [dboci.c      4532]
    C  Detaching from DB Server (con_hdl=0,svchp=06E26558,srvhp=06E38144)
    C  *** ERROR => CONNECT failed with sql error '1034'
    [dbsloci.c    11042]
    C  Try to connect with default password
    C  Connecting as SAPSR3/<pwd>@ERP on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1   06E217E8   06E26D84   06E2660C
    C  Attaching to DB Server ERP (con_hdl=0,svchp=06E26558,srvhp=06E38144)
    C  Starting user session (con_hdl=0,svchp=06E26558,srvhp=06E38144,usrhp=06E4CEB8)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1034
    [dboci.c      4532]
    C  Detaching from DB Server (con_hdl=0,svchp=06E26558,srvhp=06E38144)
    C  *** ERROR => CONNECT failed with sql error '1034'
    [dbsloci.c    11042]
    B  ***LOG BV3=> severe db error 1034      ; work process is stopped [dbsh#2 @ 1199] [dbsh    1199 ]
    B  ***LOG BY2=> sql error 1034   performing CON [dblink#3 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist [dblink#3 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1426]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10283]

    Please help.
    Thanks.
    Regards.

    Hi. First restart the server, then start the LISTENER, and repeat startsap again. Check if messages repeated. Regards.

  • SHARED MEMORY 문제(ORA-7329, ORA-7331, ORA-7279)

    제품 : ORACLE SERVER
    작성날짜 : 2004-07-22
    SHARED MEMORY 문제(ORA-7329, ORA-7331, ORA-7279)
    ================================================
    PURPOSE
    다음은 shared memory 문제가 발생하는 경우(ora-7329,ora-7331,
    ora-7279) 에 대해서 알아본다.
    Explanation
    1. 왜 Problem 이 생기나?
    * Oracle 은 Process와 SGA(System Global Area) 간의
    Communication를 위해 Shared Memory와 Semaphore 를 사용한다.
    Oracle Instance 가 뜰 때 SGA를 Create하기 위해 Main Memory의
    임의의 부분을 할당하는데 이 때 Shared Memory 나 Semaphore 가
    적절하지 않으면 이에 관련한 Error가 발생한다.
    2. 해결 방안
    SGA는 Shared Memory 안에 생기므로 Shared Memory 는 각 Process에게
    사용 가능해야 한다.
    Shared memory 와 Semaphore parameter 는
    - SHMMAX = 1개의 shared memory segment 의 maximum size,
    SGA 크기 이상
    - SHMMIN = 1개의 shared memory segment 의 minimum size, 1 byte
    - SHMMNI = shared memory identifier의 숫자, 100 이상
    - SHMSEG = 1개의 process에 attach되는 shared memory segment의
    maximum 갯수, 10 이상
    - SEMMNS = system의 semaphore 갯수, 200 이상
    - SEMMNI = 시스템에서 identifier를 setting하는 semaphore 수,
    70 이상
    - SEMMSL = semaphore set 당 최대 semaphore 갯수,
    initSID.ora 의 processes 값 이상
    * 추천하는 Semaphore와 Shared Memory Parameter
    Operating System Shared Memory Parameters Semaphore
    ================================================================
    Sun OS
    SHMSIZE = 32768 SEMMNS = 200
    SHMMNI = 50 SEMMNI = 50
    Solaris
    SHMMAX = 8388608 SEMMNS = 200
    SHMSEG = 20 SEMMSL = 50
    SHMMNI = 100 SEMMNI = 70
    HP/UX
    SHMMAX = 0x4000000(64Mb) SEMMNS = 128
    SHMSEG = 12 SEMMNI = 10
    Digital Unix (DEC Alpha OSF/1)
    SHMMAX = 4194304 SEMMNS = 60
    SHMSEG = 32 SEMMSL = 25
    Ultrix Use System Default     SEMNS SEMMSL = 5
    AT&T Unix
              SHMMAX = RAM-Dependant     SEMMNS = 200
    8 or 16Mb RAM
              SHMMAX = 5 Mb     For All RAM
    32 Mb RAM
              SHMMAX = 8 Mb Values
    64 Mb RAM
              SHMMAX = 16 Mb
    128 Mb RAM
              SHMMAX = 32 Mb
    256 Mb RAM
              SHMMAX = 64 Mb
    512 Mb RAM
              SHMMAX = 128 Mb
    1024 Mb RAM
              SHMMAX = 256 Mb
    2048 Mb RAM
              SHMMAX = 512 Mb
              SHMSEG = 6 for all RAM Values
              SHMMIN = 1 for all RAM Values
    Dynix/PTX
              SHMMAX = 11010048 SEMMNS = 200
              SHMSEG = 20 SEMMSL = 85
    Other Parameter     NOFILES = 128
    DG/UX
              SHMMAX = 4194304 SEMMNS = 200
              SHMSEG = 15
    Shared Memory 와 Semaphore Parameter는 OS 의 Kernel Configuration
    화일에 반드시 지정되어야 하며, File의 위치는 OS마다 차이가 있다.
    현재의 Shared Memory 와 Semaphore Configuration 을 알기 위해서는
    다음의 Command를 이용한다.
    $ sysdef |more
    * HP-UX (relevant sections only) 에서의 예:
    Semaphore 관련 Parameters
    - maximum value for semaphores(semaem)= 16384
    - Semaphore map(semmap)= 4098
    - number of semaphore identifiers(semmni) = 4096
    - total number of semaphores in the system(semmns) = 8192
    - number of semaphore undo structures(semmnu) = 1536
    - semaphore undo entries per process(semume) = 512
    - semaphore maximum value(semvmx) = 32767
    Shared Memory 관련 Parameters
    - maximum shared memory segment size in bytes(shmmax) = 536870912
    - minimum shared memory segment size in bytes(shmmin) = 1
    - maximum shared memory segments in system (shmmni) = 512
    - maximum shared memory segments per process(shmseg) = 512
    NOTE: SHMMAX는 현 system에 8개의 instance가 수행될 수 있는
    충분한 값이다.
    * Shared memory 또는 semaphore parameters 를 변경하기 위해서는 ...
    1. Oracle Instance를 Shutdown 한다.
    2. OS의 Kernel Configuration File이 있는 곳으로 간다.
    3. System Utility 또는 Editor를 이용해서 필요한 값을 바꾼다.
    System Utility는 다음과 같다
    | OS |     Utility     |
    | HP/UX | SAM     |
    | SCO     |     SYSADMSH |
    | AIX     |     SMIT     |
    | Solaris |     ADMINTOOL |
    4. Kernel 을 Reconfigure 한다.
    5. System을 Reboot 한다.
    6. Oracle Instance를 startup시킨다.
    [ 예제 ] Solaris 2.3/2.4 parameters and commands:
    1. SQLDBA 에서 :
    SQLDBA> shutdown
    SQLDBA> exit
    2. Superuser(root)로 login 하고 :
    # cd /etc
    3. /etc/system file 에 다음을 추가 한다:
    set shmsys:shminfo_shmmax=8388608
    set shmsys:shminfo_shmmin=1
    set shmsys:shminfo_shmmni=100
    set shmsys:shminfo_shmseg=20
    set semsys:seminfo_semmns=200
    set semsys:seminfo_semmni=70
    4. Kernel을 reconfigure 한다:
    # touch /reconfigure
    5. Machine 을 reboot 한다:
    #init 6
    6. SQLDBA 에서 :
    SQLDBA> startup
    SQLDBA> exit
    Oracle의 init<SID>.ora 파라미터 화일에는 SGA에 영향을 주는
    Parameter들이 있다. OS의 Shared Momory와 Semaphore Parameter에
    연결된 이 Parameter의 setting은 System과 Oracle의 Performance에
    중요한 영향을 미친다.
    Reference Documents
    <Note:1011658.6>

    system does not seem to using memory correctly, lots of swapping on an 8GB real memory system.We could start (for example) with this question - How big is your SGA or how much of 8GB RAM takes your SGA?
    The doc says to set /etc/system to:
    shmsys:shminfo_shmmax project.max-shm-memory 4294967296
    but infers that this is not used.From documentation:
    In Solaris 10, you are not required to make changes to the /etc/system file to implement the System V IPC. Solaris 10 uses the resource control facility for its implementation. However, Oracle recommends that you set both resource control and /etc/system/ parameters. Operating system parameters not replaced by resource controls continue to affect performance and security on Solaris 10 systems.
    Then, the doc states to set a project shared mem value of 2GB:
    # projmod -sK "project.max-shm-memory=(privileged,2G,deny)" group.dba
    Why is this number different?It's an example how "To set the maximum shared memory size to 2 GB"
    By setting to to 2G as documented oracle did not work at all Docs says:
    On Solaris 10, verify that the kernel parameters shown in the following table are set to values greater than or equal to the recommended value shown.
    If your SGA was greater than 2G I'm nor wondering why "oracle did not work at all".
    So for 4GB SGA (for example) you need allow allocation of 4G of shared memory.
    Note: shmsys:shminfo_shmmax != project.max-shm-memory. "project.max-shm-memory" is replacement of "shmsys:shminfo_shmmax" but function of these parameters differs.
    "project.max-shm-memory resource control limits the total amount of shared memory of one project, whereas previously, the shmsys:shminfo_shmmax parameter limited the size of a single shared memory segment."
    Relevant link to Sun docs: http://docs.sun.com/app/docs/doc/819-2724/chapter1-33

  • Is shared memory configured in Disk or Physical RAM ?

    Version:11.2
    Platform : RHEL 6
    In Linux , we set the following in /etc/sysctl.conf to configure shared memory.
    # Setting 61gb for shared memory
    kernel.shmmax = 65719476736
    Where is this 61gb memory allocated ? In Physical RAM or Disk ?

    Ok, looking at that link, first off, he said he "got some values from google", and put them in /etc/sysctl.conf?  WTF?  Pulling random values from other users /etc/sysctl.conf and adding them to your own system?  Really?  Yeah, *that's* going to end well!  (NOT!)
    Second, the likely cause of his hang/crash/whatever is, note that he says at the top that his VM has 2.5GB of RAM.  However he's attempting to allocate 32768 hugepages.  Each huge page is 2M, so, that's 65536 MB or 64 GB of hugepages, attempting to be allocated and set aside, on a box that has 2.5 GB of RAM.  What could possibly go wrong?
    So, the problem is not with the shmmax parameter, but is almost certainly due to trying to allocate *far* more in hugepages, than there is physical memory in the system.
    Hope that helps,
    -Mark

  • Cannot create data store shared-memory segment error

    Hi,
    Here is some background information:
    [ttadmin@timesten-la-p1 ~]$ ttversion
    TimesTen Release 11.2.1.3.0 (64 bit Linux/x86_64) (cmttp1:53388) 2009-08-21T05:34:23Z
    Instance admin: ttadmin
    Instance home directory: /u01/app/ttadmin/TimesTen/cmttp1
    Group owner: ttadmin
    Daemon home directory: /u01/app/ttadmin/TimesTen/cmttp1/info
    PL/SQL enabled.
    [ttadmin@timesten-la-p1 ~]$ uname -a
    Linux timesten-la-p1 2.6.18-164.6.1.el5 #1 SMP Tue Oct 27 11:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
    [root@timesten-la-p1 ~]# cat /proc/sys/kernel/shmmax
    68719476736
    [ttadmin@timesten-la-p1 ~]$ cat /proc/meminfo
    MemTotal: 148426936 kB
    MemFree: 116542072 kB
    Buffers: 465800 kB
    Cached: 30228196 kB
    SwapCached: 0 kB
    Active: 5739276 kB
    Inactive: 25119448 kB
    HighTotal: 0 kB
    HighFree: 0 kB
    LowTotal: 148426936 kB
    LowFree: 116542072 kB
    SwapTotal: 16777208 kB
    SwapFree: 16777208 kB
    Dirty: 60 kB
    Writeback: 0 kB
    AnonPages: 164740 kB
    Mapped: 39188 kB
    Slab: 970548 kB
    PageTables: 10428 kB
    NFS_Unstable: 0 kB
    Bounce: 0 kB
    CommitLimit: 90990676 kB
    Committed_AS: 615028 kB
    VmallocTotal: 34359738367 kB
    VmallocUsed: 274804 kB
    VmallocChunk: 34359462519 kB
    HugePages_Total: 0
    HugePages_Free: 0
    HugePages_Rsvd: 0
    Hugepagesize: 2048 kB
    extract from sys.odbc.ini
    [cachealone2]
    Driver=/u01/app/ttadmin/TimesTen/cmttp1/lib/libtten.so
    DataStore=/u02/timesten/datastore/cachealone2/cachealone2
    PermSize=14336
    OracleNetServiceName=ttdev
    DatabaseCharacterset=WE8ISO8859P1
    ConnectionCharacterSet=WE8ISO8859P1
    [ttadmin@timesten-la-p1 ~]$ grep SwapTotal /proc/meminfo
    SwapTotal: 16777208 kB
    Though we have around 140GB memory available and 65GB on the shmmax, we are unable to increase the PermSize to any thing more than 14GB. When I changed it to PermSize=15359, I am getting following error.
    [ttadmin@timesten-la-p1 ~]$ ttIsql "DSN=cachealone2"
    Copyright (c) 1996-2009, Oracle. All rights reserved.
    Type ? or "help" for help, type "exit" to quit ttIsql.
    connect "DSN=cachealone2";
    836: Cannot create data store shared-memory segment, error 28
    703: Subdaemon connect to data store failed with error TT836
    The command failed.
    Done.
    I am not sure why this is not working, considering we have got 144GB RAM and 64GB shmmax allocated! Any help is much appreciated.
    Regards,
    Raj

    Those parameters look ok for a 100GB shared memory segment. Also check the following:
    ulimit - a mechanism to restrict the amount of system resources a process can consume. Your instance administrator user, the user who installed Oracle TimesTen needs to be allocated enough lockable memory resource to load and lock your Oracle TimesTen shared memory segment.
    This is configured with the memlock entry in the OS file /etc/security/limits.conf for the instance administrator.
    To view the current setting run the OS command
    $ ulimit -l
    and to set it to a value dynamically use
    $ ulimit -l <value>.
    Once changed you need to restart the TimesTen master daemon for the change to be picked up.
    $ ttDaemonAdmin -restart
    Beware sometimes ulimit is set in the instance administrators "~/.bashrc" or "~/.bash_profile" file which can override what's set in /etc/security/limits.conf
    If this is ok then it might be related to Hugepages. If TT is configured to use Hugepages then you need enough Hugepages to accommodate the 100GB shared memory segment. TT is configured for Hugepages if the following entry is in the /u01/app/oracle/EXALYTICS_MWHOME/TimesTen/tt1122/info/ttendaemon.options file:
    -linuxLargePageAlignment 2
    So if configured for Hugepages please see this example of how to set an appropriate Hugepages setting:
    Total the amount of memory required to accommodate your TimesTen database from /u01/app/oracle/EXALYTICS_MWHOME/TimesTen/tt1122/info/sys.odbc.ini
    PermSize+TempSize+LogBufMB+64MB Overhead
    For example consider a TimesTen database of size:
    PermSize=250000 (unit is MB)
    TempSize=100000
    LogBufMB=1024
    Total Memory = 250000+100000+1024+64 = 351088MB
    The Hugepages pagesize on the Exalytics machine is 2048KB or 2MB. Therefore divide the total amount of memory required above in MB by the pagesize of 2MB. This is now the number of Hugepages you need to configure.
    351088/2 = 175544
    As user root edit the /etc/sysctl.conf file
    Add/modify vm.nr_hugepages= to be the number of Hugepages calculated.
    vm.nr_hugepages=175544
    Add/modify vm.hugetlb_shm_group = 600
    This parameter is the group id of the TimesTen instance administrator. In the Exalytics system this is oracle. Determine the group id while logged in as oracle with the following command. In this example it’s 600.
    $ id
    $ uid=700(oracle) gid=600(oinstall) groups=600(oinstall),601(dba),700(oracle)
    As user root edit the /etc/security/limits.conf file
    Add/modify the oracle memlock entries so that the fourth field equals the total amount of memory for your TimesTen database. The unit for this value is KB. For example this would be 351088*1024=359514112KB
    oracle hard memlock 359514112
    oracle soft memlock 359514112
    THIS IS VERY IMPORTANT in order for the above changes to take effect you to either shutdown the BI software environment including TimesTen and reboot or issue the following OS command to make the changes permanent.
    $ sysctl -p
    Please note that dynamic setting (including using 'sysctl -p') of vm.nr_hugepages while the system is up may not give you the full number of Hugepages that you have specified. The only guaranteed way to get the full complement of Hugepages is to reboot.
    Check Hugepages has been setup correctly, look for Hugepages_Total
    $ cat /proc/meminfo | grep Huge
    Based on the example values above you would see the following:
    HugePages_Total: 175544
    HugePages_Free: 175544

  • How to solve "ORA-27101: shared memory realm does not exist"?

    I met a prpblem as follows:
    I'm getting the error whenever I try to start SQL*Plus:
    ORA-27101: shared memory realm does not exist? so I can run SQLPLUS hrs before, but now cannot. why?
    I attached my Listener.ora below, please find any error?:
    # LISTENER.ORA Network Configuration File: C:\Oracle\817\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = con02)(PORT = 1521))
    (DESCRIPTION =
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    (ADDRESS = (PROTOCOL = TCP)(HOST = con02)(PORT = 2481))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\Oracle\817)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = tibco)
    (ORACLE_HOME = C:\Oracle\817)
    (SID_NAME = tibco)
    I type following in command console,
    c:\>echo $ORACLE_SID
    $ORACLE_SID
    c:\>echo $ORACLE_HOME
    $ORACLE_HOME
    c:\>
    Please advise how to.
    Thanks

    your shareable memory area is not set for the oracle server. I think you install the server by using the command
    # echo 500m > /proc/sys/kernel/shmmax
    this command temporaryley increase the area not for permanent.
    so edit the file which is /etc/sysctl.conf and change this parameter "kernel.shmmax=536870912" and then reboot your system and start the oracle.
    If reboot is not an option the use this command to increase the required area.
    #echo 536870912 > /proc/sys/kernel/shmmax
    and then run the oracle.

  • How do I set the shared memory and semaphore Parameters

    Hi, everyone:
    Could someone help me on this? The Oracle Installation Guide
    for Linux says these parameters need to be set, but does not say
    how. Thanks in advance.
    Jim
    null

    Lawrence Yeo (guest) wrote:
    : Hi,
    : Please refer to the Installation guide written by
    : [email protected] at http://jordan.fortwayne.com/oracle/.
    : I haven't successfully install oracle on my linux box, but I
    : think this installation guide is pretty good, it guide you
    step
    : by step throught experience. There is an instruction on how
    to
    : set the parameter, but that require kernel re-compile though.
    It seems this problem is getting discussed on a number of
    different threads. Here is a reply I just posted on one of
    those other threads:
    Ari Arantes (guest) wrote:: Hi,
    : I've installed Oracle on RedHat 5.2 (2.0.36) on a machine with
    : 512 mb memory.
    : First I've recompiled the kernel how Oracle says and basing in
    : some documents (like
    : http://jordan.fortwayne.com/oracle/oralinux.html). Of course
    I've
    : saved a copy of the old kernel. The linux was ok, the command
    : ipcs -l shows the new values of the kernel parameters, but
    Oracle
    : didn't start. I've restored the copy of the kernel, the ipcs -
    l
    : shows the old values and now Oracle is running, with a SGA of
    : almost 300 mb.
    : Is there some problem in that? Will the machine loose
    performance
    : because the miminum values of the kernel parameters?
    : Best regards,
    : Ari
    I have a setup similar to yours (384 MB instead of 512 MB),
    and I spent some time looking at the parameters.
    You CANNOT use the value for SHMMAX from the Oracle manual!
    As it says at http://jordan.fortwayne.com/oracle/oralinux.html
    "Should you decided to change these parameters, if you set
    the SHMMAX to what Oracle says, you are telling the system
    to allow a shared memory segment to grow as large as 4 Gigs.
    Many users have reported problems setting the value this
    high."
    Sounds like you are another one of those users, eh?
    If you read on down, the guy who wrote that web page never
    used over 128 MB for SHMMAX. I'd take a strong hint from that.
    =====
    Oracle wants you to use 4GB-1 as the SHMMAX value. That
    equates to (1<<32)-1. As we shall see, that is not allowed
    without "breaking the rules" for the i386 architecture.
    If you carefully read through the header file, you will find
    out that the **actual maximum value** for SHMMAX is 256 MB.
    You can tell this two ways. Take a look at the file at:
    /usr/src/linux/include/asm/shmparam.h
    Near the top of the file is:
    /* address range for shared memory attaches if
    no address passed to shmat() */
    #define SHM_RANGE_START 0x50000000
    #define SHM_RANGE_END 0x60000000
    Note that the above is 256 MB (0x10000000), or (1<<28). This
    is one potential source of trouble. I don't know if some other
    files someplace else in the kernel specify uses for address
    ranges adjacent to the above range, which I take to be the
    "practical maximum" without redefining that range. Personally,
    I wouldn't want to mess with the above unless I **really**
    knew what I was doing (and I'll be the first to admit I don't).
    =====
    Farther down you will see some more lines (not together)
    that look like this:
    #define SHMID_BITS 7
    #define SHMIDX_BITS 15
    * SHMID_BITS + SHMIDX_BITS must be <= 24 on the i386 and
    * SHMMAX <= (PAGE_SIZE << SHMIDX_BITS).
    #define SHMMAX 0x2000000 /* max shared seg
    size (bytes) */
    Now, 7 + 15 is 22, so you could go up a couple of bits if you
    had to. To avoid making the table any larger, I would suggest:
    #define SHMIDX_BITS 17
    But, 17 turns out to produce a result larger than the "practical
    maximum" (256 MB) above. To see why takes a little more
    explaining.
    If you don't change this at all, then the maximum possible
    value for SHMMAX is 4096 [the PAGE_SIZE) << 15 [_SHM_IDX_BITS],
    or rather (1<<27).
    Now, that is exactly half of the (1<<28) "practical maximum" I
    mentioned above.
    So, if you always want the maximum amount of shared memory,
    then change the definition of SHMMAX to the following:
    #define SHMMAX (PAGE_SIZE<<_SHM_IDX_BITS) /* max shared seg
    size (bytes) */
    That gives you 128 MB in and of itself (as compared with 32 MB
    as Red Hat 5.2 is delivered).
    If you want the full 256 MB that is allowed for in the memory
    map, then you need to also change:
    #define SHMIDX_BITS 16
    The above value is **exactly** what is recommended on the web
    page you were following (above).
    If you want to keep going up, you will need to change the
    memory space allocated for shared memory as defined by
    SHM_RANGE_START and SHM_RANGE_END, something I advise against.
    =====
    Even on a machine with 512 MB of "real" memory, I find it hard
    to believe that there would be any substantial benefit to
    having a maximum shared memory space greater than 256 MB. The
    reason is that Oracle can use multiple shared memory spaces.
    It requires a minimum of ten (10), according to the installation
    manual, but the Red Hat 5.2 distribution supplies SHMMNI (128)
    of them. That will allow each Oracle process to have a total
    of up to 32 GB of shared memory (128 times 256 MB) and all it
    asks for is 40 GB (10 times 4 GB), so it has plenty, IMHO.
    =====
    Let me say a few more words about the web page you were using
    for configuration advice. That person actually **reduced** the
    amount of shared memory segments by specifying **lower values**
    for SHMMNI and SHMSEG.
    I'd **STRONGLY** recommend **NOT CHANGING** those other values!
    Its my understanding that Oracle can make up for the smaller
    maximum shared memory segment size by using more shared memory
    segments. So, if you reduce those, you are essentially shooting
    yourself in the foot by taking away what you are giving with
    increasing the maximum segment size.
    =====
    Good luck, and may this farce be with you!
    null

  • Disp+work stop because of shared memory?

    Hello Gurus, I have an SAP server that will not start. It was running previously, but after a parameter update and an instance restart, I cannot get the dispatcher running.
    System is Windows 2012 Server, MSSQL 2008 R2, 16 Core 132 GB RAM.
    I believe it is related to shared memory overlapping somehow, but  I am not sure how to resolve or investigate. I have had issues previously with memory overlap halting SAP servers with Diagnostics Agents, but this server is not currently running any DAA. It is running SAPRouter and some SAP Web Dispatcher instances.
    I will include my trace files below:
    Please help!
    DEV_W0:
    trc file: "dev_w0", trc level: 1, release: "721"
    *  ACTIVE TRACE LEVEL           1
    *  ACTIVE TRACE COMPONENTS      all, MJ
    M sysno      00
    M sid        PRD
    M systemid   562 (PC with Windows NT)
    M relno      7210
    M patchlevel 0
    M patchno    100
    M intno      20020600
    M make       multithreaded, Unicode, 64 bit, optimized
    M profile    \\SAPERP\sapmnt\PRD\SYS\profile\PRD_DVEBMGS00_SAPERP
    M pid        7668
    M
    M  kernel runs with dp version 137000(ext=119000) (@(#) DPLIB-INT-VERSION-137000-UC)
    M  length of sys_adm_ext is 588 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workp. 0 7668) [dpxxdisp.c   1376]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpIPCInit2: read dp-profile-values from sys_adm_ext
    M  DpShMCreate: sizeof(wp_adm) 42864 (2256)
    M  DpShMCreate: sizeof(tm_adm) 5517056 (27448)
    M  DpShMCreate: sizeof(wp_ca_adm) 64000 (64)
    M  DpShMCreate: sizeof(appc_ca_adm) 64000 (64)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/16/1384064/1384080
    M  DpShMCreate: sizeof(comm_adm) 1384080 (2744)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm) 0 (296)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm) 0 (80)
    M  DpShMCreate: sizeof(vmc_adm) 0 (2160)
    M  DpShMCreate: sizeof(wall_adm) (41664/42896/64/192)
    M  DpShMCreate: sizeof(gw_adm) 48
    M  DpShMCreate: sizeof(j2ee_adm) 3952
    M  DpShMCreate: SHM_DP_ADM_KEY (addr: 0000000000200050, size: 7174832)
    M  DpShMCreate: allocated sys_adm at 0000000000200060
    M  DpShMCreate: allocated wp_adm_list at 00000000002030B0
    M  DpShMCreate: allocated wp_adm at 00000000002032A0
    M  DpShMCreate: allocated tm_adm_list at 000000000020DA20
    M  DpShMCreate: allocated tm_adm at 000000000020DA70
    M  DpShMCreate: allocated wp_ca_adm at 0000000000750980
    M  DpShMCreate: allocated appc_ca_adm at 0000000000760390
    M  DpShMCreate: allocated comm_adm at 000000000076FDA0
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 00000000008C1C40
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated gw_adm at 00000000008C1CF0
    M  DpShMCreate: allocated j2ee_adm at 00000000008C1D30
    M  DpShMCreate: allocated ca_info at 00000000008C2CB0
    M  DpShMCreate: allocated wall_adm at 00000000008C2D40
    M  DpCommAttachTable: attached comm table (header=000000000076FDA0/ft=000000000076FDB0)
    M  DpRqQInit: use protect_queue / slots_per_queue 0 / 2001 from sys_adm
    M  rdisp/queue_size_check_value :  -> on,50,30,40,500,50,500,80
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  <ES> EsILock: use spinlock for locking
    X  Using implementation view
    X  <EsNT> Using memory model view.
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    X  mm.dump: set maximum dump mem to 96 MB
    M  DpVmcSetActive: set vmc state DP_VMC_NOT_ACTIVE
    M
    M Fri May 16 01:23:14 2014
    M  ThStart: taskhandler started
    M  ThInit: initializing DIA work process W0
    M
    M Fri May 16 01:23:15 2014
    M  ThInit: running on host SAPERP
    M
    M Fri May 16 01:23:16 2014
    M  calling db_connect ...
    B  Loading DB library 'E:\usr\sap\PRD\DVEBMGS00\exe\dbmssslib.dll' ...
    B  Library 'E:\usr\sap\PRD\DVEBMGS00\exe\dbmssslib.dll' loaded
    B  Version of 'E:\usr\sap\PRD\DVEBMGS00\exe\dbmssslib.dll' is "721.02", patchlevel (0.44)
    C  Callback functions for dynamic profile parameter registered
    C  Thread ID:4168
    C  Thank You for using the SLODBC-interface
    C  Using dynamic link library 'E:\usr\sap\PRD\DVEBMGS00\exe\dbmssslib.dll'
    C  dbmssslib.dll patch info
    C    SAP patchlevel  0
    C    SAP patchno  100
    C    Last MSSQL DBSL patchlevel 0
    C    Last MSSQL DBSL patchno         44
    C    Last MSSQL DBSL patchcomment DBSL support for Microsoft ODBC Driver 11 for SQL Server (1816426)
    C  ODBC Driver chosen: SQL Server Native Client 11.0 native
    C  lpc:(local) connection used on SAPERP
    C  lpc:(local) connection used on SAPERP
    C  Driver: sqlncli11.dll Driver release: 11.00.3000
    C  GetDbRelease: 11.00.3339.00
    C  GetDbRelease: Got DB release numbers (11,0,3339,0)
    B  Connection 0 opened (DBSL handle 0)
    M  ThInit: db_connect o.k.
    M  ICT: exclude compression: *.zip,*.rar,*.arj,*.z,*.gz,*.tar,*.lzh,*.cab,*.hqx,*.ace,*.jar,*.ear,*.war,*.css,*.pdf,*.gzip,*.uue,*.bz2,*.iso,*.sda,*.sar,*.gif,*.png,*.swc,*.swf
    I
    I Fri May 16 01:23:17 2014
    I  MtxInit: 0 0 0
    M  SHM_PRES_BUF (addr: 0000000018030050, size: 4400000)
    M  SHM_ROLL_AREA (addr: 000007FFDDAB0050, size: 268435456)
    M  SHM_PAGING_AREA (addr: 0000000018470050, size: 134217728)
    M  SHM_ROLL_ADM (addr: 0000000020480050, size: 2767448)
    M  SHM_PAGING_ADM (addr: 0000000020730050, size: 787488)
    M  ThCreateNoBuffer allocated 548152 bytes for 1000 entries at 0000000020800050
    M  ThCreateNoBuffer index size: 3000 elems
    M  ThCreateVBAdm allocated 31056 bytes (50 server) at 0000000000910050
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  ES initialized.
    X  mm.dump: set maximum dump mem to 96 MB
    B
    B Fri May 16 01:23:18 2014
    B  db_con_shm_ini:  WP_ID = 0, WP_CNT = 19, CON_ID = -1
    B  dbtbxbuf: Buffer TABL  (addr: 0000000027280160, size: 90000000, end: 000000002C854BE0)
    B  dbtbxbuf: Buffer TABLP (addr: 000000002C860160, size: 20480000, end: 000000002DBE8160)
    B  dbsync[db_syinit]: successfully attached to shared memory, sync_adm_p = 0000000011BE0050
    B  dbsync[db_syinit]: Buffer synchronisation started with
    B    sync_concept      = SEQ_NR
    B    sendon            = 1
    B    bufreftime        = 120
    B    max_gap_wait_time = 60
    B    ddlog_del_time    = 60
    B    last_counter      = 702514
    B    oldest_gap        = (2147483647,00000000000000)
    B    time_of_last_sync = 20140516012317
    B    MySysId           = 'SAPERP              00'
    B  dbexpbuf[EXP_SHB]: buffer EIBUF installed with
    B    semkey             = 35
    B    shmkey             = 54
    B    wp_n               = 19
    B    sclass             = 0
    B    block_length       = 256
    B    max_objects        = 2000
    B    max_obj_size       = 859872
    B    pref_obj_size      = 0
    B    est_large_obj_size = 16384
    B    free_vec_lg        = 65
    B    hash_vec_size      = 4001
    B    buffer_l           = 4194304
    B    max_blocks         = 13438
    B    free_blocks        = 13438
    B    mutex_n            = 4001
    B    max_mtx_wait_time  = 17000
    B    recovery_delay     = 500000
    B    tracing            = 0
    B    force_checks       = 0
    B    protect_shm        = 0
    B  dbexpbuf[EXP_SHM]: buffer ESM   installed with
    B    semkey             = 56
    B    shmkey             = 65
    B    wp_n               = 19
    B    sclass             = 0
    B    block_length       = 256
    B    max_objects        = 2000
    B    max_obj_size       = 859872
    B    pref_obj_size      = 0
    B    est_large_obj_size = 16384
    B    free_vec_lg        = 65
    B    hash_vec_size      = 4001
    B    buffer_l           = 4194304
    B    max_blocks         = 13438
    B    free_blocks        = 13438
    B    mutex_n            = 4001
    B    max_mtx_wait_time  = 17000
    B    recovery_delay     = 500000
    B    tracing            = 0
    B    force_checks       = 0
    B    protect_shm        = 0
    B  dbexpbuf[EXP_CUA]: buffer CUA   installed with
    B    semkey             = 30
    B    shmkey             = 47
    B    wp_n               = 19
    B    sclass             = 10
    B    block_length       = 512
    B    max_objects        = 1500
    B    max_obj_size       = 626016
    B    pref_obj_size      = 0
    B    est_large_obj_size = 98304
    B    free_vec_lg        = 193
    B    hash_vec_size      = 3001
    B    buffer_l           = 3072000
    B    max_blocks         = 4892
    B    free_blocks        = 4892
    B    mutex_n            = 3001
    B    max_mtx_wait_time  = 17000
    B    recovery_delay     = 500000
    B    tracing            = 0
    B    force_checks       = 0
    B    protect_shm        = 0
    B  dbexpbuf[EXP_OTR]: buffer OTR   installed with
    B    semkey             = 55
    B    shmkey             = 64
    B    wp_n               = 19
    B    sclass             = 13
    B    block_length       = 256
    B    max_objects        = 2000
    B    max_obj_size       = 859872
    B    pref_obj_size      = 0
    B    est_large_obj_size = 20480
    B    free_vec_lg        = 81
    B    hash_vec_size      = 4001
    B    buffer_l           = 4194304
    B    max_blocks         = 13438
    B    free_blocks        = 13438
    B    mutex_n            = 4001
    B    max_mtx_wait_time  = 17000
    B    recovery_delay     = 500000
    B    tracing            = 0
    B    force_checks       = 0
    B    protect_shm        = 0
    I  MPI: dynamic quotas disabled.
    I  MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%
    M  rdisp/thwpsf_critical_path : -1 -> 0
    M  CCMS: SemInMgt: Semaphore Management initialized by AlAttachShm_Doublestack.
    M  CCMS: SemInit: Semaphore 38 initialized by AlAttachShm_Doublestack.
    G  RelWritePermissionForShm( pLocation = 120, pEnforce = 0 )
    G  GetWritePermissionForShm( pLocation =  99, pEnforce = 1 )
    G  RelWritePermissionForShm( pLocation = 100, pEnforce = 1 )
    S  *** init spool environment
    S  TSPEVJOB updates outside critical section: event_update_nocsec = 1
    S  initialize debug system
    T  Stack direction is downwards.
    T  debug control: prepare exclude for printer trace
    T  new memory block 0000000034052380
    S  spool kernel/ddic check: Ok
    S  using table TSP02FX for frontend printing
    S  1 spool work process(es) found
    S  frontend print via spool service enabled
    S  printer list size is 150
    S  printer type list size is 50
    S  queue size (profile)   = 300
    S  hostspool list size = 3000
    S  option list size is 30
    S      found processing queue enabled
    S  found spool memory service RSPO-RCLOCKS at 00000000382B00D0
    S  doing lock recovery
    S  setting server cache root
    S  found spool memory service RSPO-SERVERCACHE at 00000000382B06A0
    S    using messages for server info
    S  size of spec char cache entry: 297032 bytes (timeout 100 sec)
    S  size of open spool request entry: 2512 bytes
    S  immediate print option for implicitely closed spool requests is disabled
    A  ***GENER* Trace switched on ***
    A
    A  ---PXA-------------------------------------------
    A  PXA INITIALIZATION
    A  PXA: Locked PXA-Semaphore.
    A  System page size: 4kb, total admin_size: 23104kb, dir_size: 22312kb.
    A  Attached to PXA (address 000007FFEDAE0050, size 300000K, 1 fragments of 276896K )
    A  PXA allocated (address 000007FFEDAE0050, size 300000K)
    A  abap/pxa = shared protect gen_remote
    A  PXA: checking structure sizes: 752|272|16
    A  PXA INITIALIZATION FINISHED
    A  ---PXA-------------------------------------------
    A
    A  ATRA: pfclock execution time = 0
    A  abap/force_local_update_task=0
    A  ABAP ShmAdm attached (addr=000007DFDF142000 leng=20955136 end=000007DFE053E000)
    A  >> Shm MMADM area (addr=000007DFDF639B80 leng=242240 end=000007DFDF674DC0)
    A  >> Shm MMDAT area (addr=000007DFDF675000 leng=15503360 end=000007DFE053E000)
    A  RFC Destination> destination SAPERP_PRD_00 host SAPERP system PRD systnr 0 (SAPERP_PRD_00)
    A  RFC Options> H=SAPERP,S=00,d=2,
    A  RFC FRFC> fallback activ but this is not a central instance.
    A  
    A  RFC rfc/signon_error_log = -1
    A  RFC rfc/dump_connection_info = 0
    A  RFC rfc/dump_client_info = 0
    A  RFC rfc/cp_convert/ignore_error = 1
    A  RFC rfc/cp_convert/conversion_char = 23
    A  RFC rfc/wan_compress/threshold = 251
    A  RFC rfc/recorder_pcs not set, use defaule value: 2
    A  RFC rfc/delta_trc_level not set, use default value: 0
    A  RFC rfc/no_uuid_check not set, use default value: 0
    H  HTTP> Parameter icf/ssocookie_mandatory set to 0
    B  dbtran INFO (init_connection '<DEFAULT>' [MSSQL:721.02]):
    B   max_blocking_factor       =  50,  min_blocking_factor         =   5,
    B   max_in_blocking_factor    = 255,  min_in_blocking_factor      =  10,
    B   max_union_blocking_factor =  50,  min_union_blocking_factor   =   5,
    B   prefer_union_all          =   1,  prefer_join                 =   1,
    B   prefer_fix_blocking       =   0,  prefer_in_itab_opt          =   0,
    B   convert AVG               =   1,  alias table FUPD            =   0,
    B   escape_as_literal         =   0,                                 
    B   select *                  =0x00,  character encoding          = STD / []:X,
    B   use_hints                 = abap->1, dbif->0x1, upto->0
    M  ThrCreateShObjects allocated 39514 bytes at 0000000011C00050
    Y  dyWpInit
    Y    ztta/dynpro_ara 800000
    Y    ztta/cua_ara    500000
    Y    ztta/diag_ara   250000
    N  SsfSapSecin: getenv(SECUDIR)=="E:\usr\sap\PRD\DVEBMGS00/sec"
    N
    N  =================================================
    N  === SSF INITIALIZATION:
    N  ===...SSF Security Toolkit name SAPSECULIB .
    N  ===...SSF library is E:\usr\sap\PRD\DVEBMGS00\exe\sapcrypto.dll .
    N  ===...SSF default hash algorithm is SHA1 .
    N  ===...SSF default symmetric encryption algorithm is DES-CBC .
    N  ===...SECUDIR="E:\usr\sap\PRD\DVEBMGS00/sec"
    N  ===...loading of Security Toolkit successfully completed.
    N  ===   SAPCRYPTOLIB  5.5.5C pl32  (Apr  2 2011) MT-safe
    N  =================================================
    N
    N Fri May 16 01:23:20 2014
    N  MskiInitLogonTicketCacheHandle: Logon Ticket cache pointer retrieved from shared memory.
    N  MskiInitLogonTicketCacheHandle: Workprocess runs with Logon Ticket cache.
    M  JrfcVmcRegisterNativesDriver o.k.
    W  =================================================
    W  === ipl_Init() called
    W    ITS Plugin: Path dw_gui
    W    ITS Plugin: Description ITS Plugin - ITS rendering DLL
    W    ITS Plugin: sizeof(SAP_UC) 2
    W    ITS Plugin: Release: 721, [7210.0.100.20020600]
    W    ITS Plugin: Int.version, [34]
    W    ITS Plugin: Feature set: [31]
    W    ===... Calling itsp_Init in external dll ===>
    W  === ipl_Init() returns 0, ITSPE_OK: OK
    W  =================================================
    N  SignInit: successfully obtained handle for Security Context cache
    N  SPNegoInit: SPNego disabled ("spnego/enable" not set to 1)
    N  VSI: WP init in ABAP VM completed with rc=0
    E  EnqLockTableSizeCalculate: session quota = 100%
    E  EnqLockTableAttach2: attach to lock table (size = 33554432)
    E  EnqLockTableMapToLocalContext: enque/use_pfclock2 = FALSE
    E  EnqId_Initialize: local EnqId initialization o.k.
    M
    M Fri May 16 01:23:40 2014
    M  *** ERROR => ThPlgConnectToIcm: IcmReadAck failed (-8, ni_rc=-6) [thxxplg.c    5172]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThStart: connect to icman (step 1, th_errno 2, action 3, level 1) [thxxhead.c   11348]
    M
    M  Info for wp 0
    M
    M    pid = 7668
    M    severity = 0
    M    status = 0
    M    stat = WP_NEW
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_DIAWP
    M    act_reqtype = NO_REQTYPE
    M    req.req_info =
    M    req.tid = -1
    M    req.uid = 4294967295
    M    req.mode = 255
    M    req.len = 0
    M    req.rq_id = 65535
    M    req.rq_source =
    M    last_tid = 0
    M    last_uid = 0
    M    last_mode = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    mode_cleaned_counter = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    attachedVm = no VM
    M
    M  ThIErrHandle: current request:
    M
    M  -IN-- sender_id ?                 tid  -1    wp_ca_blk   -1      wp_id -1
    M  -IN-- action    -                 uid  -1    appc_ca_blk -1      type  -  
    M  -IN-- new_stat  NO_CHANGE         mode 255   len         0       rq_id -1
    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >TrThHookFunc< for event BEFORE_DUMP
    M  TrThHookFunc: called for WP dump
    M  ThCallHooks: hook >TrThHookFunc< o.k.
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  ThrSaveSPAFields: save spa fields
    M  ThrSaveSPAFields: not an update task, no update info saved
    M  ThrSaveSPAFields: not a batch task, field zttabtckey not saved
    M  ThCallHooks: hook >ThrSaveSPAFields< o.k.
    M  ThCallHooks: call hook >ThrBtcCallLgCl< for event BEFORE_DUMP
    M  ThCallHooks: hook >ThrBtcCallLgCl< o.k.
    M  ThIErrHandle: entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workp. 0 7668) [dpnttool.c   339]
    DEV_DISP:
    trc file: "dev_disp", trc level: 1, release: "721"
    sysno      00
    sid        PRD
    systemid   562 (PC with Windows NT)
    relno      7210
    patchlevel 0
    patchno    100
    intno      20020600
    make       multithreaded, Unicode, 64 bit, optimized
    profile    \\SAPERP\sapmnt\PRD\SYS\profile\PRD_DVEBMGS00_SAPERP
    pid        4924
    kernel runs with dp version 137000(ext=119000) (@(#) DPLIB-INT-VERSION-137000-UC)
    length of sys_adm_ext is 588 bytes
    *** SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 4924) [dpxxdisp.c   1314]
      shared lib "dw_xml.dll" version 100 successfully loaded
      shared lib "dw_xtc.dll" version 100 successfully loaded
      shared lib "dw_stl.dll" version 100 successfully loaded
      shared lib "dw_gui.dll" version 100 successfully loaded
      shared lib "dw_mdm.dll" version 100 successfully loaded
      shared lib "dw_rndrt.dll" version 100 successfully loaded
      shared lib "dw_abp.dll" version 100 successfully loaded
      shared lib "dw_sym.dll" version 100 successfully loaded
      shared lib "dw_aci.dll" version 100 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    rdisp/dynamic_wp_check : 1
    rdisp/calculateLoadAverage : 1
    Fri May 16 01:23:12 2014
    *** WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  6438]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: write dp-profile-values into sys_adm_ext
    DpIPCInit2: start server >SAPERP_PRD_00                           <
    DpShMCreate: sizeof(wp_adm) 42864 (2256)
    DpShMCreate: sizeof(tm_adm) 5517056 (27448)
    DpShMCreate: sizeof(wp_ca_adm) 64000 (64)
    DpShMCreate: sizeof(appc_ca_adm) 64000 (64)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/16/1384064/1384080
    DpShMCreate: sizeof(comm_adm) 1384080 (2744)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm) 0 (296)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm) 0 (80)
    DpShMCreate: sizeof(vmc_adm) 0 (2160)
    DpShMCreate: sizeof(wall_adm) (41664/42896/64/192)
    DpShMCreate: sizeof(gw_adm) 48
    DpShMCreate: sizeof(j2ee_adm) 3952
    DpShMCreate: SHM_DP_ADM_KEY (addr: 0000000005460050, size: 7174832)
    DpShMCreate: allocated sys_adm at 0000000005460060
    DpShMCreate: allocated wp_adm_list at 00000000054630B0
    DpShMCreate: allocated wp_adm at 00000000054632A0
    DpShMCreate: allocated tm_adm_list at 000000000546DA20
    DpShMCreate: allocated tm_adm at 000000000546DA70
    DpShMCreate: allocated wp_ca_adm at 00000000059B0980
    DpShMCreate: allocated appc_ca_adm at 00000000059C0390
    DpShMCreate: allocated comm_adm at 00000000059CFDA0
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 0000000005B21C40
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated gw_adm at 0000000005B21CF0
    DpShMCreate: allocated j2ee_adm at 0000000005B21D30
    DpShMCreate: allocated ca_info at 0000000005B22CB0
    DpShMCreate: allocated wall_adm at 0000000005B22D40
    DpCommAttachTable: attached comm table (header=00000000059CFDA0/ft=00000000059CFDB0)
    DpSysAdmIntInit: initialize sys_adm
    rdisp/test_roll : roll strategy is DP_NORMAL_ROLL
    dia token check not active (10 token)
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    DpRqQInit: keep protect_queue / slots_per_queue 0 / 2001 in sys_adm
    Fri May 16 01:23:13 2014
    rdisp/queue_size_check_value :  -> on,50,30,40,500,50,500,80
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> EsILock: use spinlock for locking
    <ES> InitFreeList
    <ES> block size is 4096 kByte.
    <ES> Info: em/initial_size_MB( 134981MB) not multiple of em/blocksize_KB( 4096KB)
    <ES> Info: em/initial_size_MB rounded up to 134984MB
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 33745 blocks reserved for free list.
    ES initialized.
    mm.dump: set maximum dump mem to 96 MB
    DpVmcSetActive: set vmc state DP_VMC_NOT_ACTIVE
    MPI: dynamic quotas disabled.
    MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 4.0.1 4.0.1 5.1) [dpxxdisp.c   1700]
    Fri May 16 01:23:40 2014
    ***LOG Q0K=> DpMsAttach, mscon ( SAPERP) [dpxxdisp.c   12667]
    MBUF state LOADING
    DpStartStopMsg: send start message (myname is >SAPERP_PRD_00                           <)
    DpStartStopMsg: start msg sent
    CCMS: SemInMgt: Semaphore Management initialized by AlAttachShm_Doublestack.
    CCMS: SemInit: Semaphore 38 initialized by AlAttachShm_Doublestack.
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1296]
    MBUF state ACTIVE
    DpWpBlksLow: max wp blocks in queue is 800 (80 %)
    MBUF component UP
    DpMsgProcess: 1 server in MBUF
    DpAppcBlksLow: max appc blocks in queue is 500 (50 %)
    *** ERROR => DpIcmMsgProcess: IcmRecMsg (rc=-8,-6) [dpxxdisp.c   19121]
    Fri May 16 01:24:20 2014
    *** ERROR => DpHdlDeadWp: W0 (pid 7668) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W1 (pid 7456) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W2 (pid 8096) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W3 (pid 4376) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W4 (pid 3000) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W5 (pid 3520) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W6 (pid 7024) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W7 (pid 6172) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W8 (pid 6576) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W9 (pid 7756) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W10 (pid 624) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W11 (pid 7468) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W12 (pid 1176) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W13 (pid 6812) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W14 (pid 6968) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W15 (pid 5036) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W16 (pid 5576) died (severity=0, status=0) [dpxxwp.c     1729]
    *** DP_FATAL_ERROR => DpWPCheck: no more work processes
    *** DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:30 2014
    NiISelect: TIMEOUT occured (10000ms)
    dump system status
    Workprocess Table (long) Fri May 16 07:24:30 2014
    ========================
    No Type  Pid    Status  Cause Start Rstr  Err Sem Time Program          Cl  User         Action                    Table
    0 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    1 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    2 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    3 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    4 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    5 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    6 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    7 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    8 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    9 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    10 UPD       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    11 ENQ       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    12 BTC       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    13 BTC       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    14 BTC       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    15 SPO       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    16 UP2       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    Dispatcher Queue Statistics Fri May 16 07:24:30 2014
    ===========================
    +------+--------+--------+--------+------------+------------+
    |  Typ |    now |   high |    max | writes     |  reads     |
    +------+--------+--------+--------+------------+------------+
    | NOWP |      1 |     33 |   2000 |         43 |         42 |
    +------+--------+--------+--------+------------+------------+
    |  DIA |      5 |      5 |   2000 |          5 |          0 |
    +------+--------+--------+--------+------------+------------+
    |  UPD |      1 |      1 |   2000 |          1 |          0 |
    +------+--------+--------+--------+------------+------------+
    |  ENQ |      0 |      0 |   2000 |          0 |          0 |
    +------+--------+--------+--------+------------+------------+
    |  BTC |      0 |      0 |   2000 |          0 |          0 |
    +------+--------+--------+--------+------------+------------+
    |  SPO |      0 |      0 |   2000 |          0 |          0 |
    +------+--------+--------+--------+------------+------------+
    |  UP2 |      0 |      0 |   2000 |          0 |          0 |
    +------+--------+--------+--------+------------+------------+
    max_rq_id 40
    wake_evt_udp_now 0
    wake events       total    40,  udp     5 ( 12%),  shm    35 ( 87%)
    since last update total    40,  udp     5 ( 12%),  shm    35 ( 87%)
    DpGetLoadAverage: la1[1] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la5[1] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la15[1] = 0.055556 / -1.000000 %
    Dispatcher Load Statistics
    +------+---------+---------+---------+
    |  Typ |     LA1 |     LA5 |    LA15 |
    +------+---------+---------+---------+
    |  DIA |   0.000 |   0.000 |   0.056 |
    +------+---------+---------+---------+
    DpGetLoadAverage: la1[2] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la5[2] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la15[2] = 0.011111 / -1.000000 %
    |  UPD |   0.000 |   0.000 |   0.011 |
    +------+---------+---------+---------+
    DpGetLoadAverage: la1[3] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la5[3] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la15[3] = 0.000000 / -1.000000 %
    |  ENQ |   0.000 |   0.000 |   0.000 |
    +------+---------+---------+---------+
    DpGetLoadAverage: la1[4] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la5[4] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la15[4] = 0.000000 / -1.000000 %
    |  BTC |   0.000 |   0.000 |   0.000 |
    +------+---------+---------+---------+
    DpGetLoadAverage: la1[5] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la5[5] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la15[5] = 0.000000 / -1.000000 %
    |  SPO |   0.000 |   0.000 |   0.000 |
    +------+---------+---------+---------+
    DpGetLoadAverage: la1[6] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la5[6] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la15[6] = 0.000000 / -1.000000 %
    |  UP2 |   0.000 |   0.000 |   0.000 |
    +------+---------+---------+---------+
    Dump of tm_adm structure: Fri May 16 07:24:30 2014
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    RM-T19, U20,                 , , 01:23:40, M0, W-1,     , 1/0
    Workprocess Comm. Area Blocks Fri May 16 07:24:30 2014
    =============================
    Slots: 1000, Used: 2, Max: 46
    +------+--------------+----------+-------------+
    |   id | owner        |   pid    | eyecatcher  |
    +------+--------------+----------+-------------+
    |    0 | DISPATCHER   |       -1 | 0xdeadbeef |
    |  546 | DISPATCHER   |       -1 | 0xdeadbeef |
    NiWait: sleep (5000ms) ...
    NiISelect: timeout 5000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:35 2014
    NiISelect: TIMEOUT occured (5000ms)
    DpHalt: shutdown server >SAPERP_PRD_00                           < (normal)
    DpJ2eeDisableRestart
    DpMBufRead: read server list from MBUF (1 entries)
    DpMBufMod: name [SAPERP_PRD_00                           ], types 191 state 3 (0x0 0x0 0x0 0x0)
    DpMBufMod: call hooks for event MBUF_DPEVT_DSTATE (5->3)
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 60
    AdCallRegisteredCvtToExt: opcode 60 call 000007F7B2B8B6E0
    AdCallRegisteredCvtToExt: opcode 60 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    DpWpBlksLow: wp_blks_in_queue/limit/max = 2/800/1000
    DpLockWpBlkEx: lock wp ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqIPutIntoQ: put elem in queue DIA, elems=6
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 41)
    MBUF server state SHUTDOWN
    DpModState: change state STARTING -> SHUTDOWN
    NiBufSend starting
    NiIWrite: hdl 17 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    DpHalt: switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    DpHalt: stop work processes
    DpHalt: stop gateway
    killing process (7752) (SOFT_KILL)
    DpHalt: stop icman
    killing process (5940) (SOFT_KILL)
    DpHalt: terminate gui connections
    send SHUTDOWN to REM TM 19
    DpWpBlksLow: wp_blks_in_queue/limit/max = 3/800/1000
    DpLockWpBlkEx: lock wp ca_blk 2
    return errno (-17) to T19
    DpTmSend: errormsg without overhead: use mode 0
    NiBufIAlloc: malloc NiBufadm, to 0 bytes
    DpTmSend: try to send 14 bytes to T19/M0
    NiBufSend starting
    NiIWrite: hdl 25 sent data (wrt=14,pac=1,MESG_IO)
    REL WP ca_blk 2
    set status of T19 to TM_DISCONNECTED
    NiBufISelUpdate: new MODE -- (r-) for hdl 25 in set0
    SiSelNSet: set events of sock 1440 to: ---
    NiBufISelRemove: remove hdl 25 from set0
    SiSelNRemove: removed sock 1440 (pos=3)
    SiSelNRemove: removed sock 1440
    NiSelIRemove: removed hdl 25
    DpDelSocketInfo: del info for nihdl 25 (pos/type=3/3)
    NiICloseHandle: shutdown and close hdl 25/sock 1440
    NiBufIClose: clear extension for hdl 25
    dp_tm_adm[19].stat = DP_SLOT_FREE
    DpGetSchedule: next schedule 1400225080/234000
    DpGetSchedule: no schedule found
    DpITmSlotRelease: release slot 19
    DpListRemove: remove elem 19 from tmadm_inuse_list
    DpListRemove: 19 elems in tmadm_inuse_list
    DpListInsert: insert elem 19 into tmadm_free_list (at begin)
    DpListInsert: 182 elems in tmadm_free_list
    DpHalt: wait for end of work processes
    DpHalt: wait for end of gateway
    [DpProcDied] Process lives  (PID:7752  HANDLE:1300)
    DpHalt: waiting for termination of gateway ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:36 2014
    NiISelect: TIMEOUT occured (1000ms)
    *** ERROR => [DpProcDied] Process died  (PID:7752  HANDLE:1300  rc:0x0) [dpnttool2.c  147]
    DpHalt: wait for end of icman
    [DpProcDied] Process lives  (PID:5940  HANDLE:1296)
    DpHalt: waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:37 2014
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:5940  HANDLE:1296)
    DpHalt: waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:38 2014
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:5940  HANDLE:1296)
    DpHalt: waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:39 2014
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:5940  HANDLE:1296)
    DpHalt: waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:40 2014
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:5940  HANDLE:1296)
    DpHalt: waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:41 2014
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:5940  HANDLE:1296)
    DpHalt: waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:42 2014
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:5940  HANDLE:1296)
    DpHalt: waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:43 2014
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:5940  HANDLE:1296)
    DpHalt: waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:44 2014
    NiISelect: TIMEOUT occured (1000ms)
    *** ERROR => [DpProcDied] Process died  (PID:5940  HANDLE:1296  rc:0x0) [dpnttool2.c  147]
    DpStartStopMsg: send stop message (myname is >SAPERP_PRD_00                           <)
    DpStartStopMsg: Write AD_STARTSTOP message with type=  0, name=SAPERP_PRD_00       , sapsysnr= 0, hostname=SAPERP                                                        
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 60
    AdCallRegisteredCvtToExt: opcode 60 call 000007F7B2B8B6E0
    AdCallRegisteredCvtToExt: opcode 60 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 4
    AdCallRegisteredCvtToExt: opcode 4 call 000007F7B2BB1470
    AdCallRegisteredCvtToExt: opcode 4 exit rc=SAP_O_K
    DpConvertRequest: net size = 189 bytes
    NiBufIAlloc: malloc MSLIB-BUF, to 32110 bytes
    NiBufSend starting
    NiIWrite: hdl 17 sent data (wrt=562,pac=1,MESG_IO)
    MsINiWrite: sent 562 bytes
    MsISnd2: send msg (ms hdr/msg 110/452 bytes) to name                    -, type 4, key -
    DpStartStopMsg: stop msg sent
    NiBufIAlloc: malloc MSLIB-BUF, to 32110 bytes
    NiBufIAlloc: malloc NIBUF-IN, to 32110 bytes
    NiIRead: hdl 17 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 17
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MsIReceive: received msg (ms hdr/msg 110/164 bytes), flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 17 recv would block (errno=EAGAIN)
    NiIRead: read for hdl 17 timed out (0ms)
    DpHalt: more messages from the message server
    DpHalt: send keepalive to synchronize with the message server
    NiBufSend starting
    NiIWrite: hdl 17 sent data (wrt=114,pac=1,MESG_IO)
    MsINiWrite: sent 114 bytes
    MsISnd2: send msg (ms hdr/msg 110/4 bytes) to name           MSG_SERVER, type 0, key -
    MsSndName: MS_NOOP ok
    Send 4 bytes to MSG_SERVER
    NiBufIAlloc: malloc MSLIB-BUF, to 32110 bytes
    NiIRead: hdl 17 recv would block (errno=EAGAIN)
    NiIPeek: peek successful for hdl 17 (r)
    NiBufIAlloc: malloc NIBUF-IN, to 32110 bytes
    NiIRead: hdl 17 received data (rcd=114,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=114
    NiBufIIn: packet complete for hdl 17
    NiBufReceive starting
    MsINiRead: received 114 bytes
    MsIReceive: received msg (ms hdr/msg 110/4 bytes), flag 3, from MSG_SERVER          , typ 0, key -
    Received 4 bytes from MSG_SERVER                            
    Received opcode MS_NOOP from msg_server, reply MSOP_OK
    MsOpReceive: ok
    MsISendKeepalive : keepalive sent to message server
    NiIRead: hdl 17 recv would block (errno=EAGAIN)
    Fri May 16 01:24:45 2014
    NiIPeek: peek for hdl 17 timed out (r; 1000ms)
    NiIRead: read for hdl 17 timed out (1000ms)
    DpHalt: no more messages from the message server
    DpHalt: sync with message server o.k.
    DpHalt: detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   13064]
    NiBufSend starting
    NiIWrite: hdl 17 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server (SAPERP / 3900)
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiBufISelUpdate: new MODE -- (r-) for hdl 17 in set0
    SiSelNSet: set events of sock 1400 to: ---
    NiBufISelRemove: remove hdl 17 from set0
    SiSelNRemove: removed sock 1400 (pos=2)
    SiSelNRemove: removed sock 1400
    NiSelIRemove: removed hdl 17
    DpDelSocketInfo: del info for nihdl 17 (pos/type=2/4)
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 60
    AdCallRegisteredCvtToExt: opcode 60 call 000007F7B2B8B6E0
    AdCallRegisteredCvtToExt: opcode 60 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    DpWpBlksLow: wp_blks_in_queue/limit/max = 3/800/1000
    DpLockWpBlkEx: lock wp ca_blk 2
    make DISP owner of wp_ca_blk 2
    DpRqIPutIntoQ: put elem in queue DIA, elems=7
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 44)
    MBUF component DOWN
    NiICloseHandle: shutdown and close hdl 17/sock 1400
    NiBufIClose: clear extension for hdl 17
    MsIDetach: detach MS-system (SAPERP / 3900)
    DpHalt: cleanup EM
    EsCleanup( )
    EsCleanup ....
    EmCleanup() -> 0
    Es2Cleanup: Cleanup ES2
    ***LOG Q05=> DpHalt, DPStop ( 4924) [dpxxdisp.c   11574]
    DpHalt: Good Bye .....
    SAPSTARTSRV
    trc file: "sapstartsrv.log", trc level: 0, release: "721"
    pid        6196
    [Thr 6528] Fri May 16 00:38:09 2014
    SAP HA Trace: SAP Microsoft Cluster library '721, patch 100, changelist 1397439' initialized
    CCMS agent initialization for instance type ABAP: return code 0.
    CCMS agent start: return code 0.
    Initializing SAPControl Webservice
    Starting AutoRestart thread
    AutoRestart thread started, version check is enabled
    SapSSLInit failed => https support disabled
    Starting WebService Named Pipe thread
    Starting WebService thread
    Webservice named pipe thread started, listening on port \\.\pipe\sapcontrol_00
    Webservice thread started, listening on port 50013
    \sapadmin is starting SAP System at 2014/05/16  0:38:18
    SAP HA Trace: FindClusterResource: OpenCluster failed: 1753 [sapwinha.cpp, line 213]
    SAP HA Trace: SAP_HA_FindSAPInstance returns: SAP_HA_FAIL [sapwinha.cpp, line 920]
    \sapadmin is stopping SAP System at 2014/05/16  0:49:10
    SAP HA Trace: FindClusterResource: OpenCluster failed: 1753 [sapwinha.cpp, line 213]
    SAP HA Trace: SAP_HA_FindSAPInstance returns: SAP_HA_FAIL [sapwinha.cpp, line 920]
    \sapadmin is starting SAP System at 2014/05/16  0:50:47
    SAP HA Trace: FindClusterResource: OpenCluster failed: 1753 [sapwinha.cpp, line 213]
    SAP HA Trace: SAP_HA_FindSAPInstance returns: SAP_HA_FAIL [sapwinha.cpp, line 920]
    \sapadmin is stopping SAP System at 2014/05/16  1:21:22
    SAP HA Trace: FindClusterResource: OpenCluster failed: 1753 [sapwinha.cpp, line 213]
    SAP HA Trace: SAP_HA_FindSAPInstance returns: SAP_HA_FAIL [sapwinha.cpp, line 920]
    \prdadm is starting SAP System at 2014/05/16  1:23:04
    SAP HA Trace: FindClusterResource: OpenCluster failed: 1753 [sapwinha.cpp, line 213]
    SAP HA Trace: SAP_HA_FindSAPInstance returns: SAP_HA_FAIL [sapwinha.cpp, line 920]

    Hi Alwina, here is the DEV_ICM trace:
    From this trace, it appears that it is listening to 65000?
    Netstat shows that the system is listening to 127.0.0.1:65000 .
    Other SAP ports show listening on 0:0:0:0:xxxx , is ICM listening on 127 a problem?
    trc file: "dev_icm", trc level: 1, release: "721"
    sysno      00
    sid        PRD
    systemid   562 (PC with Windows NT)
    relno      7210
    patchlevel 0
    patchno    43
    intno      20020600
    make       multithreaded, Unicode, 64 bit, optimized
    profile    \\SAPERP\sapmnt\PRD\SYS\profile\PRD_DVEBMGS00_SAPERP
    pid        5940
    [Thr 1812] Fri May 16 01:23:13 2014
    [Thr 1812] Parameter system/type has value: "ABAP"
    [Thr 1812] started security log to file ./dev_icm_sec
    [Thr 1812] ICM running on:
    [Thr 1812] MtxInit: 30001 0 2
    [Thr 1812] ***LOG IM1=> IcmInit, Startup (ICM&SAPERP.CORP.CANSEL.CA&5940&) [icxxman.c    1934]
    [Thr 1812] IcmInit: listening to admin port: 65000
    [Thr 1812] DpSysAdmExtCreate: ABAP is active
    [Thr 1812] DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    [Thr 1812] DpIPCInit2: read dp-profile-values from sys_adm_ext
    [Thr 1812] DpShMCreate: sizeof(wp_adm) 42864 (2256)
    [Thr 1812] DpShMCreate: sizeof(tm_adm) 5517056 (27448)
    [Thr 1812] DpShMCreate: sizeof(wp_ca_adm) 64000 (64)
    [Thr 1812] DpShMCreate: sizeof(appc_ca_adm) 64000 (64)
    [Thr 1812] DpCommTableSize: max/headSize/ftSize/tableSize=500/16/1384064/1384080
    [Thr 1812] DpShMCreate: sizeof(comm_adm) 1384080 (2744)
    [Thr 1812] DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    [Thr 1812] DpShMCreate: sizeof(slock_adm) 0 (296)
    [Thr 1812] DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    [Thr 1812] DpShMCreate: sizeof(file_adm) 0 (80)
    [Thr 1812] DpShMCreate: sizeof(vmc_adm) 0 (2160)
    [Thr 1812] DpShMCreate: sizeof(wall_adm) (41664/42896/64/192)
    [Thr 1812] DpShMCreate: sizeof(gw_adm) 48
    [Thr 1812] DpShMCreate: sizeof(j2ee_adm) 3952
    [Thr 1812] DpShMCreate: SHM_DP_ADM_KEY (addr: 00000000022F0050, size: 7174832)
    [Thr 1812] DpShMCreate: allocated sys_adm at 00000000022F0060
    [Thr 1812] DpShMCreate: allocated wp_adm_list at 00000000022F30B0
    [Thr 1812] DpShMCreate: allocated wp_adm at 00000000022F32A0
    [Thr 1812] DpShMCreate: allocated tm_adm_list at 00000000022FDA20
    [Thr 1812] DpShMCreate: allocated tm_adm at 00000000022FDA70
    [Thr 1812] DpShMCreate: allocated wp_ca_adm at 0000000002840980
    [Thr 1812] DpShMCreate: allocated appc_ca_adm at 0000000002850390
    [Thr 1812] DpShMCreate: allocated comm_adm at 000000000285FDA0
    [Thr 1812] DpShMCreate: system runs without slock table
    [Thr 1812] DpShMCreate: system runs without file table
    [Thr 1812] DpShMCreate: allocated vmc_adm_list at 00000000029B1C40
    [Thr 1812] DpShMCreate: system runs without vmc_adm
    [Thr 1812] DpShMCreate: allocated gw_adm at 00000000029B1CF0
    [Thr 1812] DpShMCreate: allocated j2ee_adm at 00000000029B1D30
    [Thr 1812] DpShMCreate: allocated ca_info at 00000000029B2CB0
    [Thr 1812] DpRqQInit: use protect_queue / slots_per_queue 0 / 2001 from sys_adm
    [Thr 1812] MPI: dynamic quotas disabled.
    [Thr 1812] MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%
    [Thr 1812] CCMS: initialize CCMS Monitoring for ABAP instance with J2EE addin.
    [Thr 1812] CCMS: SemInMgt: Semaphore Management initialized by AlAttachShm_Doublestack.
    [Thr 1812] Fri May 16 01:23:14 2014
    [Thr 1812] CCMS: SemInit: Semaphore 38 initialized by AlAttachShm_Doublestack.
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 0
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 1
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 2
    [Thr 6912] IcmProxyWatchDog: proxy watchdog started
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 3
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 4
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 5
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 6
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 7
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 8
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 9
    [Thr 4024] IcmMpiWatchDogThread: MPI watchdog started
    [Thr 4400] IcmWatchDogThread: watchdog started
    [Thr 6524] HttpISubHandlerAdd: Added handler HttpFileAccessHandler(000000000C2E2750), slot=0, flags=4098) for /sap/public/icmandir/, active: 1, table 000000000C2E24C0
    [Thr 6524] ISC: created 400 MB disk cache.
    [Thr 6524] ISC: created 50 MB memory cache.
    [Thr 6524] HttpISubHandlerAdd: Added handler HttpCacheHandler(000000000C3EB4B0), slot=1, flags=12293) for /, active: 1, table 000000000C2E24C0
    [Thr 6524] HttpExtractArchive: files from archive E:\usr\sap\PRD\DVEBMGS00\exe/icmadmin.SAR in directory E:/usr/sap/PRD/DVEBMGS00/data/icmandir are up to date
    [Thr 6524] HttpISubHandlerAdd: Added handler HttpAdminHandler(000000000C461480), slot=2, flags=36869) for /sap/admin, active: 1, table 000000000C2E24C0
    [Thr 6524] HttpISubHandlerAdd: Added handler HttpModHandler(000000000C461570), slot=3, flags=12293) for /, active: 1, table 000000000C2E24C0
    [Thr 6524] CsiInit(): Initializing the Content Scan Interface
    [Thr 6524]            PC with Windows NT (mt,unicode,SAP_CHAR/size_t/void* = 16/64/64)
    [Thr 6524] CsiInit(): CSA_LIB = "E:\usr\sap\PRD\DVEBMGS00\exe\sapcsa.dll"
    [Thr 6524] HttpISubHandlerAdd: Added handler HttpAuthHandler(000000000C4615F0), slot=4, flags=12293) for /, active: 1, table 000000000C2E24C0
    [Thr 6524] HttpISubHandlerAdd: Added handler HttpSAPR3Handler(000000000C4AFAE0), slot=5, flags=1052677) for /, active: 1, table 000000000C2E24C0
    [Thr 6524] Started service PORT=8000,PROT=HTTP,TIMEOUT=60,PROCTIMEOUT=60
    [Thr 6524] Started service PORT=0,PROT=SMTP,TIMEOUT=120,PROCTIMEOUT=120
    [Thr 6524] Fri May 16 01:23:18 2014
    [Thr 6524] IcmNetCheck: network check passed without detecting problems
    [Thr 4268] Fri May 16 01:23:24 2014
    [Thr 4268] HttpExtractArchive: files from archive E:\usr\sap\PRD\DVEBMGS00\exe/ITS.SAR in directory E:/usr/sap/PRD/DVEBMGS00/data/icmandir are up to date
    [Thr 8156] Fri May 16 01:24:14 2014
    [Thr 8156] *** WARNING => IcmCallAllSchedules: Schedule func 1 already running - avoid recursion [icxxsched.c  481]
    [Thr 5948] Fri May 16 01:24:24 2014
    [Thr 5948] *** WARNING => IcmJ2EEScheduleFunc: Cannot access "/sap/public/icman" (rc=500)- please check node in TA sicf [icxxman.c    2598]
    [Thr 6912] Fri May 16 01:24:44 2014
    [Thr 6912] IcmProxyWatchDog: Shutdown request received
    [Thr 4400] IcmWatchDogThread: Shutdown request received
    [Thr 6912] *** IcmProxyWatchDog: exit thread ***
    [Thr 4024] *** IcmMpiWatchDogThread: exit thread ***
    [Thr 4400] *** IcmWatchDogThread: exit thread ***
    [Thr 1812] IcmLoop: Shutdown request received
    [Thr 1812] Deactivated service PORT=8000,PROT=HTTP,TIMEOUT=60,PROCTIMEOUT=60
    [Thr 1812] Deactivated service PORT=0,PROT=SMTP,TIMEOUT=120,PROCTIMEOUT=120
    [Thr 1812] Removed service PORT=8000,PROT=HTTP,TIMEOUT=60,PROCTIMEOUT=60
    [Thr 1812] Removed service PORT=0,PROT=SMTP,TIMEOUT=120,PROCTIMEOUT=120
    [Thr 1812] *** ICM shutdown completed (pid: 5940) ***

  • ORA-27101: shared memory realm does not exist urgent cannot connect

    Hi i can't succeed connectivity test with netmgr
    Initializing first test to use userid: scott, password: tiger
    Attempting to connect using userid: scott
    The test did not succeed.
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    There may be an error in the fields entered,
    or the server may not be ready for a connection.
    Here is what i get from tcpdump:
    0x00a0: 5241 2d30 3130 3334 3a20 4f52 4143 4c45 RA-01034:.ORACLE
    0x00b0: 206e 6f74 2061 7661 696c 6162 6c65 0a4f .not.available.O
    0x00c0: 5241 2d32 3731 3031 3a20 7368 6172 6564 RA-27101:.shared
    0x00d0: 206d 656d 6f72 7920 7265 616c 6d20 646f .memory.realm.do
    0x00e0: 6573 206e 6f74 2065 7869 7374 0a4c 696e es.not.exist.Lin
    0x00f0: 7578 2045 7272 6f72 3a20 323a 204e 6f20 ux.Error:.2:.No.
    0x0100: 7375 6368 2066 696c 6520 6f72 2064 6972 such.file.or.dir
    0x0110: 6563 746f 7279 0a ectory.
    Here an attempt with sqlplus that didn't work
    sqlplus scott/tiger@CHUCKY
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 29 17:05:03 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Another attempt with sqlplus that succeed i dunno why
    oracle@debian:~$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 29 17:06:02 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    Can someone help me to understand what is wrong please?

    user499283 wrote:
    Well I don't understand exactly what you mean
    here is the listener status
    SNRCTL for Linux: Version 10.2.0.1.0 - Production on 29-MAR-2006 18:24:33
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=debian)(PORT=1521)))
    Services Summary...
    Service "CHUCKY" has 1 instance(s).
    Instance "CHUCKYSON", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:3 refused:0
    LOCAL SERVER
    Service "chucky.rss-global.com" has 1 instance(s).
    Instance "CHUCKY", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "chuckyXDB.rss-global.com" has 1 instance(s).
    Instance "CHUCKY", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: debian, pid: 11725>
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=49930))
    Service "chucky_XPT.rss-global.com" has 1 instance(s).
    Instance "CHUCKY", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    I dont know if it is a good thing i copy an init.ora file to initCHUCKY.ora and now database is using it I have just changed some values in it like control files dbname ... that were pointing to another database maybe this is why i dont manage to get this database runing.
    Now i am stucked I dunno what to do
    racle@debian:~$ tnsping chucky
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 29-MAR-2006 18:27:45
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /home/oracle/u01/app/oracle/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = debian)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = CHUCKY)) (HS = OK))
    OK (0 msec)
    I am so new to it as i understand the listener is working if i beliave what reports tnsping
    As I understand the database is started
    SQL> startup
    ORACLE instance started.
    Total System Global Area 167772160 bytes
    Fixed Size 1218316 bytes
    Variable Size 62916852 bytes
    Database Buffers 100663296 bytes
    Redo Buffers 2973696 bytes
    Database mounted.
    Database opened.
    As Inunderstand it is listeneing on 1521
    netstat -anp | grep 1521
    tcp 0 0 0.0.0.0:1521 0.0.0.0:* LISTEN 11762/tnslsnr
    tcp 0 0 127.0.0.1:46370 127.0.0.1:1521 ESTABLISHED11703/ora_pmon_CHUC
    tcp 0 0 127.0.0.1:1521 127.0.0.1:46370 ESTABLISHED11762/tnslsnr
    unix 2 [ ] DGRAM 43990 11521/su
    I made a tcpdump i saw the data is comong on localhost port 1521
    Synthese I think the listener is runing, the database too, it is making a listen on 1521 port , when I try to connect data arrives on the right interface.
    But I can't login by
    sqlplus scott/tiger@CHUCKY
    qlplus SCOTT/tiger@CHUCKY
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 29 18:32:49 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    I dunno what is this fuckin shared memoryThis fuckin shared memory is how oracle does interprocess communication. When you connect to Oracle, you have to connect to this area. If you tell it the wrong area, it won't find it. You can see the areas with the ipcs command on the server. Since you can connect locally, but can't connect remotely, there is something wrong with how you told Oracle to connect remotely. Remotely can be on the same host if you have an @ in the connect string.
    >
    env | grep ORACLE
    ORACLE_SID=CHUCKY
    ORACLE_BASE=/home/oracle
    ORACLE_HOME=/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_1/
    seems like my variables are good.
    Well I dunno what to do I didn't think getting a simple login locally over tcp/ip would be so difficult, I am afraid of what will happen after this will work :) As it should be one of the easiest things on oracle what about the hardest :)Well, first try removing the trailing slash from ORACLE_HOME everywhere, including if you have it in the listener.ora. Then compare the tnsnames.ora ORACLE_HOME with your environment ORACLE_HOME. In fact, if you have a listener.ora, try renaming it to something else and restarting the listener.
    That error is normally due to a bad ORACLE_HOME or ORACLE_SID. Since your tnsping works, that indicates the ORACLE_HOME is good. But all that tells you is that the listener responds. Other causes may be inadequate processes in init.ora or case issues with the sid, or just generally not following the installation instructions. But are there installation instructions for debian?
    With multiple databases on one host, some kernel parameters may need to be increased.

  • Multiple Users Accessing Shared Memory

    I created a shared memory enabled class, and it works great for a simple scenario.  But, it's currently not sufficient for my needs.  Here's an example of what I'm trying to accomplish, and the events happen in this order!
    User 1 writes data XXX to shared memory.
    User 2 writes data YYY to shared memory.
    User 1 reads from shared memory and I want him to get his data (XXX).
    User 2 reads from shared memory and I obviously want him to get his YYY.
    I do have a key I can use to differentiate my data but I don't know how to incorporate that in my process. 
    Is the solution to write a table, rather than my current simple structure, to my shared memory?  But if I do this how do I clean off the "used" row after it is read?
    Or is the solution to use some sort of instance of my class and reference the appropriate instance on each read?
    Here's my write:
      data: lo_shared_area type ref to z_cl_rdn_shared_area,
            lo_root        type ref to z_cl_rdn_memory.
    ****get a pointer to the Shared Area
      lo_shared_area = z_cl_rdn_shared_area=>attach_for_write( ).
    ****Create an instance of our root
      create object lo_root area handle lo_shared_area.
    ****Set the Initial value for our message
      lo_root->set_ptwy( ps_ptwy ).
    ****Set the root back into the Area
      lo_shared_area->set_root(  lo_root ).
    ****Commit and detatch
      lo_shared_area->detach_commit( ).
    Here's my read:
      data: lo_shared_area type ref to z_cl_rdn_shared_area,
            lo_root        type ref to z_cl_rdn_memory.
      lo_shared_area = z_cl_rdn_shared_area=>attach_for_read( ).
      lo_root        = lo_shared_area->root.
      try.
          ls_ptwy = lo_root->get_ptwy( ).
        catch cx_root.
          clear ls_ptwy.
      endtry.
      lo_shared_area->detach( ).
    Thanks,
    Mike

    Hello,
    Clearing shared memory will crash SAP   ie cleanipc.
    Need to increase memory parameters
    Check notes...
    146289    Parameter Recommendations for 64-Bit SAP Kernel   
    146528 "Configuration of R/3 on hosts with much RAM".                     
    regards,
    John Feely

  • Error message: ORA-27125: unable to create shared memory segment Linux-x86_

    Hi,
    I am doing an installtion of SAP Netweaver 2004s SR3 on SusE Linux 11/Oracle 10.2
    But i am facing the follow issue in Create Database phase of SAPInst.
    An error occurred while processing service SAP NetWeaver 7.0 Support Release 3 > SAP Systems > Oracle > Central System > Central System( Last error reported by the step :Caught ESAPinstException in Modulecall: ORA-27125: unable to create shared memory segment Linux-x86_64 Error: 1: Operation not permitted Disconnected
    Please help me to resolve the issue.
    Thanks,
    Nishitha

    Hi Ratnajit,
    I am too facing the same error but my ORACLE is not starting,
    Here are my results of following command:
    cat /etc/sysctl.conf
    # created by /sapmnt/pss-linux/scripts/sysctl.pl on Wed Oct 23 22:55:01 CEST 2013
    fs.inotify.max_user_watches = 65536
    kernel.randomize_va_space = 0
    ##kernel.sem = 1250 256000 100 8192
    kernel.sysrq = 1
    net.ipv4.conf.all.promote_secondaries = 1
    net.ipv4.conf.all.rp_filter = 0
    net.ipv4.conf.default.promote_secondaries = 1
    net.ipv4.icmp_echo_ignore_broadcasts = 1
    net.ipv4.neigh.default.gc_thresh1 = 256
    net.ipv4.neigh.default.gc_thresh2 = 1024
    net.ipv4.neigh.default.gc_thresh3 = 4096
    net.ipv6.neigh.default.gc_thresh1 = 256
    net.ipv6.neigh.default.gc_thresh2 = 1024
    net.ipv6.neigh.default.gc_thresh3 = 4096
    vm.max_map_count = 2000000
    # Modified for SAP on 2013-10-24 07:14:17 UTC
    #kernel.shmall = 2097152
    kernel.shmall = 16515072
    # Modified for SAP on 2013-10-24 07:14:17 UTC
    #kernel.shmmax = 2147483648
    kernel.shmmax = 67645734912
    kernel.shmmni = 4096
    # semaphores: semmsl, semmns, semopm, semmni
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 262144
    net.core.rmem_max = 262144
    net.core.wmem_default = 262144
    net.core.wmem_max = 262144
    And here is mine Limit.conf File
    cat /etc/security/limits.conf
    #<domain>      <type>  <item>         <value>
    #*               soft    core            0
    #*               hard    rss             10000
    #@student        hard    nproc           20
    #@faculty        soft    nproc           20
    #@faculty        hard    nproc           50
    #ftp             hard    nproc           0
    #@student        -       maxlogins       4
    # Added for SAP on 2012-03-14 10:38:15 UTC
    #@sapsys          soft    nofile          32800
    #@sapsys          hard    nofile          32800
    #@sdba            soft    nofile          32800
    #@sdba            hard    nofile          32800
    #@dba             soft    nofile          32800
    #@dba             hard    nofile          32800
    # End of file
    # Added for SAP on 2013-10-24
    #               soft    nproc   2047
    #               hard    nproc   16384
    #               soft    nofile  1024
    #               hard    nofile  65536
    @sapsys                 soft   nofile          131072
    @sapsys                 hard   nofile         131072
    @sdba                  soft  nproc          131072
    @sdba                  hard   nproc         131072
    @dba                 soft    core           unlimited
    @dba                 hard     core          unlimited
                      soft     memlock       50000000
                      hard     memlock       50000000
    Here is mine   cat /proc/meminfo
    MemTotal:       33015980 kB
    MemFree:        29890028 kB
    Buffers:           82588 kB
    Cached:          1451480 kB
    SwapCached:            0 kB
    Active:          1920304 kB
    Inactive:         749188 kB
    Active(anon):    1136212 kB
    Inactive(anon):    39128 kB
    Active(file):     784092 kB
    Inactive(file):   710060 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:      33553404 kB
    SwapFree:       33553404 kB
    Dirty:              1888 kB
    Writeback:             0 kB
    AnonPages:       1135436 kB
    Mapped:           161144 kB
    Shmem:             39928 kB
    Slab:              84096 kB
    SReclaimable:      44400 kB
    SUnreclaim:        39696 kB
    KernelStack:        2840 kB
    PageTables:        10544 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:    50061392 kB
    Committed_AS:    1364300 kB
    VmallocTotal:   34359738367 kB
    VmallocUsed:      342156 kB
    VmallocChunk:   34359386308 kB
    HardwareCorrupted:     0 kB
    AnonHugePages:    622592 kB
    HugePages_Total:       0
    HugePages_Free:        0
    HugePages_Rsvd:        0
    HugePages_Surp:        0
    Hugepagesize:       2048 kB
    DirectMap4k:       67584 kB
    DirectMap2M:    33486848 kB
    Please let me know where i am going wrong.
    Wat thing basically u check on /proc/meminfo command
    Regards,
    Dipak

  • ORA-27123 unable to attach shared memory segment

    Running oracle 8.1.5.0.0 on Redhat 6.0 with kernel 2.2.12, I keep getting the error ORA-27123 unable to attach shared memory segment when trying to startup and instance with an SGA > 150 MB or so. I have modified the shmmax and shmall kernel parameters via the /proc/sys interface. The relevant output of ipcs -l is below:
    ------ Shared Memory Limits --------
    max number of segments = 128
    max seg size (kbytes) = 976562
    max total shared memory (kbytes) = 16777216
    min seg size (bytes) = 1
    This system has 2gb of physical memory and is doing nothing except oracle.
    I changed the shmmax and shmall parameters after the instance was created, was their something I needed to do to inform Oracle of the changes?

    High JW,
    i had the same problem on my installation.
    The solution is written in the Oracle8i Administrator Refernece on page 1-26 "Relocating the SGA"
    a) determine the valid adress range for Shared Memory with:
    $ tstshm
    in the output Lowest & Highest SHM indicate the valid adress range
    b) run genksms to generate the file ksms.s
    $ cd $ORACLE_HOME/rdbms/lib
    $ $ORACLE_HOME/bin/genksms -b "sga_beginn_adress" > ksms.s
    c) shut down any instance
    d) rebuilt the oracle exe in $ORACLE_HOME/rdbms/lib
    $ make -f ins_rdbms.mk ksms.o
    $ make -f ins_rdbms.mk ioracle
    the result is a new oracle kernel that loads the SGA at the adress specified in "sga_beginn_adress".
    regards
    Gerhard

Maybe you are looking for

  • How to store data file name in one of the columns of staging table

    My requirement is to load data from .dat file to oracle staging table. I have done following steps: 1. Created control file and stored in bin directory. 2. Created data file and stored in bin directory. 3. Registered a concurrent program with executi

  • Re: WRT350N ----- Very poor Wireless signal strength from my router

    I have a WRT350N router.  I had it for a year now.   In the begining the Wireless Signal strenth was good.  I used to get 4-5 bars in my bed room which is about 10 meters from the router.  Now I have my laptop sitting 1 feet away from the router and

  • AIrPort 6.3 out

    Came here to solve Express frequent crashing problem and was about to downgrade to v. 6.1 per another thread. When I launched Admin, showed 6.3 availablr. So fAR SO GOOD.

  • Rule set does not work

    My ruleset doesnn't work..please help... i get this error message... An error occurred: java.rmi.RemoteException: Exception in non-transactional EJB invoke: javax.ejb.EJBException: org.xml.sax.SAXException: java.rmi.RemoteException: java.io.IOExcepti

  • GRAPHICS 6 - PO 7.3 CONNECTIVITY

    I cannot connect from Oracle Graphics 6 to Personal Oracle 7.3.3 Error message: OG-01603 (abnormal condition) Somebody can help me? Thanks in advance Saludos from Mexico