System Administration > Configuring Teamcenter for performance > Configuring the four-tier architecture for performance > Shared memory
Define a fixed directory for shared memory map files
Each time a process stores a shared memory map file in a new location, a new semaphore is created. Defining a fixed directory for shared memory map files minimizes the semaphore count. This is particularly useful on Windows if the value of your TEMP environment variable is frequently modified, and on Linux systems because the operating system does not relinquish semaphores when processes are complete. Procedure Set the TC_SHARED_MEMORY_DIR environment variable to a valid, fixed directory. The shared memory map files are created in a subdirectory of the directory defined by this environment variable. Stop the text server process (TcServer). Log on as root. Display the list of semaphores owned by Teamcenter by typing: Copy ipcs -sb |grep user-id-used-to-start-pool-manager Free all the semaphores in the list by typing: Copy ipcrm -s ID_1... -s ID_n ID_1 is the semaphore identifying number from the list. Results The first process started after this change creates the shared memory map files and required semaphores. All following processes use this existing information, with no need to re-create the map files or additional semaphores.
Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/AWAdmin/fhs4814155880506/rfr1737238552770/iqj1737238552872/dye1737238553682/fixedDirMemoryFiles.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)