[Bug 895970] New: wickedd-nanny uses 100% CPU time
https://bugzilla.novell.com/show_bug.cgi?id=895970 https://bugzilla.novell.com/show_bug.cgi?id=895970#c0 Summary: wickedd-nanny uses 100% CPU time Classification: openSUSE Product: openSUSE Factory Version: 201409* Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: schwab@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- (gdb) bt #0 0x0000007f8768ed44 in __GI___libc_sigaction (sig=sig@entry=15, act=act@entry=0x7fdebe1620, oact=oact@entry=0x7fdebe16b8) at ../ports/sysdeps/unix/sysv/linux/aarch64/sigaction.c:53 #1 0x0000007f8768ee10 in __GI___sigaction (sig=sig@entry=15, act=act@entry=0x7fdebe1620, oact=oact@entry=0x7fdebe16b8) at ../nptl/sigaction.c:43 #2 0x0000007f8768ebe4 in __bsd_signal (sig=sig@entry=15, handler=handler@entry=0x7f8789e330 <__ni_catch_terminal_signal>) at ../sysdeps/posix/signal.c:47 #3 0x0000007f878a22e4 in ni_caught_terminal_signal () at util.c:2427 #4 0x0000000000405cdc in babysit () at main.c:288 #5 main (argc=<optimized out>, argv=<optimized out>) at main.c:190 (gdb) f 3 #3 0x0000007f878a22e4 in ni_caught_terminal_signal () at util.c:2427 2427 signal(SIGTERM, __ni_catch_terminal_signal); (gdb) l 2422 ni_caught_terminal_signal(void) 2423 { 2424 static ni_bool_t installed_handlers = FALSE; 2425 2426 if (!installed_handlers) { 2427 signal(SIGTERM, __ni_catch_terminal_signal); 2428 signal(SIGINT, __ni_catch_terminal_signal); 2429 } 2430 2431 if (!__ni_terminal_signal) (gdb) fin Run till exit from #3 0x0000007f878a22e4 in ni_caught_terminal_signal () at util.c:2427 0x0000000000405cdc in babysit () at main.c:288 288 while (!ni_caught_terminal_signal()) { Value returned is $1 = 0 '\000' (gdb) n 291 if (ni_config_use_nanny()) { (gdb) 301 if (ni_socket_wait(timeout) != 0) (gdb) 288 while (!ni_caught_terminal_signal()) { (gdb) 291 if (ni_config_use_nanny()) { (gdb) 301 if (ni_socket_wait(timeout) != 0) (gdb) p timeout $2 = 0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=895970 https://bugzilla.novell.com/show_bug.cgi?id=895970#c Andreas Schwab <schwab@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |mt@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=895970 https://bugzilla.novell.com/show_bug.cgi?id=895970#c Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|mt@suse.com |wicked-maintainers@suse.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=895970 https://bugzilla.novell.com/show_bug.cgi?id=895970#c1 --- Comment #1 from Marius Tomaschewski <mt@suse.com> 2014-09-10 14:44:39 UTC --- It looks like this would be just the attempt to disarm nanny when not in use causing that the timeout variable is not initialized any more: while (!ni_caught_terminal_signal()) { - long timeout; + long timeout = NI_IFWORKER_INFINITE_TIMEOUT; if (ni_config_use_nanny()) { do { ni_fsm_do(mgr->fsm, &timeout); } while (ni_nanny_recheck_do(mgr)); } if (ni_socket_wait(timeout) != 0) ni_fatal("ni_socket_wait failed"); } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=895970 https://bugzilla.novell.com/show_bug.cgi?id=895970#c2 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mt@suse.com --- Comment #2 from Marius Tomaschewski <mt@suse.com> 2014-09-10 14:45:31 UTC --- Going to test it: https://github.com/openSUSE/wicked/pull/415 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=895970 https://bugzilla.novell.com/show_bug.cgi?id=895970#c3 Pawel Wieczorkiewicz <pwieczorkiewicz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |pwieczorkiewicz@suse.com Resolution| |FIXED --- Comment #3 from Pawel Wieczorkiewicz <pwieczorkiewicz@suse.com> 2014-09-10 17:12:58 CEST --- Fixed upstream. Will be available with wicked 0.6.8. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=895970 https://bugzilla.novell.com/show_bug.cgi?id=895970#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-09-17 14:00:41 CEST --- This is an autogenerated message for OBS integration: This bug (895970) was mentioned in https://build.opensuse.org/request/show/249930 Factory / wicked -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com