My Oracle Support Banner

Tuxedo 9.1, The Tuxedo Utility "tmipcrm" Does Not Remove All Shared Memories When It Was Splitted Against Several Shared Memory Segments (Doc ID 1572919.1)

Last updated on DECEMBER 10, 2019

Applies to:

Oracle Tuxedo - Version 9.1 and later
Information in this document applies to any platform.

Symptoms

tmipcrm command can remove Tuxedo IPC resource. However if shared memory divided some segment, tmipcrm only remove first segment.

When setting MAXSERVICES=20000, and tmboot -A, shared memory divided per 1M on Solaris platform.

bash-2.05$ ipcs -am
IPC status from <running system> as of Tue Jul 23 10:32:04 JST 2013
T         ID      KEY        MODE        OWNER     GROUP    CREATOR     CGROUP    NATTCH      SEGSZ  CPID  LPID   ATIME    DTIME    CTIME
Shared Memory:
m     146301   0x143fd    --rw-rw-rw-  <USERNAME> <GRPNAME> <USERNAME> <GRPNAME>       0         36 <pid#> <pid#> 10:31:53 10:31:53 10:31:53
m      76202   0          --rw-rw-rw-  <USERNAME> <GRPNAME> <USERNAME> <GRPNAME>       1     640924 <pid#> <pid#> 10:31:53 no-entry 10:31:53                        
m      19503   0          --rw-rw-rw-  <USERNAME> <GRPNAME> <USERNAME> <GRPNAME>       1    1048576 <pid#> <pid#> 10:31:53 no-entry 10:31:53
m      18404   0          --rw-rw-rw-  <USERNAME> <GRPNAME> <USERNAME> <GRPNAME>       1    1048576 <pid#> <pid#> 10:31:53 no-entry 10:31:53
m      14005   0          --rw-rw-rw-  <USERNAME> <GRPNAME> <USERNAME> <GRPNAME>       1    1048576 <pid#> <pid#> 10:31:53 no-entry 10:31:53
m      13706   0          --rw-rw-rw-  <USERNAME> <GRPNAME> <USERNAME> <GRPNAME>       1    1048576 <pid#> <pid#> 10:31:53 no-entry 10:31:53
m      11507   0          --rw-rw-rw-  <USERNAME> <GRPNAME> <USERNAME> <GRPNAME>       1    1048576 <pid#> <pid#> 10:31:53 no-entry 10:31:53
m       9208   0          --rw-rw-rw-  <USERNAME> <GRPNAME> <USERNAME> <GRPNAME>       1    1048576 <pid#> <pid#> 10:31:53 no-entry 10:31:53

 

bash-2.05$ tmipcrm -y
Looking for IPC resources in TUXCONFIG file
<DIR>/tuxconfig
The following IPC recources were found:

  Message Queues:
        50675713

  Shared Memory:
        146301

  Semaphores:
        191168514
        96010241

Removing IPC resources ...
done!

 

bash-2.05$ ipcs -am
IPC status from <running system> as of Tue Jul 23 10:32:27 JST 2013
T         ID      KEY        MODE        OWNER    GROUP      CREATOR   CGROUP    NATTCH      SEGSZ  CPID  LPID   ATIME    DTIME    CTIME
Shared Memory:
m      76202   0          --rw-rw-rw-  <USERNAME> <GRPNAME> <USERNAME> <GRPNAME>      0     640924 <pid#> <pid#> 10:32:19 10:32:19 10:31:53
m      19503   0          --rw-rw-rw-  <USERNAME> <GRPNAME> <USERNAME> <GRPNAME>      0    1048576 <pid#> <pid#> 10:32:19 10:32:19 10:31:53
m      18404   0          --rw-rw-rw-  <USERNAME> <GRPNAME> <USERNAME> <GRPNAME>      0    1048576 <pid#> <pid#> 10:32:19 10:32:19 10:31:53
m      14005   0          --rw-rw-rw-  <USERNAME> <GRPNAME> <USERNAME> <GRPNAME>      0    1048576 <pid#> <pid#> 10:32:19 10:32:19 10:31:53
m      13706   0          --rw-rw-rw-  <USERNAME> <GRPNAME> <USERNAME> <GRPNAME>      0    1048576 <pid#> <pid#> 10:32:19 10:32:19 10:31:53
m      11507   0          --rw-rw-rw-  <USERNAME> <GRPNAME> <USERNAME> <GRPNAME>      0    1048576 <pid#> <pid#> 10:32:19 10:32:19 10:31:53
m       9208   0          --rw-rw-rw-  <USERNAME> <GRPNAME> <USERNAME> <GRPNAME>      0    1048576 <pid#> <pid#> 10:32:19 10:32:19 10:31:53

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.