Skip to content

Commit

Permalink
update(libsinsp): double thread_table_absolute_max_size
Browse files Browse the repository at this point in the history
Signed-off-by: Melissa Kilby <[email protected]>
  • Loading branch information
incertum authored and poiana committed Jan 15, 2024
1 parent b993f6d commit 35083ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion userspace/libsinsp/threadinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,9 @@ VISIBILITY_PRIVATE
int64_t m_last_tid;
std::weak_ptr<sinsp_threadinfo> 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;
Expand Down

0 comments on commit 35083ad

Please sign in to comment.