Slow down disk access to the dataskq

Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"

Top Level » DirectAdmin

Slow down disk access to the dataskqLast Modified: Nov 7, 2013, 3:49 pm
If the tally is using up too much disk I/O, you can slow down the dataskq using the ionice binary, if you have it.

To limit the dataskq, edit:


or on FreeBSD:


Find the line

* * * * * root /usr/local/directadmin/dataskq

and change it to:

* * * * * root /usr/bin/ionice -c2 -n7 /usr/local/directadmin/dataskq

of course, you'll need to ensure that you actually have the /usr/bin/ionice binary.  Install it if you don't.
Reload crond (or cron) after you make the change.

For backups, you can have the dataskq insert the ionice command in front of all tar, zip and unzip commands:

Installing ionice on CentOS:

yum install util-linux


apt-get install util-linux

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST