AppNodes running on a machine stop after bwagent crash
book
Article ID: KB0078967
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
BW 6.x
Description
If bwagent (started as a Linux service) on a given server crashes or is intentionally killed with kill -9 all the AppNodes running on this server stop immediately and with no message in their respective logs.
Issue/Introduction
If bwagent on a given server crashes or is intentionally killed with kill -9 all the AppNodes running on this server stop immediately and with no message in their respective logs.
Environment
Linux
Resolution
The problem happens if the 'bwagent' is started as a Linux service and not properly configured. By default Linux services are killed with the 'control-group' option and all child processes are killed when the service is stopped. This can be changed by using KillMode=process option in the service block of the service file.
In "/etc/systemd/system" folder edit the 'service' file to add the "KillMode=process" option:
Then make sure the change is taken into account with the following command: systemctl daemon-reload
The expected behavior is that once started the AppNodes are running as independent OS level processes and will not be impacted by what happens to the bwagent.