config-files/rabbitmq-server-config
Adriano Oliveira 0dee292bef Replace lsof by ss in RabbitMQ ocf script
It has been noted on heavy load test conditions that lsof
can hang for a considerable time and cause timeouts on the
RabbitMQ stop path triggered from Service Manager on a
swact scenario.

To avoid that, both netstat or ss commands could be used to
check for listening process on the amqp port (5672).

The ss command has been chosen since man page of netstat mark
it as obsolete and points ss as replacement for the major part
of it.

Also, note that ss uses Netlink which uses socket API.

Closes-Bug: 2018346

Test Plan:

PASS: Verify, using ss, the listening amqp socket
PASS: Verify AIO-DX is properly deployed
PASS: Restart RabbitMQ service successfully using sm-restart
PASS: Swact successfully on DX system
PASS: Lock/unlock successfully

Change-Id: I929b2a1b7a61eb70154c00177aa0b7f2fc46890a
Signed-off-by: Adriano Oliveira <adriano.oliveira@windriver.com>
2023-05-09 17:17:59 -04:00
..
centos Update rabbitmq OCF script to protect against failed status 2020-09-23 13:39:51 -04:00
debian Update debian package versions to use git commits 2023-02-15 08:52:24 -08:00
files Controller lock failure in RR patch removal 2021-09-09 09:52:20 -04:00
source-debian Replace lsof by ss in RabbitMQ ocf script 2023-05-09 17:17:59 -04:00