mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-09 21:17:54 -05:00
removes verbose memory tracking, and adds jdk to include jcmd and tools (#3861)
* removes verbose memory tracking, and adds jdk to include jcmd and tools * revert logging to debug, can be adjusted at runtime Signed-off-by: Justin Florentine <justin+github@florentine.us>
This commit is contained in:
committed by
GitHub
parent
9609d679c7
commit
950673c798
@@ -3,7 +3,7 @@ FROM ubuntu:20.04
|
||||
|
||||
ARG VERSION="dev"
|
||||
RUN apt-get update && \
|
||||
apt-get install --no-install-recommends -q --assume-yes curl=7* wget=1.20* jq=1.6* net-tools=1.60* openjdk-11-jre-headless=11* && \
|
||||
apt-get install --no-install-recommends -q --assume-yes curl=7* wget=1.20* jq=1.6* net-tools=1.60* openjdk-11-jdk-headless=11* && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
adduser --disabled-password --gecos "" --home /opt/besu besu && \
|
||||
@@ -36,11 +36,10 @@ ENV BESU_PID_PATH "/tmp/pid"
|
||||
ENV BESU_HOST_ALLOWLIST "*"
|
||||
|
||||
#debug options for maximum observability
|
||||
ENV BESU_LOGGING "DEBUG"
|
||||
ENV BESU_LOGGING "INFO"
|
||||
ENV BESU_RPC_HTTP_API "ETH,NET,TRACE,DEBUG,ADMIN,TXPOOL"
|
||||
ENV JDWP_OPTS "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
|
||||
ENV NATIVE_MEMORY_OPTS "-XX:NativeMemoryTracking=detail -XX:+UnlockDiagnosticVMOptions -XX:+PrintNMTStatistics"
|
||||
ENV JAVA_OPTS "${JDWP_OPTS} ${NATIVE_MEMORY_OPTS} "
|
||||
ENV JAVA_OPTS "${JDWP_OPTS} "
|
||||
|
||||
ENV OTEL_RESOURCE_ATTRIBUTES="service.name=besu,service.version=$VERSION"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user