Directadmin Cron Job problem

tdldp

Verified User
Joined
May 9, 2005
Messages
150
Hi.

I have a little cron job problem and don't know todayhow to solve it.

The job here :
20 4 1 * * root echo 'action=reset&value=all' >> /usr/local/directadmin/data/task.queue

Makes web (http) service go down every morning at that same time and nagios starts beeping about an excessive load on server.


What does this job stand for ??? Why does it use so much load ??? How can i make it use less load, and allow therefor www service priority on it ....

Thks for your help...
 
Hello,

The thread is so old and has no single reply here... nevertheless what exact issue are you facing there?
 
Hi Alex,

Well I am getting the same isse with the task.queue.

Everyday at 00:10h DA cron run a task queue that makes restart httpd service.

Mon Sep 17 00:13:01 2012] [notice] caught SIGTERM, shutting down.

Can we avoid this ?

Thanks in advance
 
Just add this line to /usr/local/directadmin/conf/directadmin.conf

Code:
graceful_restarts=1

Then do:

Code:
service directadmin restart
 
Back
Top