FW: waiting for log buffer??
Posted in 2003
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C352AD.BBC0CB20
Content-Type: text/plain;
charset="iso-8859-1"
You can try extending the size of LOGBUFF to say 64 KB ofcourse not
exceeding your LOGSIZE.
Also, it could be due to PHYSBUFF as well. Do you see physical log forcing
checkpoint in your system ? Do y have checkpoints running apart from the
CKPTINVL ?
In that case,try increasing PHYSBUFF to 1024/2048 again not exceeding
PHYSIZE.
Please let me know the results in case if you decide to try the above
things.
Rajesh Rajasekaran
Informix Database Administrator
Forest Pharmaceuticals Inc.
(314) 493-7073
rrajasekaran@forestpharm.com
-----Original Message-----
From: james [mailto:hohoho@erewhon.com]
Sent: Thursday, July 24, 2003 9:30 PM
To: informix-list@iiug.org
Subject: waiting for log buffer??
I don't understand what is happening (not unusual) in a particular
informix instance.
ids 7.30.UC7, hpux 10.20
a data loading script is building an index on a temporary table; there
are two temp dbspaces, the temp table was created 'with nolog', and
the build is using multiple threads.
at some point, other sessions, doing inserts and updates to unrelated
tables, get a 'G' in the onstat -u first flag position; at this time,
the index build session seems to be stuck in a critical section - it
shows a 'X' in flag four for a period of time (minutes, not seconds)
and the server is *not* in a ckp wait state
The sessions stuck on 'G', waiting for a log buffer, do nothing until
the index build completes, then continue merrily.
The log buffers are 32k default. The instance is logging to /dev/nul.
There are 8 log files of 500 MB each.
KAIO is being used, 4 cpuvps
If anyone could enlighten me as to what is happening, I would
appreciate it. A cure would be warmly received as well.
tia
James
------_=_NextPart_001_01C352AD.BBC0CB20
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>FW: waiting for log buffer??</TITLE>
</HEAD>
<BODY>
<BR>
<P><FONT SIZE=3D2>You can try extending the size of LOGBUFF to say 64 =
KB ofcourse not exceeding your LOGSIZE.</FONT>
</P>
<P><FONT SIZE=3D2>Also, it could be due to PHYSBUFF as well. Do you see =
physical log forcing checkpoint in your system ? Do y have checkpoints =
running apart from the CKPTINVL ?</FONT></P>
<P><FONT SIZE=3D2>In that case,try increasing PHYSBUFF to 1024/2048 =
again not exceeding PHYSIZE.</FONT>
</P>
<P><FONT SIZE=3D2>Please let me know the results in case if you decide =
to try the above things.</FONT>
</P>
<P><FONT SIZE=3D2>Rajesh Rajasekaran</FONT>
<BR><FONT SIZE=3D2>Informix Database Administrator</FONT>
<BR><FONT SIZE=3D2>Forest Pharmaceuticals Inc.</FONT>
<BR><FONT SIZE=3D2>(314) 493-7073</FONT>
<BR><FONT SIZE=3D2>rrajasekaran@forestpharm.com</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: james [<A =
HREF=3D"mailto:hohoho@erewhon.com">mailto:hohoho@erewhon.com</A>]</FONT>=
<BR><FONT SIZE=3D2>Sent: Thursday, July 24, 2003 9:30 PM</FONT>
<BR><FONT SIZE=3D2>To: informix-list@iiug.org</FONT>
<BR><FONT SIZE=3D2>Subject: waiting for log buffer??</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>I don't understand what is happening (not unusual) in =
a particular</FONT>
<BR><FONT SIZE=3D2>informix instance.</FONT>
</P>
<P><FONT SIZE=3D2>ids 7.30.UC7, hpux 10.20</FONT>
</P>
<P><FONT SIZE=3D2>a data loading script is building an index on a =
temporary table; there</FONT>
<BR><FONT SIZE=3D2>are two temp dbspaces, the temp table was created =
'with nolog', and</FONT>
<BR><FONT SIZE=3D2>the build is using multiple threads.</FONT>
</P>
<P><FONT SIZE=3D2>at some point, other sessions, doing inserts and =
updates to unrelated</FONT>
<BR><FONT SIZE=3D2>tables, get a 'G' in the onstat -u first flag =
position; at this time,</FONT>
<BR><FONT SIZE=3D2>the index build session seems to be stuck in a =
critical section - it</FONT>
<BR><FONT SIZE=3D2>shows a 'X' in flag four for a period of time =
(minutes, not seconds)</FONT>
<BR><FONT SIZE=3D2>and the server is *not* in a ckp wait state</FONT>
</P>
<P><FONT SIZE=3D2>The sessions stuck on 'G', waiting for a log buffer, =
do nothing until</FONT>
<BR><FONT SIZE=3D2>the index build completes, then continue =
merrily.</FONT>
</P>
<P><FONT SIZE=3D2>The log buffers are 32k default. The instance is =
logging to /dev/nul.</FONT>
<BR><FONT SIZE=3D2>There are 8 log files of 500 MB each.</FONT>
</P>
<P><FONT SIZE=3D2>KAIO is being used, 4 cpuvps</FONT>
</P>
<P><FONT SIZE=3D2>If anyone could enlighten me as to what is happening, =
I would</FONT>
<BR><FONT SIZE=3D2>appreciate it. A cure would be warmly received as =
well.</FONT>
</P>
<P><FONT SIZE=3D2>tia</FONT>
</P>
<P><FONT SIZE=3D2>James</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C352AD.BBC0CB20--
sending to informix-list