Re: [Info-Ingres] Mutex: DCB iidbdb
- From: "John Dennis" <John.Dennis@xxxxxxxxxx>
- Date: Thu, 28 Aug 2008 06:51:53 -0400
Marty,
What does the logstat show for that session?
John
-----Original Message-----
From: info-ingres-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx on behalf of Martin Bowes
Sent: Thu 28/08/2008 7:48 PM
To: Ingres and related product discussion forum
Cc: John Dennis
Subject: Re: [Info-Ingres] Mutex: DCB iidbdb
Hi John,
Thanks for the quick reply....
Session 00002AAAB9A9ED00:1080768832 (ingres) cs_state:CS_EVENT_WAITFrom the details I captured before restarting the system...
(LOG) cs_mask:
At the time I stopped the server the following was captured by logstat:
logstat -header -statistics
======================Thu Aug 28 07:55:27 2008 Logging System
Summary===========
Database add 4147 Database removes 4073
Transaction begins 789304 Transaction ends 789230
Log read i/o's 15173 Log write i/o's 197624
Log writes 460376 Log forces 31180
Log optimized writes 285 Log optimized pages 2607
Log waits 20055 Log splits 8883
Log group commit 877 Log group count 877
Check commit timer 0 Timer write 0
Timer write, time 0 Timer write, idle 0
Inconsistent db 0 Kbytes written 57851
ii_log_file read 8 ii_dual_log read 15165
write complete 97709 dual write complete 97593
All logwriters busy 1135 Max write queue len 60
Max write queue cnt 1
Log Waits By Type:
Force 583 Free Buffer 0
Split Buffer 0 Log Header I/O 0
Ckpdb Stall 0 Opendb 5943
BCP Stall 1 Logfull Stall 0
Lastbuf 154 Forced I/O 140
Event 13234 Mini Transaction 0
Logfull Commit 0
----Buffer utilization
profile--------------------------------------------------
<10% ***********************
10-19% ******************
20-29% *
30-39% ***********
40-49% *
50-59% *
60-69% ***
70-79% *
80-89% *
>90% *******
----Current log file
header-----------------------------------------------------
Block size: 4096 Block count: 512000 Partitions: 1 Buffer
count: 20
00
CP interval: 10240 Logfull interval: 460800 Abort interval:
368640
Last Transaction Id: 000048AE4955E972 Last LSN:
<48AE9A03,000C2FEB>
Begin: <1219402243:162765:1260> CP: <1219402243:162765:1260>
End: <121
9402243:166765:1160>
Forced LGA,LSN: <1219402243,166762,608>,<48AE9A03,000C2FE1>
Percentage of log file in use or reserved: 0
Log file blocks reserved by recovery system: 16
Archive Window: <0,0,0>..<0,0,0>
Previous CP: <0,0,0>
Status:
ONLINE,CPNEEDED,RECOVER,CLOSE_DB,BCPSTALL,JSWITCHDONE
Active Log(s): II_LOG_FILE,II_DUAL_LOG
Marty
-----Original Message-----
From: info-ingres-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx
[mailto:info-ingres-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx] On Behalf Of John
Dennis
Sent: 28 August 2008 10:16
To: info-ingres@xxxxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Info-Ingres] Mutex: DCB iidbdb
Marty,
The tid in this case is the thread id, and can be used in iimonitor to
find the session which is holding the mutex. It's likely that the
session holding the DCB Mutex might be blocked by something else, and
once you find the session you can check that status of that session.
John
On Aug 28, 7:09 pm, "Martin Bowes" <martin.bo...@xxxxxxxxxxxxx> wrote:
Hi everyone,
I'm running II 9.1.1 (a64.lnx/103)NPTL + patch13001 on Red Hat
Enterprise Linux Server release 5 (Tikanga).
About once a week my servers freeze up and new connections stall in
Mutex: DCB iidbdb
This sucks big time.
I've checked on the Ingres Tech support site and there are three old
bugs listed against the Mutex but none of them seem relevant in this
case.
Can anyone shed some light on the details shown by show mutex?
I get...
show mutex 00002AAAB9806810
Mutex at 00002AAAB9806810: Name: DCB iidbdb, EXCL owner: (tid:
1080768832, pid: 8227)
Shared: 0 Collisions: 0 Hwm: 0
Excl: 15 Collisions: 13
The pid=8227 was the DBMS server pid.
Does the tid tell me anything?
Martin Bowes
_______________________________________________
Info-Ingres mailing list
Info-Ingres@xxxxxxxxxxxxxxxxxxxxxxxxx
http://www.kettleriverconsulting.com/mailman/listinfo/info-ingres
_______________________________________________
Info-Ingres mailing list
Info-Ingres@xxxxxxxxxxxxxxxxxxxxxxxxx
http://www.kettleriverconsulting.com/mailman/listinfo/info-ingres
<<winmail.dat>>
- References:
- [Info-Ingres] Mutex: DCB iidbdb
- From: Martin Bowes
- Re: Mutex: DCB iidbdb
- From: John Dennis
- [Info-Ingres] Mutex: DCB iidbdb
- Prev by Date: Re: Mutex: DCB iidbdb
- Next by Date: Re: [Info-Ingres] Mutex: DCB iidbdb
- Previous by thread: Re: Mutex: DCB iidbdb
- Next by thread: Re: [Info-Ingres] Mutex: DCB iidbdb
- Index(es):
Relevant Pages
|