# Percona 5.6.34 numa config question

**URL:** <https://forums.percona.com/t/percona-5-6-34-numa-config-question/5365>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [January 23, 2017, 6:50pm UTC](https://forums.percona.com/t/percona-5-6-34-numa-config-question/5365 "2017-01-23T18:50:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jthorpe77](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@jthorpe77](https://forums.percona.com/u/jthorpe77)\
**Post date:** [January 23, 2017, 6:50pm UTC](https://forums.percona.com/t/percona-5-6-34-numa-config-question/5365/1 "2017-01-23T18:50:45Z")

</div>

We just upgraded from percona 5.6.28 to 5.6.34. When I started mysql up as root, it printed these messages:  
Starting MySQL (Percona XtraDB Cluster)./usr/bin/mysqld\_safe: line 931: test: ON: integer expression expected  
/usr/bin/mysqld\_safe: line 956: test: ON: integer expression expected  
… SUCCESS!

These messages were not printed in the error log.  
Since it looked like it was complaining about my.cnf variables defined as ‘ON’, I tested this by changing  
flush\_caches = ON  
to  
flush\_caches = 1

On the restart, these messages were not printed.

It is not clear what the definitions should be in my.cnf. The 5.5 documentation says use values 0/1, but then 5.6 docs clearly say use ON/OFF.  
But clearly flush\_caches=1 is wanted for 5.6.34.  
I am inclined to set these in my.cnf:  
flush\_caches = 1  
numa\_interleave = 1  
innodb\_buffer\_pool\_populate = 1  
I can confirm that numa\_… and innodb\_… are set correctly, but do not find flush\_caches in show [global] variables?

Does anyone have advice here?

---

<div class="post-metadata">

**Author:** ![Kenn\_Takara](https://avatars.discourse-cdn.com/v4/letter/k/b2d939/32.png) [@Kenn\_Takara](https://forums.percona.com/u/Kenn_Takara)\
**Post date:** [January 24, 2017, 6:59pm UTC](https://forums.percona.com/t/percona-5-6-34-numa-config-question/5365/2 "2017-01-24T18:59:01Z")

</div>

Looking through the code, the flush\_caches option is used by the mysqld\_safe.sh script and not part of the server itself (which is why it doesn’t show up in “show variables”). Also, the script only checks to see if the variable is equal to 1.

I think the docs for 5.6 are incorrect, the correct values are 0 or 1.
