Description of problem:
The quota daemon, rpc.rquotad consumes 100% CPU on one core. It does answer correctly to queries though.
Version-Release number of selected component (if applicable):
quota-rpc-4.04-5.fc28.x86_64
How reproducible:
100% and immediately.
Steps to Reproduce: 1. dnf install quota-rpc 2. systemctl start rpc-rquotad.services 3. top
Actual results:
You see 90+% CPU usage from rpc.rquotad
Expected results:
Minimal CPU usage from rpc.rquotad
Additional info:
1) Downgrade to the last version of Fedora 27, quota-rpc-4.03-9.fc27.x86_64 makes everything okay again.
dnf -y downgrade quota-rpc --releasever=27
2) strace on the daemon spits out endless repeats of:
poll([{fd=4, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}, {fd=5, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}, {fd=6, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}, {fd=7, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 4, -1) = 2 ([{fd=5, revents=POLLHUP}, {fd=7, revents=POLLHUP}]) accept(5, 0x7ffe61698700, [128]) = -1 EINVAL (Invalid argument) accept(7, 0x7ffe61698700, [128]) = -1 EINVAL (Invalid argument)
Description of problem:
The quota daemon, rpc.rquotad consumes 100% CPU on one core.
It does answer correctly to queries though.
Version-Release number of selected component (if applicable):
quota-rpc- 4.04-5. fc28.x86_ 64
How reproducible:
100% and immediately.
Steps to Reproduce: services
1. dnf install quota-rpc
2. systemctl start rpc-rquotad.
3. top
Actual results:
You see 90+% CPU usage from rpc.rquotad
Expected results:
Minimal CPU usage from rpc.rquotad
Additional info:
1) Downgrade to the last version of Fedora 27, quota-rpc- 4.03-9. fc27.x86_ 64
makes everything okay again.
dnf -y downgrade quota-rpc --releasever=27
2) strace on the daemon spits out endless repeats of:
poll([{fd=4, events= POLLIN| POLLPRI| POLLRDNORM| POLLRDBAND} , {fd=5, POLLIN| POLLPRI| POLLRDNORM| POLLRDBAND} , {fd=6, POLLIN| POLLPRI| POLLRDNORM| POLLRDBAND} , {fd=7, POLLIN| POLLPRI| POLLRDNORM| POLLRDBAND} ], 4, -1) = 2 ([{fd=5,
events=
events=
events=
revents=POLLHUP}, {fd=7, revents=POLLHUP}])
accept(5, 0x7ffe61698700, [128]) = -1 EINVAL (Invalid argument)
accept(7, 0x7ffe61698700, [128]) = -1 EINVAL (Invalid argument)