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

[Bug]: On every restart: "Main thread DYNCFG takes too long to exit. Giving up..." #15821

Closed
ilyam8 opened this issue Aug 16, 2023 · 0 comments · Fixed by #15824
Closed

[Bug]: On every restart: "Main thread DYNCFG takes too long to exit. Giving up..." #15821

ilyam8 opened this issue Aug 16, 2023 · 0 comments · Fixed by #15824
Assignees

Comments

@ilyam8
Copy link
Member

ilyam8 commented Aug 16, 2023

Bug description

For some reason, it takes too long for DYNCFG to exit after netdata_thread_cancel().

2023-08-16 17:58:59: netdata INFO  : MAIN : EXIT: Stopping main thread: DYNCFG
2023-08-16 17:58:59: netdata INFO  : MAIN : Waiting 1 threads to finish...
...
2023-08-16 17:58:59: netdata INFO  : MAIN : Waiting 1 threads to finish...
2023-08-16 17:59:04: netdata ERROR : MAIN : Main thread DYNCFG takes too long to exit. Giving up...

Expected behavior

DYNCFG exits on Netdata cancels it.

Steps to reproduce

Restart ND and check logs

Installation method

kickstart.sh

System info

n/a

Netdata build info

Packaging:
    Netdata Version ____________________________________________ : v1.42.0-39-g9b6f75e33
    Installation Type __________________________________________ : custom
    Package Architecture _______________________________________ : unknown
    Package Distro _____________________________________________ : unknown
    Configure Options __________________________________________ :  '--prefix=/opt/netdata/usr' '--sysconfdir=/opt/netdata/etc' '--localstatedir=/opt/netdata/var' '--libexecdir=/opt/netdata/usr/libexec' '--libdir=/opt/netdata/usr/lib' '--with-zlib' '--with-math' '--with-user=netdata' '--with-bundled-protobuf' 'CFLAGS=-O1 -ggdb' 'LDFLAGS='

Additional info

No response

@ilyam8 ilyam8 added bug needs triage Issues which need to be manually labelled labels Aug 16, 2023
@ilyam8 ilyam8 added area/daemon and removed needs triage Issues which need to be manually labelled labels Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants