View Issue Details

IDProjectCategoryView StatusLast Update
0004403SymmetricDSBugpublic2020-09-03 12:56
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.11.0 
Target Version3.11.9Fixed in Version3.11.9 
Summary0004403: Authentication interceptor out of memory
DescriptionAfter a few days, the server ran out of memory, which was traced back to AuthenticationInterceptor whose map of node authentication sessions had grown too large. The root cause was the load balancer using round robin across the cluster, causing new sessions to be established with each request. A node would have a session with server 1, which would be invalid when talking to server 2, so it would acquire a new session.

Let's prevent running out of memory with a parameter to limit the number of sessions. When the max sessions is reached, remove expired sessions and at least the oldest session. Log a warning that references the parameter documentation.

http.session.max.count=15000
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.11 6ea3a61f

2020-05-20 14:41:26

admin

Details Diff
0004403: Authentication interceptor out of memory Affected Issues
0004403
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/common/ParameterConstants.java Diff File
mod - symmetric-core/src/main/resources/symmetric-default.properties Diff File
mod - symmetric-server/src/main/java/org/jumpmind/symmetric/web/AuthenticationInterceptor.java Diff File
mod - symmetric-server/src/main/java/org/jumpmind/symmetric/web/ServerSymmetricEngine.java Diff File

Issue History

Date Modified Username Field Change
2020-05-20 18:40 elong New Issue
2020-05-20 18:40 elong Status new => assigned
2020-05-20 18:40 elong Assigned To => elong
2020-05-20 18:40 elong Tag Attached: runtime
2020-05-20 18:41 elong Status assigned => resolved
2020-05-20 18:41 elong Resolution open => fixed
2020-05-20 18:41 elong Fixed in Version => 3.11.9
2020-05-26 16:37 elong Status resolved => closed
2020-06-04 17:55 admin Changeset attached => SymmetricDS 3.11 6ea3a61f
2020-09-03 12:56 admin Tag Detached: runtime