"SERVICE_MONITOR_PAUSE_DURATION has become bad " despite heap increase
I am seeing frequent Cloudera Manager Service Monitor outages:
SERVICE_MONITOR_PAUSE_DURATION has become bad: Average time spent paused was 39.5 second(s) (65.76%) per minute over the previous 5 minute(s).
despite increasing the heap size to 7g and the 'off-heap' size to 24g. The machine often sees a high load (a NodeManager is also on the same machine), like 90 on a 24 core machine, so I suspect it might be starved of cpu when doing aggregation. The process regularly has +700 files open.
I have motivation to fix this issue since it causes data loss in the time series because SM pulls data and misses data points for +15 minutes at times.
The WARN:
AggregatingTimeSeriesStore: run duration exceeded desired period
is correlated with the above.
Is there a documented procedure to move Service Monitor to another machine while keeping existing data?
Perhaps like:
0. stop SM to quiesce changes to /var/lib/cloudera-service-monitor/ts/
1. using CM, redefine SM on another host
2. move /var/lib/cloudera-service-monitor/ts/ contents before starting SM
3. start SM
SM uses LevelDB, but I don't know the internals of that and whether /var/lib/cloudera-service-monitor/ts/ can just be moved. I don't want to lose the 1 month of history I have.

