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

Francois Papon resolved SHIRO-668.
----------------------------------
    Resolution: Resolved

> 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: 3h 10m
>  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
(v8.3.4#803005)

Reply via email to