-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] max-old-space-size #52310
[docs] max-old-space-size #52310
Conversation
Pinging @elastic/kibana-docs (Team:Docs) |
Pinging @elastic/kibana-operations (Team:Operations) |
💔 Build Failed |
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
💔 Build Failed |
💔 Build Failed |
@elasticmachine merge upstream |
(added |
docs/setup/production.asciidoc
Outdated
[[memory]] | ||
=== Memory | ||
Kibana has a default memory limit of 1.4 GB, and in most cases, we recommend leaving this unconfigured. In some scenarios, such as running on containers with limited |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While the max old space is generally 1.4GB, it is based on system information, like memory available. @mistic did a deep dive into this a while back and can comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah right, good catch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tylersmalley exactly. Nodejs calculates the default allocated heap according multiple variables, processor architecture, total available physical memory etc (the logic can be found here https://github.com/v8/v8/blob/master/src/heap/heap.cc#L227)
So in order to be able to specify what is our minimum required memory we need to proceed what we have been discussing of distribute kibana with an override NODE_OPTIONS for heap. So, at least for now, we should not specify that information on the docs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a clarifier, `default maximum memory limit. it's not very specific but I'm hoping it's good enough
Also worth mentioning that in addition to the docs being built by CI, they also make a preview available which helps with reviewing http://kibana_52310.docs-preview.app.elstc.co/guide/en/kibana/master/production.html#memory |
Co-Authored-By: Tyler Smalley <tylersmalley@me.com>
docs/setup/production.asciidoc
Outdated
=== Memory | ||
Kibana has a default maximum memory limit of 1.4 GB, and in most cases, we recommend leaving this unconfigured. In some scenarios, such large reporting jobs | ||
, it may make sense to tweak limits to meet more specific requirements. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you could move the comment to the previous line it will remove the space before the comma.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small change, then LGTM
* [docs] max-old-space-size * Update docs/setup/production.asciidoc Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com> * Update docs/setup/production.asciidoc Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com> * _max_ * Update docs/setup/production.asciidoc Co-Authored-By: Tyler Smalley <tylersmalley@me.com> * max example * move comma * Update production.asciidoc
* [docs] max-old-space-size * Update docs/setup/production.asciidoc Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com> * Update docs/setup/production.asciidoc Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com> * _max_ * Update docs/setup/production.asciidoc Co-Authored-By: Tyler Smalley <tylersmalley@me.com> * max example * move comma * Update production.asciidoc
* [docs] max-old-space-size * Update docs/setup/production.asciidoc Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com> * Update docs/setup/production.asciidoc Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com> * _max_ * Update docs/setup/production.asciidoc Co-Authored-By: Tyler Smalley <tylersmalley@me.com> * max example * move comma * Update production.asciidoc
* [docs] max-old-space-size * Update docs/setup/production.asciidoc Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com> * Update docs/setup/production.asciidoc Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com> * _max_ * Update docs/setup/production.asciidoc Co-Authored-By: Tyler Smalley <tylersmalley@me.com> * max example * move comma * Update production.asciidoc
* [docs] max-old-space-size * Update docs/setup/production.asciidoc Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com> * Update docs/setup/production.asciidoc Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com> * _max_ * Update docs/setup/production.asciidoc Co-Authored-By: Tyler Smalley <tylersmalley@me.com> * max example * move comma * Update production.asciidoc
* [docs] max-old-space-size * Update docs/setup/production.asciidoc Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com> * Update docs/setup/production.asciidoc Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com> * _max_ * Update docs/setup/production.asciidoc Co-Authored-By: Tyler Smalley <tylersmalley@me.com> * max example * move comma * Update production.asciidoc
* [docs] max-old-space-size * Update docs/setup/production.asciidoc Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com> * Update docs/setup/production.asciidoc Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com> * _max_ * Update docs/setup/production.asciidoc Co-Authored-By: Tyler Smalley <tylersmalley@me.com> * max example * move comma * Update production.asciidoc
…aved-objects * upstream/master: (134 commits) [Dashboard] Add visualization from dasbhoard empty screen (elastic#52670) Print out agent debugging links during CI (elastic#52812) Add babel-plugin-styled-components to webpack config (elastic#52862) [Console] Fix load from remote (elastic#52814) Ensure APM agent config file path respects CWD (elastic#52880) [Watcher] Removed overwritten property (elastic#49998) [Data Plugin]: Remove `export *` for common code from public/server index files (elastic#52821) Hide stderr git output during APM agent configuration (elastic#52878) Polish migration.md (elastic#52764) Change ajax_stream to use new-line delimited JSON (elastic#52797) Stabilize dashboard save modal functional test (elastic#52761) [Discover] Place tooltip at bottom of filter button (elastic#52720) Disable/enable filter with click+shift on a filter badge (elastic#52751) [APM] Make client-side routes static (elastic#52574) [Maps] Get basic structure of NP client shim in place (elastic#52551) update chromedriver to 79 (elastic#52784) [DOCS] Adds example of assigning roles in Reporting (elastic#52757) Add instructions for setting up remote clusters needed for CCS and CCR (elastic#52796) [docs] max-old-space-size (elastic#52310) [Monitoring] Fix 7.5 cloud test issues (elastic#51781) ...
Adds a memory configuration section to production docs.
Closes #9006
[skip ci]