Files
poky/meta/recipes-devtools
Haiqing Bai 6d77529d62 unfs3: fixed the issue that unfsd consumes 100% CPU
The 'accept' function on the socket of unfsd daemon
is always in below error state:
accept(4, 0x7ffd5e6dddc0, [128]) = -1 EINVAL (Invalid argument)
accept(6, 0x7ffd5e6dddc0, [128]) = -1 EINVAL (Invalid argument)

And 'strace -c -p <the pid of unfsd>' shows:
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 70.87    0.005392           0    513886    513886 accept
 29.13    0.002216           0    256943           poll

This error state is in the 'for' loop of the daemon, so it consumes 100%
CPU. The reason is that 'listen' is not called for the TCP socket before
'accept'. Actually the called 'svc_tli_create' from libtirpc will not call
'listen' on a bound socket.

(From OE-Core rev: 1f6784d2e839f81749d21ad1b615a9f7bb0e64d6)

Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-10-28 05:31:42 +00:00
..
2019-10-23 16:30:35 +01:00
2019-08-30 17:10:28 +01:00
2019-10-15 14:16:11 +01:00
2018-08-23 18:02:23 +01:00
2019-10-19 23:18:33 +01:00
2019-10-15 14:16:11 +01:00
2019-09-19 10:54:32 +01:00
2019-10-09 14:07:43 +01:00
2019-08-21 21:52:59 +01:00
2018-11-14 11:14:39 +00:00
2019-10-23 16:30:36 +01:00
2019-10-19 23:18:33 +01:00
2018-03-09 09:17:03 -08:00
2019-09-06 08:15:45 +01:00
2019-10-15 14:16:12 +01:00
2019-05-27 17:06:34 +01:00
2018-01-30 12:53:16 +00:00
2019-02-15 16:05:37 +00:00
2019-05-16 09:16:50 +01:00
2019-07-31 23:03:01 +01:00
2019-05-08 23:00:32 +01:00
2019-07-17 19:25:02 +01:00
2019-07-15 09:30:00 +01:00
2019-04-23 23:30:19 +01:00
2019-09-06 14:58:09 +01:00
2019-05-08 12:15:17 +01:00
2019-10-15 14:16:10 +01:00
2019-07-18 12:16:19 +01:00
2018-11-14 11:14:39 +00:00
2019-08-28 11:31:21 +01:00
2019-09-01 22:33:07 +01:00
2019-10-19 23:18:33 +01:00
2019-07-19 16:19:14 +01:00
2019-10-23 16:30:36 +01:00
2019-09-30 16:55:21 +01:00
2019-10-15 14:16:11 +01:00
2019-04-05 17:32:50 +01:00