[MDEV-18866] Chewing Through Swap Created: 2019-03-09 Updated: 2022-07-08 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.2.14 |
| Fix Version/s: | 10.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Michael Caplan | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux |
||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Description |
| Comments |
| Comment by Robert Bindar [ 2019-03-13 ] | |||
|
Hi michaelcaplan! Is the numa_maps summary taken before or after the innodb_numa_interleave option was set? Thanks, | |||
| Comment by Michael Caplan [ 2019-03-13 ] | |||
|
Hi Robert, That would be after. | |||
| Comment by Robert Bindar [ 2019-03-13 ] | |||
|
Excellent! And just to be sure, the summary is taken after you enabled full text search on the tables? Can you try running the server using numactl and get a numa_maps dump after that? ( numactrl --interleave all mysqld) | |||
| Comment by Sergey Vojtovich [ 2019-03-13 ] | |||
|
Note that it is supported by mysqld_safe --numa-interleave if you're using it. There should be an example in the MariaDB systemd service file as well. | |||
| Comment by Michael Caplan [ 2019-03-13 ] | |||
|
Thanks folks. Yes, the summary was taken after enabling fulltext search. To be sure, looking at this knowledge base article, the recommendation is then in a drop-in .conf file, add redefine ExecStart as follows:
| |||
| Comment by Robert Bindar [ 2019-03-14 ] | |||
|
Either that or what Sergey and I proposed above should do, make sure you get a numa maps dump and post it here, thanks a lot Michael. | |||
| Comment by Robert Bindar [ 2019-03-25 ] | |||
|
Hi michaelcaplan! Any news on this? Did any of the above tricks solve your issue? | |||
| Comment by Sergey Vojtovich [ 2019-04-30 ] | |||
|
Closing as no feedback provided since over a month. Feel free to reopen if the problem is still reproducible. | |||
| Comment by Michael Caplan [ 2019-04-30 ] | |||
|
Sorry for not providing updates on this in some time. Just over a month ago, we dumped all our FTS index. This radically stabilised our swap issue. This said, we are not in the clear. I have two identical servers (one master, one slave). Slave is running with numactl, master is not. Slave running with numactl was behaving quite well up till around a week ago. Not sure what triggered the daily dipping into swap: Master running without numactl has been steadily running threw swap. Both do have `innodb_numa_interleave=1 ` set. |