mirror of
https://github.com/MariaDB/server.git
synced 2025-07-14 13:41:20 +03:00
MDEV-17845 Extreme high open file limit used
SHOW STATUS LIKE 'Open_files' was showing 18446744073709551615 my_file_opened used statistic_increment/statistic_decrement, so one-off errors were normal and expected. But they confused monitoring tools, so let's move my_file_opened to use atomics.
This commit is contained in:
@ -596,13 +596,13 @@ update: %10lu\n",
|
||||
tmp.ha_update_count);
|
||||
printf("\nTable status:\n\
|
||||
Opened tables: %10lu\n\
|
||||
Open tables: %10lu\n\
|
||||
Open files: %10lu\n\
|
||||
Open tables: %10u\n\
|
||||
Open files: %10u\n\
|
||||
Open streams: %10lu\n",
|
||||
tmp.opened_tables,
|
||||
(ulong) tc_records(),
|
||||
(ulong) my_file_opened,
|
||||
(ulong) my_stream_opened);
|
||||
tc_records(),
|
||||
my_file_opened,
|
||||
my_stream_opened);
|
||||
|
||||
#ifndef DONT_USE_THR_ALARM
|
||||
ALARM_INFO alarm_info;
|
||||
|
Reference in New Issue
Block a user