HTTP Hang on Shutdown

Domino 6.53 (but I don’t think this is specific to this release)

Our server is taken down automatically each night. Occasionally, HTTP will hang and the server will not go down, and subsequently cannot come back up without manually killing HTTP. There is one single thread that keeps HTTP from shutting down, and it’s in the log for hours before time for shutdown (and appears hours before shutdown when I do a "tell http show thread state), then hangs HTTP at shutdown. Is there any reason that a thread will not release? And is there any command that I’m not aware of that I can use to drop all HTTP threads just before that shutdown to ensure that it will take place as expected?

Log entries after server is shutting down…same thread over and over for hours.

04/22/2005 03:01:52 AM HTTP Server: Waiting for session to finish: Session State [Processing Request] Session ID [7051] POST db.nsf/item%20detail?OpenForm&Seq=1&docid=990BDB9626FC993E85256FE90075B912&issby=Acme HTTP/1.1

Any ideas?

Subject: HTTP Hang on Shutdown

Greg

Does the item detail form in the database have an agent running on it (webquerysave)? Could be that the agent is not terminating as expected.

Ben

Subject: RE: HTTP Hang on Shutdown

I would think an agent might be the issue, but I’ve also seen this thread hang with “?OpenImageResource” URLs.

Subject: RE: HTTP Hang on Shutdown

No, it doesn’t. I traced the time and see that around 9:45pm a particular user clicked the button for that spawned this thread, and it stayed as an active thread for hours until the server was manually restarted after it wouldn’t shutdown because of this one thread.

I also have notes from a couple weeks ago when it happened as well.

04/07/2005 12:35:44 AM HTTP Thread State: Thread: [c00] State: [Worker

processing request] Other Info: POST

db.nsf/Issues?OpenForm&Seq=1 HTTP/1.1

Different db, but part of the same app. I’ve seen these things in the past at other places and there seems to never be any pattern.

Thanks for your questioning. Helps to look around for things others have seen cause issues.

Subject: HTTP Hang on Shutdown

I’ve definitely seen this issue on our servers too. At times there will be a handful of threads that are in the “waiting for session to finish” state. I’m thinking 6.5.4 might be better about this, but I’m not sure. We’ve been using 6.5.2FP1 primarily on our servers here.

Subject: RE: HTTP Hang on Shutdown

If 6.54 is better I would be surprised, only because my experience has been that this also will occur intermittently in version of R5.x as well. I think it’s one of those things that may not have a true or complete answer, unfortunately.

Hopefully I’m wrong.

Subject: HTTP Hang on Shutdown

http://www-1.ibm.com/support/docview.wss?rs=899&context=SWD00&context=SWC00&context=SSKTK9&context=SSKTL5&context=SSKTM2&context=SSKTMJ&context=SSKTPA&context=SS5LUA&context=SSMT72&context=SSKTTW&context=SSKTWB&context=SSKTWP&context=SSKTYF&context=SSYSVG&context=SSKTZF&context=SS6PC5&context=SS6JT7&context=SSLJ3H&context=SSZHFR&context=SS6JUL&context=SSFLMV&context=SSYJJC&dc=DB510&dc=DB520&dc=D800&dc=D900&dc=DA900&dc=DA800&dc=DB530&dc=DA600&dc=DB550&dc=D100&dc=D600&dc=D700&dc=DA500&dc=D200&dc=DA430&dc=DA440&dc=DA410&dc=DA450&dc=DA420&dc=DA460&dc=DB300&dc=DA470&dc=DA480&dc=DB100&dc=DA4A10&dc=DA4A20&dc=DA700&dc=DA4A30&q1=Waiting+for+session+to+finish&uid=swg21200132&loc=en_US&cs=UTF-8&lang=en

Solution

In one particular case, there was an error in the Directory Assistance configuration. The issue was resolved by disabling Directory Assistance and restarting the server

Subject: RE: HTTP Hang on Shutdown

Thanks. But in our case, we don’t run directory assistance.