Support Center > Knowledgebase > DirectAdmin > DirectAdmin > Slow down disk access to the dataskq
Slow down disk access to the dataskq
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:
/etc/cron.d/directadmin_cron
or on FreeBSD:
/etc/crontab
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:
http://www.directadmin.com/features.php?id=1423
Installing ionice on CentOS:
yum install util-linux
Debian:
apt-get install util-linux
Also Read