You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/03/17 18:08:26 UTC

[GitHub] [druid] nvolungis opened a new pull request #9529: Update docker.md readme to note memory requirements

nvolungis opened a new pull request #9529: Update docker.md readme to note memory requirements
URL: https://github.com/apache/druid/pull/9529
 
 
   ### Description
   
   When attempting to get druid running inside Docker Desktop via the docker-compose file (both built from source and referencing the 0.17.0 published image), I experienced repeated crashing of the `broker` process with a 137 error code. 137 indicates an OOM error, so I notched up Docker's memory resource in 1gb increments (I believe the default is 2gb), landing on 6gb as a setting that works reliably. 
   
   As a newcomer with little knowledge of druid, it was quite difficult to identify exactly what the issue was initially. A note like this would have helped point me in the right direction. 
   
   <hr>
   
   This PR has:
   - [x] added documentation for new or modified features or behaviors.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] suneet-s commented on a change in pull request #9529: Update docker.md readme to note memory requirements

Posted by GitBox <gi...@apache.org>.
suneet-s commented on a change in pull request #9529: Update docker.md readme to note memory requirements
URL: https://github.com/apache/druid/pull/9529#discussion_r393991295
 
 

 ##########
 File path: docs/tutorials/docker.md
 ##########
 @@ -78,3 +78,6 @@ The [Druid router process](../design/router.md), which serves the [Druid console
 It takes a few seconds for all the Druid processes to fully start up. If you open the console immediately after starting the services, you may see some errors that you can safely ignore.
 
 From here you can follow along with the [standard tutorials](./index.md#loading-data), or elaborate on your `docker-compose.yml` to add any additional external service dependencies as necessary.
+
+## Docker Memory Requirements
+If you experience any processes crashing with a 137 error code you likely don't have enough memory allocated to Docker. 6gb may be a good place to start. 
 
 Review comment:
   This should fix the failing spellcheck test
   
   ```suggestion
   If you experience any processes crashing with a 137 error code you likely don't have enough memory allocated to Docker. 6 GB may be a good place to start. 
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] clintropolis merged pull request #9529: Update docker.md readme to note memory requirements

Posted by GitBox <gi...@apache.org>.
clintropolis merged pull request #9529: Update docker.md readme to note memory requirements
URL: https://github.com/apache/druid/pull/9529
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] nvolungis commented on issue #9529: Update docker.md readme to note memory requirements

Posted by GitBox <gi...@apache.org>.
nvolungis commented on issue #9529: Update docker.md readme to note memory requirements
URL: https://github.com/apache/druid/pull/9529#issuecomment-600278168
 
 
   @suneet-s I was able to run just the broker consistently with 4gb. The whole cluster also runs with 4, but crashed occasionally. 6 seems to be the floor for consistency, at least on my machine. Perhaps noting a range of 4-6 would be more appropriate so people don't overshoot if unnecessary. 
   
   I'm running the cluster described in the `docker-compose` file unmodified which includes `postgres`, `zookeeper`, `coordinator`, `broker`, `historical` `router`, and `middlemanager`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org