Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-11884

Check inactive WebSocket/SockJS sessions before they're connected on the STOMP level

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Complete
    • Affects Version/s: 4.0.5
    • Fix Version/s: 4.0.6, 4.1 RC1
    • Component/s: Messaging:WebSocket
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              rstoya05-aop Rossen Stoyanchev
              Reporter:
              pdeva Prashant Deva
              Last updater:
              Phil Webb
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 21 weeks, 3 days ago