Skip to content
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

global telemetry: hang during shutdown with high load #849

Closed
dmachard opened this issue Oct 21, 2024 · 0 comments · Fixed by #850
Closed

global telemetry: hang during shutdown with high load #849

dmachard opened this issue Oct 21, 2024 · 0 comments · Fixed by #850
Labels
bug Something isn't working

Comments

@dmachard
Copy link
Owner

Describe the bug

how to reproduce: send ~70kreq/s and try to stop the DNscollector

INFO: 2024/10/21 20:39:53.081184 worker - [tap] (conn #4) dnstap processor - stopping monitor...
INFO: 2024/10/21 20:39:53.081195 worker - [tap] (conn #4) dnstap processor - monitor terminated
INFO: 2024/10/21 20:39:53.081205 worker - [tap] (conn #4) dnstap processor - stopping collect...
INFO: 2024/10/21 20:39:53.081217 worker - [tap] (conn #4) dnstap processor - collection terminated
INFO: 2024/10/21 20:39:53.081227 worker - [tap] dnstap - conn #4 - cleanup connection handler terminated
INFO: 2024/10/21 20:39:53.081245 worker - [tap] dnstap - conn #2 - force to cleanup the connection handler
INFO: 2024/10/21 20:39:53.081291 worker - [tap] dnstap - conn #2 - connection closed with peer 172.19.0.2:53604
INFO: 2024/10/21 20:39:53.081302 worker - [tap] dnstap - (conn #2 - connection handler terminated
INFO: 2024/10/21 20:39:53.081311 worker - [tap] dnstap - collection terminated
INFO: 2024/10/21 20:39:53.081327 worker - [tofile] file - stopping monitor...
INFO: 2024/10/21 20:39:53.081366 worker - [tap] (conn #1) dnstap processor - monitor terminated
INFO: 2024/10/21 20:39:53.081376 worker - [tap] (conn #1) dnstap processor - stopping collect...
INFO: 2024/10/21 20:39:53.081420 worker - [tap] (conn #2) dnstap processor - stopping monitor...
INFO: 2024/10/21 20:39:53.081433 worker - [tap] (conn #2) dnstap processor - monitor terminated
INFO: 2024/10/21 20:39:53.081441 worker - [tap] (conn #2) dnstap processor - stopping collect...
INFO: 2024/10/21 20:39:53.081451 worker - [tap] (conn #2) dnstap processor - collection terminated
INFO: 2024/10/21 20:39:53.081459 worker - [tap] dnstap - conn #2 - cleanup connection handler terminated
INFO: 2024/10/21 20:39:53.081775 worker - [tofile] file - monitor terminated
INFO: 2024/10/21 20:39:53.081793 worker - [tofile] file - stopping collect...



signal: killed

global:
  trace:
    verbose: true

pipelines:
  - name: tap
    dnstap:
      listen-ip: 0.0.0.0
      listen-port: 6000
    transforms:
      normalize:
        qname-lowercase: true
        qname-replace-nonprintable: true
    routing-policy:
      forward: [ tofile, ]
      dropped: [ ]

  - name: tofile
    logfile:
      file-path: /tmp/dnstap.log
      max-size: 100
      max-files: 10
      max-batch-size: 262144
      flush-interval: 1
      compress: false
      compress-interval: 5
      compress-postcommand: null
      mode: json
      text-format: ""
      postrotate-command: null
      postrotate-delete-success: false
      chan-buffer-size: 0
@dmachard dmachard changed the title prometheus output: hang during shutdown with high load global telemetry: hang during shutdown with high load Oct 21, 2024
@dmachard dmachard added the bug Something isn't working label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant