wiki:sentry_troubleshooting
Differences
This shows you the differences between two versions of the page.
| wiki:sentry_troubleshooting [2024/08/26 09:21] – created antisa | wiki:sentry_troubleshooting [2024/09/25 13:25] (current) – add Kafka info antisa | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| postgres=# TRUNCATE nodestore_node ; | postgres=# TRUNCATE nodestore_node ; | ||
| + | | ||
| + | ===== Kafka too big ===== | ||
| + | Try adapting the KAFKA_* env variables to this: | ||
| + | |||
| + | KAFKA_LOG_RETENTION_BYTES: | ||
| + | KAFKA_LOG_SEGMENT_BYTES: | ||
| + | KAFKA_LOG_RETENTION_CHECK_INTERVAL_MS: | ||
| + | KAFKA_LOG_SEGMENT_DELETE_DELAY_MS: | ||
| + | |||
| + | Example from docker-compose file: | ||
| + | |||
| + | < | ||
| + | ... | ||
| + | kafka: | ||
| + | <<: *restart_policy | ||
| + | depends_on: | ||
| + | zookeeper: | ||
| + | <<: *depends_on-healthy | ||
| + | image: " | ||
| + | environment: | ||
| + | KAFKA_ZOOKEEPER_CONNECT: | ||
| + | KAFKA_ADVERTISED_LISTENERS: | ||
| + | KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: | ||
| + | KAFKA_OFFSETS_TOPIC_NUM_PARTITIONS: | ||
| + | KAFKA_LOG_RETENTION_HOURS: | ||
| + | KAFKA_LOG_RETENTION_BYTES: | ||
| + | KAFKA_LOG_SEGMENT_BYTES: | ||
| + | KAFKA_LOG_RETENTION_CHECK_INTERVAL_MS: | ||
| + | KAFKA_LOG_SEGMENT_DELETE_DELAY_MS: | ||
| + | KAFKA_MESSAGE_MAX_BYTES: | ||
| + | KAFKA_MAX_REQUEST_SIZE: | ||
| + | CONFLUENT_SUPPORT_METRICS_ENABLE: | ||
| + | KAFKA_LOG4J_LOGGERS: | ||
| + | KAFKA_LOG4J_ROOT_LOGLEVEL: | ||
| + | KAFKA_TOOLS_LOG4J_LOGLEVEL: | ||
| + | ulimits: | ||
| + | nofile: | ||
| + | soft: 4096 | ||
| + | hard: 4096 | ||
| + | volumes: | ||
| + | - " | ||
| + | - " | ||
| + | - " | ||
| + | healthcheck: | ||
| + | <<: *healthcheck_defaults | ||
| + | test: [" | ||
| + | interval: 10s | ||
| + | timeout: 10s | ||
| + | retries: 30 | ||
| + | ... | ||
| + | </ | ||
| ====== Tested on ====== | ====== Tested on ====== | ||
| * sentry_version: | * sentry_version: | ||
| Line 21: | Line 72: | ||
| * [[wiki: | * [[wiki: | ||
| ====== References ====== | ====== References ====== | ||
| + | * https:// | ||
| + | * https:// | ||
wiki/sentry_troubleshooting.1724664083.txt.gz · Last modified: by antisa
