Question about https listener restart

60 views
Skip to first unread message

Cloud Fox

unread,
Jul 25, 2023, 8:57:51 PM7/25/23
to WildFly
Hello,
We have a situation where a large number of sockets in WildFly stall in CLOSE_WAIT state.
These sockets are grouped by "https-listener" ports.

I was wondering if there is a way to restart an "https-listener" port group, and, hopefully close stalled sockets.

Yes, I know I can restart JBoss completely but I was wondering if there is a way to solve these socket port group problems without restarting the entire service.

I looked around (and did some reading) on jboss-cli options but I could not see anything.. I found out how to list the groups..

/socket-binding-group=standard-sockets:read-resource(recursive=true)

But maybe there is a command to restart a particular group..

Thanks
Cris


Bartosz Baranowski

unread,
Jul 27, 2023, 12:06:08 PM7/27/23
to WildFly
AFAIR, any significant change to server would require reload/reboot. However there are are no specific ops that you can use:
[standalone@localhost:9990 server=default-server] cd /socket-binding-group=standard-sockets/socket-binding=http
[standalone@localhost:9990 socket-binding=http] :read-operation-names
{
   "outcome" => "success",
   "result" => [
       "add",
       "list-add",
       "list-clear",
       "list-get",
       "list-remove",
       "map-clear",
       "map-get",
       "map-put",
       "map-remove",
       "query",
       "read-attribute",
       "read-attribute-group",
       "read-attribute-group-names",
       "read-children-names",
       "read-children-resources",
       "read-children-types",
       "read-operation-description",
       "read-operation-names",
       "read-resource",
       "read-resource-description",
       "remove",
       "undefine-attribute",
       "whoami",
       "write-attribute"
   ]
}
Only solution that I can think off would be to remove and add new server/socket bindings in batch operation, but this would mean reboot/reload anyway.
Reply all
Reply to author
Forward
0 new messages