[Bug 249205] databases/clickhouse: apply patch from #13859: MemoryTracking support

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 9 08:03:02 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249205

            Bug ID: 249205
           Summary: databases/clickhouse: apply patch from #13859:
                    MemoryTracking support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: olevole at olevole.ru

Created attachment 217832
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217832&action=edit
databases/clickhouse: apply patch from #13859: MemoryTracking support

Clickhouse for FreeBSD updating no memory usage stats. In the case build
without NDEBUG, allocator use 4KB chunk, those dont account when freeing and
MemoryTracking metric grow up to ~6TB, after this clickhouse stop query
processing with error "Memory limit (total) exceeded: would use 6.24 TiB" due
skipping calc allocation < 4MB

Patch still not upstreamed, obtained from:

https://github.com/ClickHouse/ClickHouse/issues/13859 +
https://github.com/ClickHouse/ClickHouse/pull/13869

reported and tested by: Vyacheslav (via Clickhouse telegram)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list