mod_gnutls busy-loops consuming 100% cpu
Bug #1381417 reported by
Simon Josefsson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mod-gnutls (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
We've used libapache2-
Sorry for lack of more useful information such as gdb backtraces, I wanted to open the bug first so further data points can be added it to, and for others to chime in.
/Simon
To post a comment you must log in.
It happened again so I collected some information about it.
top - 06:41:08 up 7 days, 23:05, 1 user, load average: 6.87, 6.31, 6.22
Tasks: 129 total, 1 running, 128 sleeping, 0 stopped, 0 zombie
%Cpu(s): 64.8 us, 0.0 sy, 0.0 ni, 23.9 id, 0.0 wa, 0.0 hi, 0.0 si, 11.3 st
KiB Mem: 1012108 total, 970104 used, 42004 free, 26140 buffers
KiB Swap: 262140 total, 7480 used, 254660 free. 660712 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7046 www-data 20 0 2041404 29832 5604 S 200.1 2.9 1036:38 /usr/sbin/apache2 -k start
7230 www-data 20 0 2040752 31604 4932 S 200.1 3.1 3767:03 /usr/sbin/apache2 -k start
17441 www-data 20 0 2036472 20124 4828 S 100.0 2.0 2532:40 /usr/sbin/apache2 -k start
22281 www-data 20 0 2032484 16444 5432 S 100.0 1.6 1067:03 /usr/sbin/apache2 -k start
5493 root 20 0 24980 3020 2516 R 1.0 0.3 0:00.28 top
7 root 20 0 0 0 0 S 0.3 0.0 37:09.72 [rcu_sched]
734 root 20 0 0 0 0 S 0.3 0.0 0:00.14 [kworker/u16:0]
...
Stracing them does not suggest anything:
root@developers:~# strace -p 7046 ec9d0, FUTEX_WAIT, 7257, NULL^CProcess 7230 detached ec9d0, FUTEX_WAIT, 17468, NULL^CProcess 17441 detached ec9d0, FUTEX_WAIT, 22334, NULL^CProcess 22281 detached
Process 7046 attached
read(14, ^CProcess 7046 detached
<detached ...>
root@developers:~# strace -p 7230
Process 7230 attached
futex(0x7f70fa7
<detached ...>
root@developers:~# strace -p 17441
Process 17441 attached
futex(0x7f70fa7
<detached ...>
root@developers:~# strace -p 22281
Process 22281 attached
futex(0x7f70fa7
<detached ...>
I waited 5-10 seconds before doing ^C.
root@developers:~# gdb /usr/sbin/apache2 7046 gnu.org/ licenses/ gpl.html> www.gnu. org/software/ gdb/bugs/>. www.gnu. org/software/ gdb/documentati on/>. apache2. ..Reading symbols from /usr/lib/ debug// usr/sbin/ apache2. ..done. 64-linux- gnu/libpcre. so.3... (no debugging symbols found)...done. 64-linux- gnu/libpcre. so.3
GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/
done.
Attaching to program: /usr/sbin/apache2, process 7046
Reading symbols from /lib/x86_
Loaded symbols for /lib/x86_
Reading symbols from /usr/lib...