Add to Favourites Add to Favourites    Print this Article Print this Article

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:


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

Was this answer helpful?

Also Read