bug in unix sockets garbage collector
Anton Yuzhaninov
citrin at citrin.ru
Fri Aug 22 15:45:11 UTC 2008
On servers where used unix sockets, sometimes thread taskq start to eat 100% CPU:
http://docs.FreeBSD.org/cgi/mid.cgi?474EFC5C.9060508
Addition info about this problem - when this occurs
sysctl net.local.inflight show negative number.
% sysctl net.local.inflight
net.local.inflight: -3
And this condition become always true:
if (local_unp_rights)
taskqueue_enqueue(taskqueue_thread, &unp_gc_task);
It seems, that unp_rights decremented more often than incremented, or some race exist.
--
Anton Yuzhaninov
More information about the freebsd-net
mailing list