Address Composer Microservice Shown as Not Running
In the Composer server, running the
sudo service zoomdata status
command shows Composer as not running even though Composer is clearly running and accessible via the browser. No noticeable error is seen in the Composer log files and no other major issue is seen with the actual execution of Composer.
Possible Causes and Solutions
This issue may be occurring because your Composer pid file is in the
folder of your Composer server. By default, the Composer pid file is stored in this directory per the
file. If this is the case, there are many reasons why the pid file could be missing from this directory, and would require further investigation from your Linux or Ops engineers. Please check the size of this temp directory as if it is quite small, it can easily fill up depending on the size and usage of the server. Furthermore, some users may have set-up a cron job (or manually) to periodically clean this
As a workaround, the location of the Composer pid file can be changed to not use the
folder. This can be done by modifying the
file directly. Look for the following line in this file:
# Define Composer pid file
[ -z "$ZOOMDATA_PID" ] && ZOOMDATA_PID="/tmp/zoomdata.pid"
We suggest either using the Composer directory or some other directory where the Composer user has write access that does not risk being cleaned out by something like a cron or manual job.