This is an automated email from the ASF dual-hosted git repository.

abhishekrb19 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new a4d221e21ca fix: Raise `start-druid` middleManager memory to 256m 
(#19582)
a4d221e21ca is described below

commit a4d221e21cadda23b209e3d0247e9c8fe70c5c17
Author: Andreas Maechler <[email protected]>
AuthorDate: Mon Jun 15 16:10:20 2026 -0600

    fix: Raise `start-druid` middleManager memory to 256m (#19582)
    
    * Raise start-druid middleManager memory floor to 256m
    
    The auto memory split in start-druid gives the middleManager the lowest
    weight, so on a moderately sized machine it can be awarded a very small
    heap: at `-m 16g` it gets only ~68m. The middleManager does not just fork
    peons, it also runs an embedded HTTP server that proxies task reports and
    logs back to callers (for example the web console polling a running query).
    Under that proxying load a ~68m heap is exhausted, the middleManager exits
    with an OutOfMemoryError, and the task it owns is reported as having
    "disappeared on the worker".
    
    Raise the middleManager minimum from 64m to 256m. 256m matches the heap
    already shipped for the medium/large/xlarge single-server example configs.
    The floor only affects deployments small enough that the proportional split
    would fall below it (roughly under 60g total); larger deployments are
    unchanged.
    
    * Drop the explanatory comment on the middleManager floor
---
 examples/bin/start-druid-main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/bin/start-druid-main.py b/examples/bin/start-druid-main.py
index cceb6ff60d9..f040f21c2f7 100644
--- a/examples/bin/start-druid-main.py
+++ b/examples/bin/start-druid-main.py
@@ -75,7 +75,7 @@ SERVICE_MEMORY_RATIO = {
 }
 
 MINIMUM_MEMORY_MB = {
-    MIDDLE_MANAGER: 64,
+    MIDDLE_MANAGER: 256,
     ROUTER: 256,
     TASKS: 1024,
     BROKER: 900,


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to