Skip to content

Check inactive WebSocket/SockJS sessions before they're connected on the STOMP level [SPR-11884] #16503

@spring-projects-issues

Description

@spring-projects-issues

Prashant Deva opened SPR-11884 and commented

This is referencing the issue I wsa discussing with Rossen over email during the begining of the week.

Its reproducible on both Tomcat 7.0.53 and 8.0.8.

The number of files created by Spring keeps on increasing if there are a high number of connections (100s or 1000s). Increasing limit using ulimit is of no use since the number of files created will keep growing till the limit is hit, no matter what limit is set.

The issue is not visible when there are only a small number of connections.

I dont know of a good way to simulate hundreds or thousands of users so I have given Rossen full access to our production servers (over email) to reproduce the issue, including the source code of our app.

This is a blocker since our app crashes within minutes of starting and there is nothing we can do to keep it up


Affects: 4.0.5

Referenced from: commits 2b1ff4c, 40c203c, d18fc53, 113fd11, 7dc2b29, 86de416, 618771d, 3af488a, a3fa9c9

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions