<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ora-solutions.net - Martin Decker &#187; Solaris</title>
	<atom:link href="http://www.ora-solutions.net/web/category/unix/solaris-unix-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ora-solutions.net/web</link>
	<description>Indepented Oracle consultant</description>
	<lastBuildDate>Wed, 25 Jan 2012 14:04:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Oracle Clusterware / ASM 11.1.0.7: ASM Instance crash</title>
		<link>http://www.ora-solutions.net/web/2009/10/28/oracle-clusterware-asm-11-1-0-7-asm-instance-crash/</link>
		<comments>http://www.ora-solutions.net/web/2009/10/28/oracle-clusterware-asm-11-1-0-7-asm-instance-crash/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 15:27:00 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[11g]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MetaLink]]></category>
		<category><![CDATA[Oracle Database]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.ora-solutions.net/web/?p=779</guid>
		<description><![CDATA[During a 11gR1 Clusterware installation for a Single Instance Failover Cluster at a customer site, I have experienced an interesting behaviour, which was caused by an Oracle Bug. The environment was: 2 Node Oracle Clusterware 11.1.0.7 Cluster on Linux x86_64 using latest Recommended Patches as of October 19th. (pre PSU 11.1.0.7.1) Clusterware installed as unix [...]]]></description>
			<content:encoded><![CDATA[<p>During a 11gR1 Clusterware installation for a Single Instance Failover Cluster at a customer site, I have experienced an interesting behaviour, which was caused by an Oracle Bug.</p>
<p>The environment was:</p>
<ul>
<li>2 Node Oracle Clusterware 11.1.0.7 Cluster on Linux x86_64 using latest Recommended Patches as of October 19th. (pre PSU 11.1.0.7.1)</li>
<li>Clusterware installed as unix user crs</li>
<li>ASM installed as unix user oracle</li>
</ul>
<p>The ASM instances could be started with SQL*Plus without any problems, but if the ASM instances were started by means of clusterware using srvctl (either from root, crs or oracle) the  ASM instances would crash at diskgroup mount with:</p>
<blockquote>
<pre>ORA-07445: exception encountered: core dump  [sskgds_find_rtn_hdr()+1171]
[SIGBUS] [ADDR:0x2AACD701342C] [PC:0x25799DF]
[Non-existent physical address] []</pre>
</blockquote>
<p>Oracle Support identified this behaviour as Bug 6952915, for which there are patches for Linux x86, x86_64 and Solaris Sparc64.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ora-solutions.net/web/2009/10/28/oracle-clusterware-asm-11-1-0-7-asm-instance-crash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Session waiting for &#8220;enq: RO &#8211; fast object reuse&#8221; &#8211; DBWR Process spinning on CPU</title>
		<link>http://www.ora-solutions.net/web/2009/01/20/session-waiting-for-enq-ro-fast-object-reuse-dbwr-process-spinning-on-cpu/</link>
		<comments>http://www.ora-solutions.net/web/2009/01/20/session-waiting-for-enq-ro-fast-object-reuse-dbwr-process-spinning-on-cpu/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 16:07:08 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[10g]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[HP-UX]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Itanium]]></category>
		<category><![CDATA[MetaLink]]></category>
		<category><![CDATA[Oracle Database]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.ora-solutions.net/web/?p=564</guid>
		<description><![CDATA[I have encountered the following problem on a 10.2.0.4 database on Linux x86_64 today: A user session has been waiting for &#8220;enq: RO &#8211; fast object reuse&#8221; for almost 60 minutes while executing a &#8220;truncate table&#8221; SQL statement. SQL> select username, event, sql_id, taddr, last_call_et from v$session where sid = 234; USERNAME EVENT SQL_ID TADDR [...]]]></description>
			<content:encoded><![CDATA[<p>I have encountered the following problem on a 10.2.0.4 database on Linux x86_64 today:<br />
A user session has been waiting for &#8220;enq: RO &#8211; fast object reuse&#8221; for almost 60 minutes while executing a &#8220;truncate table&#8221; SQL statement.</p>
<blockquote><p>SQL>  select username, event, sql_id, taddr, last_call_et from v$session where sid = 234;</p>
<p>USERNAME    EVENT                         SQL_ID        TADDR            LAST_CALL_ET<br />
&#8212;&#8212;&#8212;-  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;<br />
MD          enq: RO &#8211; fast object reuse   ljk299jlkj003 0000000153264570 3542</p>
<p>SQL>  select sql_text from v$sqlstats where sql_id = &#8216;ljk299jlkj003&#8242;;</p>
<p>SQL_TEXT<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
truncate table tab1</p></blockquote>
<p>The Session was blocked by the CKPT process:</p>
<blockquote><p>SQL> select * from dba_waiters;</p>
<p>WAITING_SESSION HOLDING_SESSION LOCK_TYPE                  MODE_HELD                                MODE_REQUESTED                  LOCK_ID1   LOCK_ID2<br />
&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;-<br />
            234             423 RO                         Row-S (SS)                               Exclusive                  65573   1</p>
<p>SQL> select sid, serial#, sql_id, last_call_et, machine, program, username from v$session where sid = 423;</p>
<p>       SID    SERIAL# SQL_ID        LAST_CALL_ET MACHINE          PROGRAM<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
       423          1                4133636     ora-vm1.intra    oracle@ora-vm1.intra (CKPT)
</p></blockquote>
<p>The checkpoint process was waiting for database writer DBWR process, which was spinning on one cpu:</p>
<p>top</p>
<blockquote><p> PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND<br />
10712 oracle    25   0 2201m 1.7g 1.7g R 99.5 21.7 108:18.03 oracle</p></blockquote>
<p>PID 10712 maps to DBW0:</p>
<blockquote><p>[oracle@ora-vm1 ]$ ps -ef|grep 10712<br />
oracle   10712     1  0  2008 ?        03:23:05 ora_dbw0_MDDB01
</p></blockquote>
<p>mpstat</p>
<blockquote><p>Linux 2.6.9-78.ELsmp (ora-vm1.intra)        01/20/2009</p>
<p>02:21:56 PM  CPU   %user   %nice %system %iowait    %irq   %soft   %idle    intr/s<br />
02:21:57 PM  all   49.75    0.00    0.00    0.00    0.00    0.00   50.25   1055.00<br />
02:21:57 PM    0    0.00    0.00    0.00    0.00    0.00    0.00  100.00   1006.00<br />
02:21:57 PM    1  100.00    0.00    0.00    0.00    0.00    0.00    0.00     49.00</p>
<p>02:21:57 PM  CPU   %user   %nice %system %iowait    %irq   %soft   %idle    intr/s<br />
02:21:58 PM  all   50.75    0.00    0.00    0.50    0.00    0.00   48.76   1161.00<br />
02:21:58 PM    0    1.00    0.00    0.00    1.00    0.00    0.00   98.00   1087.00<br />
02:21:58 PM    1  100.00    0.00    0.00    0.00    0.00    0.00    0.00     74.00
</p></blockquote>
<p>The stack of dbw0 during the time showed these signatures:</p>
<blockquote><p>[oracle@ora-vm1 oracle]$ pstack 10712<br />
#0  0x000000000074b7fb in kslfre ()<br />
#1  0x00000000010ccc3b in kcbo_exam_buf ()<br />
#2  0x00000000010d0d62 in kcbo_service_ockpt ()<br />
#3  0x0000000001080cd7 in kcbbdrv ()<br />
#4  0x00000000007ddcc2 in ksbabs ()<br />
#5  0x00000000007e4b32 in ksbrdp ()<br />
#6  0x0000000002efcb50 in opirip ()<br />
#7  0x00000000012da326 in opidrv ()<br />
#8  0x0000000001e62456 in sou2o ()<br />
#9  0x00000000006d2555 in opimai_real ()<br />
#10 0x00000000006d240c in main ()<br />
[oracle@ora-vm1 oracle]$ pstack 10712<br />
#0  0x000000000074b36d in kslfre ()<br />
#1  0x00000000010cc203 in kcbo_write_process ()<br />
#2  0x00000000010ce608 in kcbo_write_q ()<br />
#3  0x0000000001080a6d in kcbbdrv ()<br />
#4  0x00000000007ddcc2 in ksbabs ()<br />
#5  0x00000000007e4b32 in ksbrdp ()<br />
#6  0x0000000002efcb50 in opirip ()<br />
#7  0x00000000012da326 in opidrv ()<br />
#8  0x0000000001e62456 in sou2o ()<br />
#9  0x00000000006d2555 in opimai_real ()<br />
#10 0x00000000006d240c in main ()<br />
[oracle@ora-vm1 oracle]$ pstack 10712<br />
#0  0x00000000010ccb60 in kcbo_exam_buf ()<br />
#1  0x00000000010d0d62 in kcbo_service_ockpt ()<br />
#2  0x0000000001080cd7 in kcbbdrv ()<br />
#3  0x00000000007ddcc2 in ksbabs ()<br />
#4  0x00000000007e4b32 in ksbrdp ()<br />
#5  0x0000000002efcb50 in opirip ()<br />
#6  0x00000000012da326 in opidrv ()<br />
#7  0x0000000001e62456 in sou2o ()<br />
#8  0x00000000006d2555 in opimai_real ()<br />
#9  0x00000000006d240c in main ()<br />
[oracle@ora-vm1 oracle]$ pstack 10712<br />
#0  0x00000000010d0da5 in kcbo_service_ockpt ()<br />
#1  0x0000000001080cd7 in kcbbdrv ()<br />
#2  0x00000000007ddcc2 in ksbabs ()<br />
#3  0x00000000007e4b32 in ksbrdp ()<br />
#4  0x0000000002efcb50 in opirip ()<br />
#5  0x00000000012da326 in opidrv ()<br />
#6  0x0000000001e62456 in sou2o ()<br />
#7  0x00000000006d2555 in opimai_real ()<br />
#8  0x00000000006d240c in main ()</p></blockquote>
<p>A MetaLink Research for the term &#8220;kcbo_service_ockpt&#8221; leads to Bug 7376934, which is a duplicate of Bug 7385253 &#8211; DBWR IS CONSUMING HIGH CPU. </p>
<p>Patch 7385253 is available for Linux x86_64, HP-UX, Solaris, AIX.<br />
Reference:<br />
MetaLink Note 762085.1 &#8211; Subject: 	&#8216;enq: RO &#8211; fast object reuse&#8217; contention when gathering schema/table statistics in parallel</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ora-solutions.net/web/2009/01/20/session-waiting-for-enq-ro-fast-object-reuse-dbwr-process-spinning-on-cpu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>NUMA enabled in 10.2.0.4</title>
		<link>http://www.ora-solutions.net/web/2008/12/18/numa-enabled-in-10204/</link>
		<comments>http://www.ora-solutions.net/web/2008/12/18/numa-enabled-in-10204/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 11:33:59 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[10g]]></category>
		<category><![CDATA[HP-UX]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Itanium]]></category>
		<category><![CDATA[MetaLink]]></category>
		<category><![CDATA[Oracle Database]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.ora-solutions.net/web/?p=515</guid>
		<description><![CDATA[When upgrading from pre 10.2.0.4 to 10.2.0.4, Oracle enables NUMA support. This has the effect that there can be multiple shared memory segments (MetaLink Note: 429872.1) although shmmax/shmall are set to high values. I have read MetaLink Notes (7171446.8, 6730567.8, 6689903.8) and this blog entry, where a customer had problems on HP-UX with the default [...]]]></description>
			<content:encoded><![CDATA[<p>When upgrading from pre 10.2.0.4 to 10.2.0.4, Oracle enables NUMA support. This has the effect that there can be multiple shared memory segments (MetaLink Note: 429872.1) although shmmax/shmall are set to high values.</p>
<p>I have read MetaLink Notes (7171446.8, 6730567.8, 6689903.8) and this <a href="http://skrajend.blogspot.com/2008/09/numa-after-10204-upgrade-is.html">blog entry</a>, where a customer had problems on HP-UX with the default NUMA settings. </p>
<p>Better than that, it can also lead to instance crashes in 10.2.0.4 as reported in MetaLink Note 743191.1. Good news is that there is a patch available for Linux x86_64/10.2.0.4.</p>
<p>I have asked Oracle Support whether it is safe to leave NUMA enabled for Linux Itanium, but they would not comment on it. Instead they asked me to check with the OS vendor. Great. ;-(</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ora-solutions.net/web/2008/12/18/numa-enabled-in-10204/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

