You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ping causes xrootd/cmsd to close and reopen the log file, creating it if necessary. One would normally use a signal (e.g. SIGHUP) and that is all well and fine except for daemons that can be outfitted with custom plugins. We have found that some plugins use signals for other things and using them for log file rotation conflicts with those plugins leading to all sorts of other problems. So, the safest way to do this is via a dedicated pipe. A message appearing on the pipe means close/open the log file.
on Centos7, the supplied logrotate entry causes a mail to be sent:
On 03/25/2015 03:25 AM, Anacron wrote:> /etc/cron.daily/logrotate:
Comes straight from the RPM:
[root@xrdcmsglobal01 ~]# rpm -qf /etc/logrotate.d/xrootd
xrootd-server-4.1.1-1.el7.x86_64
[root@xrdcmsglobal01 ~]# rpm -Vvf /etc/logrotate.d/xrootd | grep /etc/logrotate.d/xrootd
......... c /etc/logrotate.d/xrootd
(whatever this "ping" does).
The text was updated successfully, but these errors were encountered: