nice, ionice parameters on Auto FTP Backup page do not take effect for KVM/XenHMV slave nodes

Have more questions? Submit a request

Applicable to:

  • SolusVM

Symptoms 

Ionice Priority, Ionice Class, Nice parameters set up at SolusVM > Nodes > Node > Auto FTP backup are not applied when cron task for AutoFTP Backup is running on KVM/Xen slave nodes. 

Cause

Known SolusVM issue with ID #SVM-1093

Resolution

As a workaround

  1. Connect to the corresponding Slave node via SSH
  2. Create a backup of /etc/cron.d/solusvm_ftp file

    # cp -a /etc/cron.d/solusvm_ftp /root/solusvm_ftp

  3. Update the cron task: 

    CONFIG_TEXT: 0 0 * * * root /usr/bin/php /usr/local/solusvm/includes/autoftpbackup.php >/dev/null 2>&1 

    After

    CONFIG_TEXT: 0 0 * * * root nice -n <nice> ionice -c <ionice_class> -n <ionice_priority> /usr/bin/php /usr/local/solusvm/includes/autoftpbackup.php >/dev/null 2>&1 

    Set values for Ionice Priority, Ionice Class, Nice as required.

     

     

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.