Multiple dataskq processes causing high server load - how to fix?

beansbaxter

Verified User
Joined
Mar 17, 2004
Messages
218
Location
WA
For the life of me, I cannot figure out why my server load is so high.

When I go to DA Service Monitor, the top 5 processes are using 99.9% of the CPU and they're all the same processes:

Code:
/usr/local/directadmin/dataskq
/usr/local/directadmin/dataskq
/usr/local/directadmin/dataskq
/usr/local/directadmin/dataskq
/usr/local/directadmin/dataskq

From the command line, I tried this:

cat /etc/cron.d/directadmin_cron

And the output:

Code:
* * * * * root /usr/local/directadmin/dataskq
2 0-23/6 * * * root echo 'action=vacation&value=all' >> /usr/local/directadmin/data/task.queue;
#5 5 * * 0 root /sbin/quotaoff -a; /sbin/quotacheck -augm; /sbin/quotaon -a;
10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
20 4 1 * * root echo 'action=reset&value=all' >> /usr/local/directadmin/data/task.queue
0 4 * * * root echo 'action=check&value=license' >> /usr/local/directadmin/data/task.queue

I restarted crond and that works fine.

What else could it be causing this?

Running CentOS 5.9 with the latest DA if it matters.

Any help would be greatly appreciated.
 
The dataskq should run once a mijnute, and generally will finish quickly. So likely something is stuck.

Get more information on some of those queue processes; from a root shell:
Code:
# ps waux | grep dataskq
Does this give you any insight into what may be running?

You can force kill them; read man kill for information on how. Of course killing the process will stop whatever is running.

Be sure you've got the latest version of DirectAdmin.

To see if there's a backup running which you may have forgotten, once you've updated DirectAdmin you can check theAdmin level reseller backups to make sure there isn't one or more running about which you may have forgotten.

Jeff
 
Back
Top