• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

birdsafe
#1 Posted : Tuesday, September 11, 2007 11:05:34 AM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

Since moving to BV5 (from SF6) I've noticed a high incidence of losing my session. At least once a day I will be navigating the Admin area and will have to log in, even though my browser has only sat idle for maybe 1 minute, sometimes not at all. I'm having my host look at the logs to see if they can see anything, but was wondering if anyone esle saw this or had a clue.


I'm also wondering if it has anything to do with some invalid postback errors I'm seeing with customers on the cart page. Not sure what they are doing, but it's a validation issue - so I'm wondering if they are doing something and losing their session and that is what is causing the validation error.
MitchA
#2 Posted : Tuesday, September 11, 2007 10:18:46 PM(UTC)
MitchA

Rank: Member

Joined: 3/3/2006(UTC)
Posts: 1,737

Joe, even back to SP1 I've yet to get knocked off.
Optimists invent airplanes,
Pessimists buy parachutes.
birdsafe
#3 Posted : Wednesday, September 12, 2007 9:10:51 AM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

Host is saying that a "User Session XXXX" -- where there is a number in place of XXXX (different each time) has reached some sort of time limit and forced an application recycle, even though it happens after only minutes (or less) of activity.
bvuser
#4 Posted : Wednesday, September 12, 2007 9:38:55 AM(UTC)
bvuser

Rank: Member

Joined: 4/10/2006(UTC)
Posts: 462

Hi Joe,

Are you with the same host you were with for storefront? The amount of time a session is active is controlled by iis settings. Not sure if your host gives you access to those settings or whether they control them. But for performance reasons they may have sessions set to expire after only a few minutes rather than after the default 20 minutes. That is the only thing I can think of.
Netriplex Corporation<br />
Noah
#5 Posted : Wednesday, September 12, 2007 9:38:58 AM(UTC)
Noah

Rank: Member

Joined: 11/6/2003(UTC)
Posts: 1,903

Joe, is the site sharing an app pool with any other sites?

How is your app pool setup?

By default a .NET site will recycle at least once a day and can be controlled as to when.

Does the box have plenty of RAM on it?

Is SQL on the box?
Noah
birdsafe
#6 Posted : Wednesday, September 12, 2007 1:11:50 PM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

Thanks for the responses.

This is a dedicated server with my BV5 site being the only heavily traffic site on it - all other sites are ones that I host, but are small, non-ecommerce sites. The BV store is set up in its on app pool with it's on IP address. Time out is set to 20 minutes -- I control that from the control panel, NET does recycle once a day. I didn't notice the timeouts nearly as much with the previous cart. It doesn't seem to affect customers that much since cart contents don't seem to be tied to a user's session, though I can't be sure it affects them in other ways.
Andy Miller
#7 Posted : Wednesday, September 12, 2007 3:35:10 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: "birdsafe" Go to Quoted Post


...Time out is set to 20 minutes...
The timeout you mention does not recycle the application. It only drops a single session from the session manager when the timeout expires. For example, if 3 people visited your site and only 2 are active, the 3 third session would be dropped after 20 minutes of inactivity. Note that the 20 minute timeout only applies if you are storing sessions in-memory (the default).


On the other hand, if the application is recycled, then all in-memory sessions are dropped.



I think what Noah was getting at, is there are many reasons for an application to recycle: memory exceeded, session count exceeded, running time exceeded, exception exceeded, and many more. Your site might be recycling for several reasons (which would explain why it seems to recycle often). But regardless of the reason, when the application recylcles, all of your in-memory sessions are dropped.



To really solve this, you need to get to the bottom of why the application is recylcing, and then deal with each issue.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
bvuser
#8 Posted : Wednesday, September 12, 2007 4:27:25 PM(UTC)
bvuser

Rank: Member

Joined: 4/10/2006(UTC)
Posts: 462

I also think what Noah was getting at was trying to probe for some information on what exactly is on box, the traffic levels, and the specs of the system.

You say your site is the only site with heavy load. What exactly are you qualify as "heavy" load, 100 simultaneous visitors, 1000, 10,000? As Andy has alluded to the more simultaneous sessions the server needs to handle the more memory it needs to retain session state. Additional services on the box would also help to "eat" away at the available memory that could otherwise be used for session data.
Netriplex Corporation<br />
birdsafe
#9 Posted : Wednesday, September 12, 2007 7:42:32 PM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

I say "heavy load" -- but that isn't much -- I only have perhaps 8 concurrent users at any given time. The box has 1G of memory. SQL is on another server -- which is at a co-location facility, and we are looking at switching to another SQL server in the same facility to see if they slight delay isn't causing the issue.
drodriguez
#10 Posted : Friday, September 19, 2008 9:47:23 AM(UTC)
drodriguez

Rank: Member

Joined: 6/26/2008(UTC)
Posts: 38

Birdsafe, did you ever get this resolved?
David Rodriguez
Infinet Development, Inc.
birdsafe
#11 Posted : Sunday, September 21, 2008 8:49:20 PM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

Yes -- that was a year ago! :-)
blueacorn
#12 Posted : Monday, September 22, 2008 8:02:59 AM(UTC)
blueacorn

Rank: Member

Joined: 6/27/2007(UTC)
Posts: 63

Just curious birdsafe - what was the resolution for this issue?
birdsafe
#13 Posted : Monday, September 22, 2008 12:57:21 PM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

If I remember correctly, it was just fine tuning the site and locating the SQL database on a server in the same location as our data server.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012