We have a windows client sending requests to a web service through a tomcat server. However some of the requests are getting stuck and taking 17 mins to come through whereas the usual request time is a second.
While analysing the web service logs I can see that for requests that get stuck, the header of the previous request is missing the connection:keep alive bit.
Which kind of means that since the connection isn't alive, the whole TCP channel needs to be established causing the 17 min delay?
But what causes the 'connection: keep alive' to go missing?
It's pretty random, like 1 or 2 requests having this issue out of 30 odd requests.
I checked the server.xml file but can't find any respective parameters there.
We are using HTTP/1.1
Any help will be appreciated.
Thanks, Taps