Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2008 19:33:20 +0400
From:      Anton Yuzhaninov <citrin@citrin.ru>
To:        freebsd-net@freebsd.org
Subject:   bug in unix sockets garbage collector
Message-ID:  <48AEDC40.6030901@citrin.ru>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48AEDC40.6030901>