Print

Print


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.

---
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/221#issuecomment-86199513

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1