• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Immortal sessions in production
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Immortal sessions in production


  • Subject: Re: Immortal sessions in production
  • From: Kieran Kelleher <email@hidden>
  • Date: Wed, 20 Aug 2008 13:06:40 -0400

Put a log message (use log.error and smtp appender if you want instant emails) in the Session constructor and log the stack trace aswell as any other WOContext/WORequest information to get clues as to what and when this is going on.

HTH, Kieran


On Aug 20, 2008, at 12:54 PM, Simon McLean wrote:

Hi All -

Wondering if someone can throw me some ideas on solving what looks like an immortal session problem.

- Start up 1 instance in java monitor.
- User lands on sessionless login page. No sessions.
- User logs in. 1 session.
- User logs out. 0 sessions.
- User logs in. 1 session.
- User does nothing. Session times out. 0 sessions.

All looks good. However, we get to the end of the day and the instance has 376 active sessions. But I know for this particular app there are only 6 users, because they are all sitting next door :-) Also, If i now leave this instance overnight none of those active sessions will go away.

So what could be going on ? Something appears to be creating immortal sessions, but forced session termination (by the user logging out) and session expiration seem to be behaving themselves.

Any pointers ?

Thanks, Simon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Immortal sessions in production
      • From: james o <email@hidden>
References: 
 >Immortal sessions in production (From: Simon McLean <email@hidden>)

  • Prev by Date: Re: Immortal sessions in production
  • Next by Date: Re: Single Table inheritance and EM question
  • Previous by thread: Re: Immortal sessions in production
  • Next by thread: Re: Immortal sessions in production
  • Index(es):
    • Date
    • Thread