From 35083ad4dee7f34c2f959f39247fff7f3c18ad8e Mon Sep 17 00:00:00 2001 From: Melissa Kilby Date: Sat, 13 Jan 2024 03:33:43 +0000 Subject: [PATCH] update(libsinsp): double thread_table_absolute_max_size Signed-off-by: Melissa Kilby --- userspace/libsinsp/threadinfo.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/userspace/libsinsp/threadinfo.h b/userspace/libsinsp/threadinfo.h index 2b7e855368..6d43d6aa0f 100644 --- a/userspace/libsinsp/threadinfo.h +++ b/userspace/libsinsp/threadinfo.h @@ -889,7 +889,9 @@ VISIBILITY_PRIVATE int64_t m_last_tid; std::weak_ptr m_last_tinfo; uint64_t m_last_flush_time_ns; - const uint32_t m_thread_table_absolute_max_size = 131072; + // Increased legacy default of 131072 in January 2024 to prevent + // possible drops due to full threadtable on more modern servers + const uint32_t m_thread_table_absolute_max_size = 262144; uint32_t m_max_thread_table_size; int32_t m_n_proc_lookups = 0; uint64_t m_n_proc_lookups_duration_ns = 0;