task.queue not beeing executed

webbasica

Verified User
Joined
Feb 21, 2005
Messages
72
At first I noticed my domain.com.log (at /var/log/httpd/domains/) with a size of 2 gigz. That, as you know, causes a few problems with apache.

I checked my directadmin_cron, and everything seems ok:


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 /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats_updateall.pl now -awstatsprog=/usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats.pl && 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

As you can see, I have awstats installed.

The I checked my task.queue (at /usr/local/directadmin/data/) and noticed something strange. Quite a few llines of this:

action=vacation&value=all

Which made me think that the file was not beeing executed, for more than just a minute.

I added these 2 lines manually:
action=reset&value=all
action=tally&value=username&type=user

Checked it for a few minutes, and the file was never erased. I think the task.queue is not beeing executed by DA

BTW, I noticed 2 variations of the task.queue:
task.queue20
task.queue(with a space)
 
Hello,

Run:
Code:
ps -ax | grep cron
Make sure that the cron deamon is running. Check the /var/log/cron log to see (should be a dataskq entry every minute)

John
 
Since my last post, I ran dataskq manually. So the domain log got smaller.

Then, the server ran way better. For a while. I had to restart apache and mysql. and after that, no more problems.

Weird thing is, looking at the cron log:

Code:
Oct 20 08:31:01 da CROND[18014]: (root) CMD (/usr/local/directadmin/dataskq^M) 
Oct 20 08:32:00 da CROND[18032]: (root) CMD (/usr/local/directadmin/dataskq^M) 
Oct 20 08:33:00 da CROND[18038]: (root) CMD (/usr/local/directadmin/dataskq^M) 
Oct 20 08:34:00 da CROND[18044]: (root) CMD (/usr/local/directadmin/dataskq^M) 
Oct 20 08:35:01 da CROND[18053]: (root) CMD (/usr/local/directadmin/dataskq^M) 
Oct 20 08:36:00 da CROND[18074]: (root) CMD (/usr/local/directadmin/dataskq^M) 
Oct 20 08:37:00 da CROND[18082]: (root) CMD (/usr/local/directadmin/dataskq^M) 
Oct 20 08:38:01 da CROND[18089]: (root) CMD (/usr/local/directadmin/dataskq^M) 
Oct 20 08:39:00 da CROND[18134]: (root) CMD (/usr/local/directadmin/dataskq^M)

and the command:

[root@da root]# ps -ax | grep cron
1319 ? S 0:01 crond
18157 pts/0 R 0:00 grep cron
 
Back
Top