In most of the cases ,a custom Stop / Start scripts are used to restart the web servers with Siteminder Agents (Apache ,Iplanet ,IBM HTTP server ...) .
Some of these shutdown scripts uses the Kill -9 to terminate the LLAWP process in case it took longer then expected to shutdown.
The sempahores and shared memory must be cleaned up for the LLAWP process if kill -9 before starting the Web server and fork a new LLAWP .
This can be tricky if you have multiple Virtual Hosts configured with the agent as you will need to determine what semaphores / Shared memory to clean up that is linked to the LLAWP process in question.
Applicable on REDHAT OS only
Below is how to correlate the LLAWP PID to the created semaphores and shared memory.
semnum value ncount zcount pid
0 0 4 0 1957
3. ipcrm -s semid