Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006385 [Resin] minor always 04-06-21 08:46 04-29-21 14:37
Reporter nam View Status public  
Assigned To ferg
Priority normal Resolution no change required Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 4.0.64
  Product Build
Summary 0006385: watchdog sometimes getting UNKNOWN status code=13 from normal resin child shutdowns
Description (rep by Mitsuo)

A normal shutdown would sometimes be detected by the watchdog as an UNKNOWN shutdown, instead of OK.


[2021/03/18 21:16:04.434] {main} Resin Professional 4.0.64 (built Tue, 11 Feb 2020 02:04:04 PST)
[2021/03/18 21:16:04.434] {main}
[2021/03/18 21:16:04.434] {main} Linux 2.6.32-573.el6.x86_64 amd64
[2021/03/18 21:16:04.434] {main} Java(TM) SE Runtime Environment 1.8.0_102-b14, UTF-8, ja
[2021/03/18 21:16:04.434] {main} Java HotSpot(TM) 64-Bit Server VM 25.102-b14, 64, mixed mode, Oracle Corporation


watchdog-manager.log
====================
2021/03/18 21:16:04.558] {watchdog-app-2} WatchdogChild[app-2] starting
[2021/03/18 21:16:04.565] {watchdog-app-2} Watchdog starting Resin[app-2]
[2021/03/19 21:05:10.824] {resin-27} Watchdog received warning from Resin[app-2,pid=8648]:
                                       Shutdown: Resin shutdown from watchdog stop 'watchdog@admin.resin.caucho'
[2021/03/19 21:05:12.725] {watchdog-app-2} Watchdog detected close of Resin[app-2,pid=8648]
                                             exit reason: UNKNOWN (exit code=13)
[2021/03/19 21:05:12.725] {watchdog-app-2} WatchdogChild[app-2] stopped
[2021/03/19 21:05:12.725] {watchdog@admin.resin.caucho-31} WatchdogActor[]: stopped server='app-2'



jvm-app-2.log
=============
[21-03-19 21:05:02.157] {resin-port-BUAP03:6800-13985} ClusterServer[id=dyn-app-0-10.1.73.45:6830,10.1.73.45:6830] notify-heartbeat-stop
[21-03-19 21:05:10.822] {resin-main-link} ProResin[id=app-2] stop request from watchdog 'watchdog@admin.resin.caucho'
WarningService: Shutdown: Resin shutdown from watchdog stop 'watchdog@admin.resin.caucho'
[21-03-19 21:05:10.823] {resin-main-link} WarningService: Shutdown: Resin shutdown from watchdog stop 'watchdog@admin.resin.caucho'
[21-03-19 21:05:10.841] {resin-shutdown} ProServer[id=app-2,cluster=app] stopping
[21-03-19 21:05:10.846] {resin-shutdown} Host[production/host/default] stopping
[INFO] c.c.s.w.WebApp - [] WebApp[production/webapp/default/imself] stopping
[21-03-19 21:05:10.846] {resin-shutdown} WebApp[production/webapp/default/imself] stopping
[21-03-19 21:05:11.961] {resin-shutdown} WebApp[production/webapp/default/ROOT] stopping
[21-03-19 21:05:11.962] {resin-shutdown} WebApp[production/webapp/default/resin-admin] stopping
[21-03-19 21:05:12.200] {resin-shutdown} ClusterServer[id=app-2,BUAP03:6800] notify-heartbeat-stop
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0006959)
ferg
04-29-21 14:37

That exit code isn't exact. It's possible there's a timeout or exception that's not caught in the logs before the exit.
 

- Issue History
Date Modified Username Field Change
04-06-21 08:46 nam New Issue
04-06-21 08:48 nam version 4.0.65 => 4.0.64
04-06-21 08:48 nam Description Updated
04-29-21 14:37 ferg Note Added: 0006959
04-29-21 14:37 ferg Assigned To  => ferg
04-29-21 14:37 ferg Status new => closed
04-29-21 14:37 ferg Resolution open => no change required


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker