mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Revert "Enable heap snapshots for all our distributables (#181363)"
This reverts commit 26b8c71730
.
This commit is contained in:
parent
815718aa54
commit
f52db83d33
2 changed files with 3 additions and 4 deletions
|
@ -13,7 +13,3 @@
|
|||
|
||||
## enable OpenSSL 3 legacy provider
|
||||
--openssl-legacy-provider
|
||||
|
||||
# Enable capturing heap snapshots. See https://nodejs.org/api/cli.html#--heapsnapshot-signalsignal
|
||||
--heapsnapshot-signal=SIGUSR2
|
||||
--diagnostic-dir=./data
|
|
@ -157,6 +157,9 @@ COPY --chown=1000:0 config/serverless.yml /usr/share/kibana/config/serverless.ym
|
|||
COPY --chown=1000:0 config/serverless.es.yml /usr/share/kibana/config/serverless.es.yml
|
||||
COPY --chown=1000:0 config/serverless.oblt.yml /usr/share/kibana/config/serverless.oblt.yml
|
||||
COPY --chown=1000:0 config/serverless.security.yml /usr/share/kibana/config/serverless.security.yml
|
||||
# Supportability enhancement: enable capturing heap snapshots. See https://nodejs.org/api/cli.html#--heapsnapshot-signalsignal
|
||||
RUN /usr/bin/echo -e '\n--heapsnapshot-signal=SIGUSR2' >> config/node.options
|
||||
RUN /usr/bin/echo '--diagnostic-dir=./data' >> config/node.options
|
||||
ENV PROFILER_SIGNAL=SIGUSR1
|
||||
{{/serverless}}
|
||||
{{^opensslLegacyProvider}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue