May 9, 2016 1:37 PM
2 Posts

HTTP thread hung and not getting released

  • Category: Domino Administrator
  • Platform: Windows
  • Release: 9.0.1
  • Role: Administrator,Developer,End User
  • Tags:
  • Replies: 3

We are having issues with one of our apps where the HTTP thread is not getting completed and the server gets hung. The functionality of the web app is to get input from the user and run a query in SAP and show the result as an excel report.

The issue is happening only to some users and working fine for others. When I run "tell http show thread state" in console this is what i see.

05/09/2016 10:27:17 AM  Http Worker Thread ID [fe0]: Working session [16d7]: Session State [Processing Request] : Client IP Address [1.1.1.1] : User Name [Anonymous] : GET /report/report.nsf/0/0DA6A7B9159F8AE788257FAE0046BDF4/$File/excelreport.xls HTTP/1.0
05/09/2016 10:27:17 AM  Http Worker Thread ID [870]: Working session [16fe]: Session State [Processing Request] : Client IP Address [1.1.1.1] : User Name [Anonymous] : GET /report/report.nsf/0/1F91723CF3DB2A7F88257FAE004757B7/$File/excelreport.xls HTTP/1.0
05/09/2016 10:27:17 AM  Http Worker Thread ID [1004]: Working session [1add]: Session State [Processing Request] : Client IP Address [1.1.1.1] : User Name [Anonymous] : GET /report/report.nsf/0/98EB33012D96933188257FAE0054CF3A/$File/excelreport.xls HTTP/1.0
05/09/2016 10:27:17 AM  Http Worker Thread ID [1008]: [Thread State is Idle]

The excel report gets generated successfully and presented to the user but these threads still hang on. The same functionality used to work fine when he had the Lotus 8.5 version. I am also not sure why it shows user name as Anonymous when the user is actually logged in.

Can someone help me out?

TIA

May 9, 2016 2:38 PM
87 Posts
probably an infinite loop
Your code is probably stuck in a loop waiting for something to happen or break out.

You probably need to examine your code and see where it is possible to create this. Maybe put in a counter in the loops so after x number of tries to get data, etc. it breaks out.

I get the same error if I create an infinite loop while developing. The only remedy is to restart the server. Restarting HTTP does not usually work.

Howard
May 10, 2016 10:03 AM
212 Posts
debug Aplication Code

If you are unable to debug the application code to discover the issue, you should open a PMR with the Domino Application Development Team to seek assistance.

May 17, 2016 2:23 PM
2 Posts
It is not even code

Sometimes it happens to users when they are trying to open an attachment, say a PDF from a document. There is no code here.

E.g. Http Worker Thread ID [e14]: Working session [3fb]: Session State [Processing Request] : Client IP Address [10.18.9.182] : User Name [Anonymous] : GET /report/report.nsf/0/0DA6A7B9159F8AE788257FAE0046BDF4/$File/Labeling%20Requirements.pdf?OpenElement HTTP/1.0