Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1074 | minor | always | 04-24-06 13:41 | 07-18-06 16:16 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.20 | ||
|
|||||
Summary: | 0001074: shutdown behavior | ||||
Description: |
(rep by Bill Au) I am using my own shell script to stop resin. It calls https.sh stop. After that it ensures that resin has stopped by executing the ps command and to see if the process is still running. It does so for 300 seconds before timing out. I had an isolated instance where the stop script timed out after 300 seconds. We were able to stop resin by running the stop script again. I found the following in resin.stdout: Stopping httpd [2006-04-21 11:17:14.752] Server[] stopping [2006-04-21 11:17:14.775] Host[] stopping [2006-04-21 11:17:14.775] WebApp[http://localhost:8100] [^] stopping [2006-04-21 11:17:14.793] directory: destroy [2006-04-21 11:17:14.793] resin-file: destroy [2006-04-21 11:17:14.793] status: destroy [2006-04-21 11:17:14.794] WebApp[http://localhost:8100/webapp1] [^] stopping [2006-04-21 11:17:14.871] WebApp[] starting [2006-04-21 11:17:15.101] directory: destroy [2006-04-21 11:17:15.101] resin-file: destroy [2006-04-21 11:17:15.116] WebApp[http://localhost:8100/webapp2] [^] stopping [2006-04-21 11:17:15.117] resin-file: destroy [2006-04-21 11:17:15.119] WebApp[http://localhost:8100/webapp3] [^] stopping [2006-04-21 11:17:15.120] resin-file: destroy [2006-04-21 11:17:15.121] WebApp[http://localhost:8100/webapp4] [^] stopping [2006-04-21 11:17:15.122] directory: destroy [2006-04-21 11:17:15.122] resin-file: destroy I did not expect to see the "WebApp[] staring" message during shutdown. In addtional, it differs from the normal starting messages that I am used to see in that the port and webapp name usually shows up in between the []. I check the access log and found that there were 4 requests at the time resin was being stopped. Three of them returned with a 200 response while the other one returned with a 500 response. Could they have caused the mysterious "WebApp[] starting" message? Will <shutdown-wait-strategy> (http://bugs.caucho.com/view.php?id=1057) [^] resolve this problem for me? |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|