ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Offermans (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (ACE-318) HTTP sessions don't expire
Date Tue, 19 Feb 2013 15:11:12 GMT

     [ https://issues.apache.org/jira/browse/ACE-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcel Offermans reopened ACE-318:
----------------------------------


HTTP sessions are cleaned up, but the underlying sesssions are not.
                
> HTTP sessions don't expire
> --------------------------
>
>                 Key: ACE-318
>                 URL: https://issues.apache.org/jira/browse/ACE-318
>             Project: ACE
>          Issue Type: Bug
>          Components: UI
>            Reporter: Marcel Offermans
>            Assignee: Marcel Offermans
>
> After some debugging and reading, I discovered that our HTTP sessions by default have
a timeout of 0, which means they never expire. Why this is the default I'm not sure but we
should fix this, because if you create enough sessions, you will now run out of memory. Two
solutions are possible:
> 1) Use the development version of the Felix HTTP service, which does have support for
configuring the timeout. Actually the documentation already mentions this, it just fails to
mention that the latest release does not yet support that option.
> 2) Explicitly use setMaxInactiveInterval(secs) on each session we create. Provided we
can hook into each location where sessions are created, this should work too, and won't require
us upgrading to some snapshot version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message