[undertow-dev] Lingering session resources in keepalive

Eric Peters epeters at epicor.com
Thu Jun 18 10:57:52 EDT 2015


We're still trying to confirm things on our end, so it's still possible a wrong assumption's been made somewhere, but it looks like session resources are lingering with the http connection after the session has expired.

>From one of the heap dumps, following session data that expired the previous day back to a GC root:
http://imgur.com/Ov8xFy1
That's from a dump where the read-timeout was disabled.

We can set the read-timeout, but I don't know if the behavior of keep-alive will limit the impact of the read timeout.  After the reply has been created and sent, do the particulars of the request or reply need to be kept beyond the expiry of the session they were for?

Is there a way to disable keep-alive?  In this particular instance it's more important that the resources be freed up timely than it is that the server use keep-alive to give a boost on performance..

//EricP


This message has been scanned for malware by Websense. www.websense.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20150618/47c6e177/attachment-0001.html 


More information about the undertow-dev mailing list