Wednesday, March 14, 2012

Tuxedo administration - Cleaning IPC resources



                    Clean IPC resources


What are IPC resources:-Inter process communication resources are OS resources for example message queues, shared memory & semaphores. 


How tuxedo cleans IPC resources normally:-
Normally when tmshutdown command was issued to shutdown the tyxedo system it  removes all the  IPC resources from the system. 


What if tuxedo system doesnot clean IPC resources normally:-
But, if in case, shutdown was not successful , then few IPC resources will still remain in the system and this causes problem in tuxedo reboot next time.


How to clean IPC reources manually:-
tmipcrm [-y] [-n] [TUX_CONFIG_FILE]

Other methods of cleaning IPC reources manally:-

By listing the IPC resources first suing command ipcs
and then by removing them by command ipcrm


login to the tuxedo environment and fire below 3 commands ..

ipcs -s | grep $USER| awk '{printf "ipcrm -s %d\n", $2}' | sh
ipcs -m | grep $USER| awk '{printf "ipcrm -m %d\n", $2}' | sh
ipcs -q | grep $USER| awk '{printf "ipcrm -q %d\n", $2}' | sh

1 comment:

  1. Hi Vijay,

    Thanks first.

    will you please explain the functionality of the ipcrm in detail

    Regards
    Kishore

    ReplyDelete