# TRANSACTION  ACTIVE 55 sec starting index read

**URL:** <https://forums.percona.com/t/transaction-active-55-sec-starting-index-read/1868>\
**Category:** Other MySQL® Questions\
**Created:** [August 21, 2012, 6:21pm UTC](https://forums.percona.com/t/transaction-active-55-sec-starting-index-read/1868 "2012-08-21T18:21:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![engtmk](https://avatars.discourse-cdn.com/v4/letter/e/a88e4f/32.png) [@engtmk](https://forums.percona.com/u/engtmk)\
**Post date:** [August 21, 2012, 6:21pm UTC](https://forums.percona.com/t/transaction-active-55-sec-starting-index-read/1868/1 "2012-08-21T18:21:10Z")

</div>

we have 12GB 8core percona 5.5.25a server.

at random interval it start to pile up the queries and freeze.

all our db tables are using innodb.

when i do innodb status it showed

TRANSACTION 1A932BE, ACTIVE 55 sec starting index read

the full innodb during this freeze is attached.

what can cause such sudden freeze.

thread waited on buf0buf at those lines:

for (i = 0; i \< srv\_buf\_pool\_instances; i++) { buf\_pool\_t\* buf\_pool; buf\_pool = buf\_pool\_from\_array(i); buf\_flush\_list\_mutex\_enter(buf\_pool); bpage = UT\_LIST\_GET\_LAST(buf\_pool-\>flush\_list); if (bpage != NULL) { ut\_ad(bpage-\>in\_flush\_list); lsn = bpage-\>oldest\_modification; } buf\_flush\_list\_mutex\_exit(buf\_pool);

---

<div class="post-metadata">

**Author:** ![engtmk](https://avatars.discourse-cdn.com/v4/letter/e/a88e4f/32.png) [@engtmk](https://forums.percona.com/u/engtmk)\
**Post date:** [August 22, 2012, 4:48am UTC](https://forums.percona.com/t/transaction-active-55-sec-starting-index-read/1868/2 "2012-08-22T04:48:54Z")

</div>

I’m seeing more buf0buf

I have increased innodb\_buffer\_pool\_instances from 1 to 3 will this help solve this issue.

–Thread 140197389825792 has waited at buf0buf.ic line 1256 for 0.0000 seconds the semaphore:  
Mutex at 0x7f83655fc678 ‘&block-\>mutex’, lock var 0  
waiters flag 0  
–Thread 140197392221952 has waited at buf0buf.ic line 1256 for 0.0000 seconds the semaphore:  
Mutex at 0x7f83655fc678 ‘&block-\>mutex’, lock var 0  
waiters flag 0  
–Thread 140197391156992 has waited at buf0buf.ic line 372 for 0.0000 seconds the semaphore:  
Mutex at 0x7f83655fc678 ‘&block-\>mutex’, lock var 0  
waiters flag 0  
–Thread 140201749812992 has waited at buf0buf.ic line 372 for 0.0000 seconds the semaphore:  
Mutex at 0x7f83655fc678 ‘&block-\>mutex’, lock var 0  
waiters flag 0  
–Thread 140211026294528 has waited at buf0buf.ic line 372 for 0.0000 seconds the semaphore:  
Mutex at 0x7f83655fc678 ‘&block-\>mutex’, lock var 0  
waiters flag 0  
Mutex spin waits 920731983, rounds 3303841208, OS waits 1310995  
RW-shared spins 4074733, rounds 23954032, OS waits 379441  
RW-excl spins 876568, rounds 10258878, OS waits 77146  
Spin rounds per wait: 3.59 mutex, 5.88 RW-shared, 11.70 RW-excl
