/>
Teamcenter

Recommendation: disable preferences in shared memory until Teamcenter 11.2

June 30, 2015

All Teamcenter clients and users should know of SFB-Teamcenter-8568. Due to a problem involving concurrent use of generating and accessing shared memory, the use of shared memory can cause memory corruption in certain cases. This is more evident in the UNIX/Linux platform. These shared memory issues will be completely resolved in Teamcenter 11.2, slated to be released in late July 2015, where shared memory will be fully robust with enhancements.

 

Affected Software: Teamcenter 8.3 and MPs or patches up to TC11.2
Associated PR Number(s): 1792150, 2241061
Associated document: SFB-Teamcenter-8568

 

SYNOPSIS:

For user convenience we are outlining here the steps for disabling preferences in shared memory.

High-Level Process

  1. Shutdown the environment (services/processes)
    1. On remote servers
    2. On Web/App servers.
  2.  Run in a Tc command window
    1. clearlocks -assert_all_dead
    2. install -lock_db
  3.  Delete the shared memory directory
    1. TC_SHARED_MEMORY_DIR
  4.  In custom env file (or directly in tc_profilevars.bat)
    1. set TC_USE_PREFS_SHARED_MEMORY=FALSE
  5.  Run in a Tc command window
    1. generate_metadata_cache -u=infodba -p=infodba -g=dba -force
  6. Optionally clean u
    1. Clear logs in TC_TMP_DIR
    2. Clear logs in TC_LOG (%TC_DATA%log_%TC_DB_SERVER%_%ORACLE_SID%)
  7. Run in a Tc command window
    1. install -unlock_db
  8. Restart the environment (servicesprocesses)
    1. On App/Web servers.
    2. On remote servers.

Default Values

TC_NO_TEXTSRV_SHARED_MEMORY = FALSE

TC_USE_LOV_SHARED_MEMORY = TRUE

TC_USE_METADATA_SHARED_MEMORY = TRUE

TC_USE_PREFS_SHARED_MEMORY=TRUE

Notes

The side effect of turning off shared memory is that each tcserver takes additional memory as below.

Shared Memory Segment Additional Memory (per tcserver)
Preferences ~2-4MB
Metadata ~19MB
LOV ~5MB
TextServer ~6MB

It’s time to unleash your potential

Reach out to the team at Applied CAx to learn how our solutions can make your company’s goals achievable.