[Bug 222126] pf is not clearing expired states
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Oct 22 20:05:15 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222126
--- Comment #37 from Kristof Provost <kp at freebsd.org> ---
I do not understand this at all. There is no reason for the purge thread to get
stuck. There's also no reason for it apparently having run 7 times between
freezing and when you restart the dtrace. (That's based on the purge_idx value
logged by the expired_states probe. 23544 - 21255 == 327 * 7.
(Please just don't stop it at all while you're performing the workaround.
There's no reason for it, and stopping it runs the risk of missing interesting
information).
It still looks like we just don't wake up from the sx_sleep(pf_purge_thread,
&pf_end_lock, ...) call, but that makes no sense. The only way for that to
happen is if someone would be holding the pf_end_lock, but that lock is only
taken when the pf module is unloaded (and by the purge thread, obviously).
Do you see other strange behaviour on the system? If there's something wrong
with the sleep/lock infrastructure I'd expect to see other strange things.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-pf
mailing list