Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: DBA Alert
here it is in its entirety:
Note:118228.1
Subject:
ALERT: Hang During Startup/Shutdown on Unix When System Uptime > 248 Days Type: ALERT Status: PUBLISHED Content Type: TEXT/PLAIN Creation Date: 24-AUG-2000 Last RevisionDate:
25-SEP-2000
Language:
USAENG This alert was modified 30-August-2000 by adding the Q&A section. This alert was modified 31-August-2000 by removing 7.x from the Versions Affected. Q&A section updated with new information regarding affected platforms and product versions. This alert was modified 21-September by adding reference to BUG 1399885 This alert was modified 25-September-2000 by adding a Q&A on corruption and revision of the affected platforms Q&A.
HANG DURING STARTUP OR SHUTDOWN
Platforms Affected
Likelihood of Occurrence
Possible Symptoms
% truss -af -o <output_file> -p <pid_of_pmon_process>
If you see output similar to the following you are looping and may be experiencing this problem:
24369: semop(720897, 0xEFFFE7A0, 1) (sleeping...) 24448: Received signal #14, SIGALRM, in semop() [caught] 24448: semop(720897, 0xEFFFDAA8, 1) Err#91 ERESTART 24448: sigprocmask(SIG_BLOCK, 0xEFFFD6C0, 0x00000000) = 0 24448: times(0xEFFFD650) = -2117821797 24448: setitimer(ITIMER_REAL, 0xEFFFD650, 0x00000000) = 0 24448: sigprocmask(SIG_UNBLOCK, 0xEFFFD6C0, 0x00000000) = 0 24448: setcontext(0xEFFFD790) 24377: semop(720897, 0xEFFFE7A0, 1) (sleeping...) 24398: Received signal #14, SIGALRM, in semop() [caught] 24398: semop(720897, 0xEFFFE7A0, 1) Err#91 ERESTART 24398: sigprocmask(SIG_BLOCK, 0xEFFFE3B8, 0x00000000) = 0 24398: times(0xEFFFE348) = -2117821686
Note that the "times" call is returning a very small negative value. It is also important to understand that negative values returned by times is not the problem but how the Oracle timer checks against it is the issue. It is normal to see negative values returned by "times" on systems that have been up over 248 days.
Any running instances will need to be aborted with a "shutdown abort" before the system is shutdown.
Questions & Answers
with the controlfile. After recreating it, the MOUNT process followed a path which did not result in a hang. This is NOT the correct workaround for this problem, and may result in loss of valuable metadata. See the Workaround section below for the correct workaround.
Q. Which platforms are known to be affected by this bug?
Platforms not mentioned here have not been verified yet.
Q. Does this problem affect Oracle7?
Another way to determine the clock ticks of your system is to use the command: "truss -tsysconfig time true" On Solaris this will show: sysconfig(_CONFIG_CLK_TCK) = 1000 if your system clock ticks 1000 times per second.
Q. How do I know whether my system is close to being impacted?
"truss -ttimes time true"
On Solaris this will show: times(0xEFFFFC20) = 962090 This system was rebooted 962.09 seconds ago. After the return value of the times() system call reaches 2147483647, it will wrap and become -2147483648. When times() returns a negative value, your system has been impacted.
Q. How do I know that the patch fixed the problem?
Workaround
If a patch is not available for your operating system or Oracle version, see the patch list in the next section, the workaround is to do the following:
This will reset the timer and start the number of ticks back to "0".
Patches
8.0.5: [BUG:1400358] 8.0.6: [BUG:1265297] 8.1.5: [BUG:1400327] 8.1.6: [BUG:1227119]
![]() |
![]() |