Public bug reported: the https://bugs.launchpad.net/neutron/+bug/1870313 fix the code to use threading to send grap, well the grap works, but it also introduced another very seriously bug file descriptor leak!
I tested the train, ussuri branches, both can reproduce the bug, the reproduce steps is simple, just create floating ip with --port option, which trigger the l3-agent to configure ip address on qg- interface, then the neutron-keepalived-state-change will send garp, AND there is file named "anon_inode:[eventpoll]" left in /proc/<pid of neutron- keepalived-state-change >/fd. AS you can imagine, frequently create floating ip and delete floating ip, what will happen in /proc/X/fd this could also cause the memory leak in some cases, cause the process neutron-keepalived-state-change consume huge memory like 10G+ ** Affects: neutron Importance: Undecided Assignee: junbo (junbo) Status: New ** Changed in: neutron Assignee: (unassigned) => junbo (junbo) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1907411 Title: neutron-keepalived-state-change file descriptor leak Status in neutron: New Bug description: the https://bugs.launchpad.net/neutron/+bug/1870313 fix the code to use threading to send grap, well the grap works, but it also introduced another very seriously bug file descriptor leak! I tested the train, ussuri branches, both can reproduce the bug, the reproduce steps is simple, just create floating ip with --port option, which trigger the l3-agent to configure ip address on qg- interface, then the neutron-keepalived-state-change will send garp, AND there is file named "anon_inode:[eventpoll]" left in /proc/<pid of neutron- keepalived-state-change >/fd. AS you can imagine, frequently create floating ip and delete floating ip, what will happen in /proc/X/fd this could also cause the memory leak in some cases, cause the process neutron-keepalived-state-change consume huge memory like 10G+ To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1907411/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp