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

Francois Papon updated SHIRO-668:
---------------------------------
    Fix Version/s:     (was: 1.4.1)
                   1.5.0

> Catch unexpected errors which can lead to oom
> ---------------------------------------------
>
>                 Key: SHIRO-668
>                 URL: https://issues.apache.org/jira/browse/SHIRO-668
>             Project: Shiro
>          Issue Type: Improvement
>            Reporter: Francois Papon
>            Assignee: Francois Papon
>            Priority: Major
>             Fix For: 1.5.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Unexpected errors in the "run" method of the validation 
> ExecutorServiceSessionValidationScheduler can kill the validation thread an 
> it will not be executed anymore (see 
> [StackOverflow](https://stackoverflow.com/questions/6494557/why-does-a-scheduledexecutorservice-not-run-a-task-again-after-an-exception-is-t).)
>  This can lead to OOM's through too much sessions and can be a security risk 
> by never ending sessions.
> Catching "Throwable" is not the cleanest solution but it garant that the 
> thread will be executed in the future.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to