logrotate.d in the release 1.13.4 RPM restarts bes and tomcat every day

Description

From: James Gallagher <jgallagher@opendap.org>
Date: Monday, October 16, 2017 at 11:49 AM
To: "Fang, Fan (GSFC-610.2)[ADNET SYSTEMS INC]" <fan.fang-1@nasa.gov>
Cc: James Gallagher <jgallagher@opendap.org>, "support@opendap.org" <support@opendap.org>
Subject: Re: [support] logrotate practice

On Aug 29, 2017, at 09:22, Fang, Fan (GSFC-610.2)[ADNET SYSTEMS INC] <fan.fang-1@nasa.gov> wrote:

Hi. It seems that ‘/etc/logrotate.d’ in the release 1.13.4 RPM restarts bes and tomcat every day. This would be fine if we had not other processes relying on tomcat but has since caused troubles to these processes. In a few cases the bes failed to restart also.

This is at least in conflict with our own processes that truncates and backup the previous day’s log, which do not require restarting the server. Can we adopt a similar practice in Hyrax, or at least a less brute-force one?

Hi James,

Sorry for the late response. I have below a logrotate setting that we use on a typical server. Let me know if you need more info.

-Fan

Environment

None

Assignee

Uday Kari

Reporter

James Gallagher

Labels

Epic Link

Components

Priority

Medium
Configure