Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
Impala 2.3.0
Description
After running a large join, the impalad process might have allocated tens of GB of memory. When the query finishes, all of this memory is deallocated, and the background MaintenanceThread sees that the heap size is much larger than the actual in-use memory, and calls MallocExtension::instance()->ReleaseFreeMemory(). Inside tcmalloc, this holds a global heap lock while unmapping all of the requested memory.
In one case on my cluster, releasing ~100G of memory caused the tcmalloc page lock to be held for more than 15 seconds. This caused another query to fail with Kudu scan timeouts. Outside the context of Kudu, it's likely still problematic for latency-sensitive SLAs.
Attachments
Issue Links
- depends upon
-
IMPALA-5073 Considering bypassing TCMalloc by default for buffer pool
- Open
- is blocked by
-
IMPALA-3200 Replace BufferedBlockMgr with new buffer pool
- Resolved
- is related to
-
IMPALA-3162 Upgrade gperfutils
- Resolved