Possible causes for a session leak

4

Through a monitoring tool, I'm noticing that my application has a considerable user session leak. Each day, about a thousand user sessions are created, with none being destroyed. To take the sessions from memory, you need to restart the application server.

In addition to the timeout of the session not being defined, what else could cause a session leak?

    
asked by anonymous 27.10.2014 / 17:48

1 answer

1

What can cause this type of problem in JSF applications is as follows:

  • ManagedBeans with life cycles defined as ApplicationScope or SessionScoped that are not properly handled.
  • PhaseListener bad writings that record many things in the session and do not remove.

Generally this type of problem is programming and not technology . I suggest you review the application code.

    
05.12.2014 / 12:42