Hi All,

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.

Thanks & Regards,
Chaitanya

On Fri, 21 Jul 2017 8:54 pm Christopher Schultz, <
ch...@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> 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
> -----BEGIN PGP SIGNATURE-----
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJZchydAAoJEBzwKT+lPKRYFI8P/RbVaRqNb9V0lZBU1bvZuTPc
> mtlrU7zvJ8lQd0/XNff0z6YRwLpx0YoB881ZWjROkR6ybZTce+CXDxi9wySnPsvR
> ij1slZhQhm1SBEb1hvWmYWop9Up17rb3O3XBF0EVkFuc/S8U0ZLD4lTSH+kjyCm4
> OpTWV+K+rUd87MGMO9CNQ114aRvHPuNObBDF2rjnC/sxJOlDV40hh+UmL2il4vgP
> NeLUZeQ0qfCPwHpjduKdCdUHIs5BrVgFz1gf3MYbGSK9VTAr0FGfJdrU+IKhsKrG
> pXWVsmLVN/EzkArxhwsLxoILwBIJsBiXse+uUOe1RryL0P4KNxYkI1GZRIjqCcKn
> bZN6Y7Jf2X+qpJ2zN0OmRWnGrjvJpvH+J0SAcvJDsZKRECJWnODUiAl4FDJXTDh+
> sdHhhR9KOzJua07OGJMIhXJVHIP7/8e+T1unHus1BWIms5bS+4hnz/CzZRaFsRHx
> O/Focpfd3vZj0YbkDcM5YZDu0FzwURptU8DM9eDOGDhCF/KDqDaVDDjwluPqOZLA
> sQV+l7nq639qVGcDaMEElT0EuFzbX4ik4zUwIhp9nVdt2uHTUy9Lceu4WGu5+SjV
> 50ykbwfRrN1p1f6qgeTqfUHl6d9O317+nnaGEUiJJIStjsTZGsamgRKYVZ3cbPIm
> bQjuv+aLAA4MvRpYTwBh
> =O9nD
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to