Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: RE: Shutdown Abort Damages Database!
Sometimes you have to clean up the shared memory, ipcs will report what is hanging around, on solaris:
$ ipcs
IPC status from <running system> as of Wed Aug 7 18:59:38 EDT 2002
T ID KEY MODE OWNER GROUP
Message Queues:
Shared Memory:
m 800 0xf6fd4134 --rw-r----- oracle oinstall
Semaphores:
s 2293760 0xe11a1394 --ra-r----- oracle oinstall s 524289 0xe11a1395 --ra-r----- oracle oinstall s 524290 0xe11a1396 --ra-r----- oracle oinstall
ipcrm can clean it up, in my experience:
ipcrm - remove a message queue, semaphore set, or shared
memory ID
for instance -s:
-s semid Remove the semaphore identifier semid from the system and destroy the set of semaphores and data structure associated with it.
On Wed, Aug 07, 2002 at 10:34:42AM -0800, Grabowy, Chris wrote:
> That's a MS "solution". He was asking for a real solution.
>
> -----Original Message-----
> Sent: Wednesday, August 07, 2002 12:31 PM
> To: Multiple recipients of list ORACLE-L
>
>
> You asked for instructions on how to clean up. I assumed you wanted the
> most
> foolproof and easy. I can't think of anything more foolproof and easy.
>
> Dick Goulet
>
> ____________________Reply Separator____________________
> Author: "Post; Ethan" <Ethan.Post_at_ps.net>
> Date: 8/7/2002 7:54 AM
>
> oracle>uptime
> 10:47AM up 157 days, 8:04, 3 users, load average: 1.30, 1.18, 0.83
>
> 157 days up and you want me to reboot! Never.
>
> Ethan Post
> perotdba (AIM), epost1 (Yahoo)
> --------------------------------------------------------------------
>
>
> -----Original Message-----
> Sent: Wednesday, August 07, 2002 9:03 AM
> To: Multiple recipients of list ORACLE-L
>
>
> reboot.
>
> ____________________Reply Separator____________________
> Author: "Post; Ethan" <Ethan.Post_at_ps.net>
> Date: 8/6/2002 2:08 PM
>
> OK, that was bait, I admit it.
>
> So we all know that shutdown abort doesn't damage the database. However, do
> we have to ever worry about any UNIX shared memory segments hanging out
> there? I know we do if we end up having to kill the background procs but is
> this ever a case with shutdown abort?
>
> Also does anyone have some good step by step instructions for cleaning up a
> UNIX box after you kill the background procs?
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Ray Stell INET: stellr_at_cns.vt.edu Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Aug 07 2002 - 19:09:21 CDT
![]() |
![]() |