Tally restarting Apache

Ewoud

Verified User
Joined
Jun 12, 2019
Messages
6
I see some strange Apache restarts in my VPS's logs, and they seem to be related to DirectAdmin's daily tally and monthly reset, as the times the restarts happen match with these DirectAdmin cron jobs. Apache restarts twice, one minute apart. To me, this doesn't look like intended behavior.

What's going on here? What can be done about it?

From Apache error log:
[Mon Mar 30 00:10:03.304714 2020] [mpm_event:notice] [pid 1400:tid 140240997619840] AH00493: SIGUSR1 received. Doing graceful restart [Mon Mar 30 00:11:02.098802 2020] [mpm_event:notice] [pid 1400:tid 140240997619840] AH00493: SIGUSR1 received. Doing graceful restart [Tue Mar 31 00:10:01.541974 2020] [mpm_event:notice] [pid 1400:tid 140240997619840] AH00493: SIGUSR1 received. Doing graceful restart [Tue Mar 31 00:11:01.250254 2020] [mpm_event:notice] [pid 1400:tid 140240997619840] AH00493: SIGUSR1 received. Doing graceful restart [Wed Apr 01 00:10:02.150021 2020] [mpm_event:notice] [pid 1400:tid 140240997619840] AH00493: SIGUSR1 received. Doing graceful restart [Wed Apr 01 00:11:01.186297 2020] [mpm_event:notice] [pid 1400:tid 140240997619840] AH00493: SIGUSR1 received. Doing graceful restart [Wed Apr 01 04:21:01.768225 2020] [mpm_event:notice] [pid 1400:tid 140240997619840] AH00493: SIGUSR1 received. Doing graceful restart [Wed Apr 01 04:22:01.829517 2020] [mpm_event:notice] [pid 1400:tid 140240997619840] AH00493: SIGUSR1 received. Doing graceful restart [Thu Apr 02 00:10:01.914408 2020] [mpm_event:notice] [pid 1400:tid 140240997619840] AH00493: SIGUSR1 received. Doing graceful restart [Thu Apr 02 00:11:02.010742 2020] [mpm_event:notice] [pid 1400:tid 140240997619840] AH00493: SIGUSR1 received. Doing graceful restart

$ cat /etc/cron.d/directadmin_cron :
* * * * * 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

$ cat /etc/centos-release
CentOS Linux release 7.7.1908 (Core)

$ uname -r
3.10.0-1062.18.1.el7.x86_64

$ ./build versions
Latest version of DirectAdmin: 1.60.4 Installed version of DirectAdmin: 1.60.4 Latest version of Let's Encrypt client: 1.1.41 Installed version of Let's Encrypt client: 1.1.41 Latest version of CustomBuild plugin: 1.0.33 Installed version of CustomBuild plugin: 1.0.33 Latest version of Apache: 2.4.41 Installed version of Apache: 2.4.41
 
Back
Top