You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Amichai Rothman (Jira)" <ji...@apache.org> on 2026/05/25 13:23:00 UTC
[jira] [Created] (ARIES-2228) Fix FastBinProvider socket not closed on shutdown
Amichai Rothman created ARIES-2228:
--------------------------------------
Summary: Fix FastBinProvider socket not closed on shutdown
Key: ARIES-2228
URL: https://issues.apache.org/jira/browse/ARIES-2228
Project: Aries
Issue Type: Task
Components: Remote Service Admin
Affects Versions: rsa-1.16.1
Reporter: Amichai Rothman
The FastBinProvider server socket sometimes isn't closed on shutdown, so e.g. restarting it fails due to "address already in use" errors. This seems related to it using hawtdispatch, causing a race condition on shutdown - by the time the fastbin provider reaches the socket closing code, the hawtdispatch queues may already be shut down causing the async client close to throw an exception and the server close code to never execute.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)