Do you have any performance requirements for collector?
I set connection limits to 8192
when i set lower than 30 pods i have problems collector don’t not answer for liveness probes
env:
- name: JAVA_OPTS
value: >
-Xms512m -Xmx1372m
-XX:+UseG1GC
-XX:MaxGCPauseMillis=50
-XX:ParallelGCThreads=4 -XX:ConcGCThreads=4
-XX:+UseNUMA -XX:+UseCompressedOops
ports:
- containerPort: {{ .Values.collector.port }}
resources:
requests:
cpu: "200m"
memory: "1300M"
limits:
cpu: "2"
memory: "2572M"
livenessProbe:
httpGet:
path: /health
port: {{ .Values.collector.port }}
failureThreshold: 5
timeoutSeconds: 15
periodSeconds: 30
readinessProbe:
httpGet:
path: /health
port: {{ .Values.collector.port }}
failureThreshold: 10
initialDelaySeconds: 10
periodSeconds: 5
akka {
loglevel = DEBUG
loggers = ["akka.event.slf4j.Slf4jLogger"]
logging-filter = "akka.event.slf4j.Slf4jLoggingFilter"
event-handlers = ["akka.event.slf4j.Slf4jEventHandler"]
actor{
debug {
receive = on
autoreceive = on
lifecycle = on
fsm = on
event-stream = on
unhandled = on
router-misconfiguration = on
}
}
// https://doc.akka.io/docs/akka-http/current/configuration.html
http.server {
remote-address-header = on
raw-request-uri-header = on
# The time after which an idle connection will be automatically closed.
# Set to `infinite` to completely disable idle connection timeouts.
idle-timeout = 60 s
request-timeout = 20 s
# The time period within which the TCP binding process must be completed.
bind-timeout = 1s
linger-timeout = 1 min
parsing {
max-uri-length = 32768
uri-parsing-mode = relaxed
illegal-header-warnings = off
}
max-connections = 8048
pipelining-limit = 512
}
http.caching {
# Default configuration values for LfuCache
lfu-cache {
# Maximum number of entries the cache may store.
# After the maximum capacity is reached the cache evicts entries that are
# less likely to be used again. For example, the cache may evict an entry
# because it hasn't been used recently or very often.
max-capacity = 2048
# Minimum total size for the internal data structures.
initial-capacity = 512
# Upper limit to the time period an entry is allowed to remain in the cache.
# Set to 'infinite' to disable eviction based on time of write (create or update).
time-to-live = 10m
# Maximum time period an entry is allowed to remain in the cache after last access.
# Access time is reset by all cache read and write operations.
# Set to 'infinite' to disable time-based expiration.
time-to-idle = 10m
}
}
coordinated-shutdown {
run-by-jvm-shutdown-hook = off
}
}
Maybe have i bad conf ?