-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Chaitanya,
On 7/21/17 11:44 AM, Chaitanya Sabbineni wrote: > Thanks a lot for the help. > > can you let me know how to check if there is a way to check if any > log rotator is configured. Look in /etc/logrotate* for log rotation settings Look in /etc/cron* or system cron jobs Look in /var/spool/* for user crontabs If you get despirate, there is always: # find / -type f -print0 | xargs -0 grep -i "catalina" - -chris > On Fri, 21 Jul 2017 8:54 pm Christopher Schultz, < > ch...@christopherschultz.net> wrote: > > Coty, > > On 7/21/17 8:51 AM, Coty Sutherland wrote: >>>> On Thu, Jul 20, 2017 at 3:05 PM, Chaitanya Sabbineni >>>> <sabbinen...@gmail.com> wrote: >>>>> Hi, >>>>> >>>>> just to explain you what exactly is happening. We are >>>>> taking back up of the server at 12:00 AM daily.which is a >>>>> type of offline backup.After backup server is running fine >>>>> for 2 hours and exactly at 2:00am server is stopping on its >>>>> own. This issue of stopping is not occurring daily.And when >>>>> ever this issue occur it is at 2:00 AM. >>>> >>>> Always stopping at 2:00 AM is very suspicious. As you're on >>>> linux and I've seen user experience similar things before >>>> before, please verify that you don't have a cronjob that's >>>> killing/restarting the service in addition to the previous >>>> suggestion to check for logrotate. You said it doesn't stop >>>> daily, but does it stop weekly or every N days? I'm sure that >>>> there's some sort of pattern to this in addition to stopping >>>> at a specific time. > > +1 > > This is almost certainly some kind of log-rotation or other > scheduled thing. Maybe it only happens on some days because the > log-rotator only bothers to rotate the log when it exceeds a > certain size. In that case, it checks every day at 02:00 but only > tries to bounce Tomcat if the log is a certain size. > > Since the application doesn't shut-down cleanly, "bouncing" Tomcat > fails . > > This is all pure speculation, but such a scenario would fit the > evidence . > > -chris >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJZciWQAAoJEBzwKT+lPKRY6dIQAL7cCmG9hXNMDyqvngPf0hxs rlyOfNEgUmEHAiwgdpe7gFkVZhNXnB6w20RtFSHV4nqbLGNCi9Vx0bgypdpPOPps heF5+ab6mrSG0b1SAA7WtuCYRBWYrmTlkemEG0HJdz6NXbgeIxM1eE31hQs067do tdfnOSgN64b4IQDqt5Qt8TLJbafHcoAIvFB8jbQZxL+EFullM1EID4buZDVZonDp 0Wdkn28bjLxFxCzS/fFXcNnp65/o58OxSR3c8Etgod7zeNwgwHOKUoaQFKXbW4rH Xfqav97CDt1F+0pXtuYYPBK+Q8R284wE0A53pFYCq4nwWAdmzzRM5MIfsSYEqvFY b4L/4qY6PKYc1iOn2mRys1VkgJNz/hNS/f9FFQTUVUkM34hhrW/3BCKVxa2sWqds 71EPold/WGsjD8kb0uD5qxcvC7bcmTFFTXCx5i+Zgloo8SZo1Rdbxd3lO/BKnJ9N C4h5WYI6Ojt4kGd3PeLTkgQTLrmE2YybVEZnilPiCWH02B+CgkmUQm66UBmexJa6 LfIVJvWkzHNd7ceBC7KsJlEMum0DGc3mTIxsC2nP8m3fLIutBrX/ySbB7cE4iabh ZzCM1QkCubyoEXEGcqYJ2AHBe1i1cphfMNFsNNzoMmM5ixFa0fln5AJsbWFMnL+g lU9RVuuhZC0gOtiIsvLz =+yFy -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org