Menu

#16 rpc.rquotad version 4.04 burns 100% CPU

None
closed
Jan Kara
None
5
2018-05-28
2018-05-22
No

quota 4.04 moved from NIS RPC to TIRPC to support IPv6. A Fedora user discovered that rpc.rquotad daemon consumes all CPU time with Fedora 28's libtirpc-1.0.3-1.rc1. Starting the daemon is enough to reproduce it.

Steve Dicson discovered quota uses tirpc in an unexpected way: rpc.rquotad creates a TCP socket and binds to an address, but forgets to start to listen on a the socket and then passes this nonlistening socket to TIRPC. However, TIRCP expects unbound and nonlistening socket or bound and listening socket.

Attached patch fixes it.

1 Attachments

Discussion

  • Jan Kara

    Jan Kara - 2018-05-28
    • status: open --> closed
    • assigned_to: Jan Kara
    • Group: -->
     
  • Jan Kara

    Jan Kara - 2018-05-28

    Thanks. I've merged the patch.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB