# InnoDB: page\_cleaner: 1000ms intended loop took 23911ms.

**URL:** https://forums.percona.com/t/innodb-page-cleaner-1000ms-intended-loop-took-23911ms/5889
**Category:** Other MySQL® Questions
**Created:** [September 27, 2017, 9:20am UTC](https://forums.percona.com/t/innodb-page-cleaner-1000ms-intended-loop-took-23911ms/5889 "2017-09-27T09:20:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jac](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@jac](https://forums.percona.com/u/jac)
#### Post date: [September 27, 2017, 9:20am UTC](https://forums.percona.com/t/innodb-page-cleaner-1000ms-intended-loop-took-23911ms/5889/1 "2017-09-27T09:20:54Z")

</div>

Seeing this message “InnoDB: page\_cleaner: 1000ms intended loop took 23911ms. The settings might not be optimal. (flushed=200 and evicted=0, during the time.)” in the MySQL logs several times (v5.7.18).  
Using SSD.  
RAM: 64GB

Tried changing the following configuration in my.cnf but did not resolve this issue:  
innodb\_buffer\_pool\_size=50GB  
innodb\_lru\_scan\_depth = 512  
innodb\_write\_io\_threads=16  
innodb\_flush\_neighbor=0  
innodb\_log\_file\_size=100GB  
innodb\_log\_files\_in\_group=2  
innodb\_change\_buffer\_max\_size=50  
innodb\_log\_buffer\_size=4GB  
innodb\_max\_dirty\_pages\_pct\_lwm=30  
innodb\_thread\_concurrency=0  
innodb\_write\_io\_threads=64  
innodb\_concurrency\_tickets=500  
innodb\_thread\_concurrency=16  
innodb\_io\_capacity=1000  
innodb\_io\_capacity\_max=2000

Please provide some pointers on how to resolve this issue. Thanks in advance.

---

<div class="post-metadata">

### Author: ![lorraine.pocklington](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/lorraine.pocklington/32/37_2.png) [@lorraine.pocklington](https://forums.percona.com/u/lorraine.pocklington)
#### Post date: [October 4, 2017, 10:13am UTC](https://forums.percona.com/t/innodb-page-cleaner-1000ms-intended-loop-took-23911ms/5889/2 "2017-10-04T10:13:23Z")

</div>

Hi - did you see this page in the documentation? In case it might give you the pointer you need:

[url][XtraDB Performance Improvements for I/O-Bound Highly-Concurrent Workloads — Percona Server 5.7 Documentation](https://www.percona.com/doc/percona-server/5.7/performance/xtradb_performance_improvements_for_io-bound_highly-concurrent_workloads.html#%5B/url%5D)

At the bottom of the page there’s also a link to a page on page cleaner thread tuning - althought it’s a 5.6 document maybe it would be useful?

---

<div class="post-metadata">

### Author: ![keith](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@keith](https://forums.percona.com/u/keith)
#### Post date: [March 7, 2018, 12:49am UTC](https://forums.percona.com/t/innodb-page-cleaner-1000ms-intended-loop-took-23911ms/5889/3 "2018-03-07T00:49:00Z")

</div>

Hi

Have you solved this problem? I also encountered the same problem.  
Can you give me some advice?

Thanks.

---

<div class="post-metadata">

### Author: ![lorraine.pocklington](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/lorraine.pocklington/32/37_2.png) [@lorraine.pocklington](https://forums.percona.com/u/lorraine.pocklington)
#### Post date: [March 7, 2018, 6:40am UTC](https://forums.percona.com/t/innodb-page-cleaner-1000ms-intended-loop-took-23911ms/5889/4 "2018-03-07T06:40:42Z")

</div>

Are you getting exactly the same messages as the original poster, keith?  
If not, please do open up a new thread and we can take it from there. Thanks!
