toralf Developer
Joined: 01 Feb 2004 Posts: 3943 Location: Hamburg
|
Posted: Tue Feb 04, 2025 10:01 am Post subject: unbound gives after suspend to ram a 2(SERVFAIL) |
|
|
Every then and when I had to restart unbound after s2ram. When it happened I tried to debug it but do not got any useful insights:
Code: | p14s ~ # pgrep -af unbound
1109 [kworker/u64:4-events_unbound]
1926 /usr/sbin/unbound -c /etc/unbound/unbound.conf
p14s ~ # gdb -p 1926
GNU gdb (Gentoo 15.2 vanilla) 15.2
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 1926
Reading symbols from /usr/sbin/unbound...
(No debugging symbols found in /usr/sbin/unbound)
Reading symbols from /usr/lib64/libssl.so.3...
(No debugging symbols found in /usr/lib64/libssl.so.3)
Reading symbols from /usr/lib64/libsodium.so.26...
(No debugging symbols found in /usr/lib64/libsodium.so.26)
Reading symbols from /usr/lib64/libevent-2.1.so.7...
(No debugging symbols found in /usr/lib64/libevent-2.1.so.7)
Reading symbols from /usr/lib64/libcrypto.so.3...
(No debugging symbols found in /usr/lib64/libcrypto.so.3)
Reading symbols from /usr/lib64/libnghttp2.so.14...
(No debugging symbols found in /usr/lib64/libnghttp2.so.14)
Reading symbols from /lib64/libc.so.6...
Reading symbols from /usr/lib/debug//lib64/libc.so.6.debug...
Reading symbols from /lib64/ld-linux-x86-64.so.2...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f1edff2eacc in epoll_wait (epfd=10, events=0x556e26e56be0, maxevents=32, timeout=-1)
at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
30 return SYSCALL_CANCEL (epoll_wait, epfd, events, maxevents, timeout);
(gdb) continue
Continuing.
bt full
Program received signal SIGTERM, Terminated.
0x00007f1edff2eacc in epoll_wait (epfd=10, events=0x556e26e56be0, maxevents=32, timeout=-1)
at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
30 return SYSCALL_CANCEL (epoll_wait, epfd, events, maxevents, timeout);
|
I do wonder how to avoid the necessity of the restart? |
|