How to debug dataskq

danielch1

Verified User
Joined
Aug 23, 2008
Messages
11
Hi

dataskq (Directadmin's process) hangs every day at the earily morning everyday, when i look at
/user/local/directadmin/data/task.queue - the file is empty but the process dataskq is keep running for several hours hanging the whole server.
There is no running backups at the time, and no cron jobs defined in the directadmin that could cause it to stuck

I also checked the /var/log/cron, and I don't see something suspicious.

Can I turn dataskq debug level higher or something, or maybe do you any suggestions how to fix it?

thanks
Daniel
 
the dataskq is started each minute from crontab if task.queue is filled or not (if empty he dont do nothing)

the way to start it manually in debug mode is /usr/local/directadmin/datasqk d800 for see what he do.. but.. as i sayd, if task file is empty he will do nothing.

Regards
 
Thanks,

So if i will change in the cron job (that executed every minute) to
/usr/local/directadmin/datasqk d800
would i be able to see extend logs of each task that was executed by "datasqk"
 
I suppose not, you wouldn't be able to see extended logs of each task. You should redirect output of the command to a file.
 
Back
Top