Mobility services shut down automatically

  • 7010533
  • 27-Jul-2012
  • 26-Jun-2014

Environment

Novell Data Synchronizer Mobility Pack

Situation

Server running out of disk space
rcdatasync status shows unused
DataSync processes stop every hour automatically
Logs are taking up lots of disk space on the server

Resolution

Mobility services shut down automatically if the used disk space is 90% or higher.
 
Please follow the steps listed below to confirm that the services get shutdown automatically because of the disk space:
cat /var/log/datasync/datasync_status
 

Follow the steps below with use of dsapp.sh:

  1. See TID 7015282  - How to install dsapp on a Mobility server.
    Note: Once dsapp is loaded, proceed with the steps below.
  2. Select Logs | Remove log archives
  3. Enter Y to clean log file directories.
  4. Enter Y to prevent future disk space hogging.


Please follow the steps listed below to free up Disk Space:
  1. Remove log files. From a terminal window type:
    • rm /var/log/datasync/connectors/* and press enter.
    • rm /var/log/datasync/syncengine/* and press enter.
  2. Adjust the max logs for each engine to prevent future problems. Replace maxage 120 with maxage 14 in datasync-webadmin, datasync-syncengine, and datasync-configengine. From a terminal window type:
    sed -i "s|maxage.*|maxage 14|g" /etc/logrotate.d/datasync-*
    and press Enter.

Additional Information

Troubleshooting Steps:

From a terminal window:

  1. cat /var/log/datasync/datasync_status states shutting down mobility because of low disk space.
  2. df -h reports 90% or more disk space in use.