Author |
Topic |
bjlt
Senior Member
1144 Posts |
Posted - 07 December 2002 : 06:33:31
|
I got a message from my host.
quote:
According to our findings, you have sessions that are opening but never closing, thus zombie sessions are kept opened and server resources are used to keep those sessions open.
while I'm writing to my host to clarify on this, I wonder aren't sessions are auto closed after a period, say 20 minutes by default? |
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 07 December 2002 : 06:43:50
|
quote:
while I'm writing to my host to clarify on this, I wonder aren't sessions are auto closed after a period, say 20 minutes by default?
Thats what i thought |
De Priofundus Calmo Ad Te Damine |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 07 December 2002 : 07:19:08
|
They're supposed to timeout after a period of inactivity.
You could lower this value by placing Session.Timeout = 5 in your files somewhere at the top, this should reduce it to 5 minutes
http://www.15seconds.com/faq/ASP%202.0/424.htm |
Kiwihosting.Net - The Forum Hosting Specialists
|
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 07 December 2002 : 07:46:00
|
I find that something about session expiration does not work very well. I keep a count of who is online using session vars and sometimes members are counted as being online indefinitely. Either session expiration does not happen as it should or the server has problems executing the procedures it should when the sessions expire... |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 08 December 2002 : 08:10:00
|
sessions are supposed to time out, you shold write to your host and ask them how they expect you to close the sessions ?
I would be very interrested to see there answer, if they can dig themselves out of that hole, we should probably all go and host with them. Your site has absolutely no control of when a session gets released, it is entirley dependant on your users browser and the server itself, all you can do is shorten the session timeout value or lengthen it, but you can not control whether they actually timeout or not. |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 08 December 2002 : 09:12:15
|
I'm looking forward to their answer !
You do have a small additional bit of control over things by using isClientConnected, however this is only usefull for terminating long running scripts if the user hits stop or closes their browser, I can't think of any way it could be used to issue say a Session.Abandon to release sessions an earlier than their natural timeout value.
|
Kiwihosting.Net - The Forum Hosting Specialists
|
|
|
bjlt
Senior Member
1144 Posts |
Posted - 08 December 2002 : 12:32:13
|
I've written to them yet haven't got their answer.
Well, my site hosted there is still under testing and we only have a few visitors, still I got that warning message, I wonder what will happen if the sites is actually up.
However, they said my site is closed temporarily untill I have solved the problem or I have to upgrade to dedicated server, but the site is still up. Maybe it's a malfunction of their server to send out the warning message, I'll wait and see what they will reply.
Anyway, I have to leave them when the site is ready, something wrong in the route between me and the host recently inspite of the fact it's quite fast when I rent the space, I did a tracert and found it's not their problem but somewhere in the middle, guess my local ISP swiched the international link provider. |
|
|
Deleted
deleted
4116 Posts |
Posted - 08 December 2002 : 13:20:16
|
quote:
...or I have to upgrade to dedicated server,...
Maybe they are trying to sell you this... |
Stop the WAR! |
|
|
bjlt
Senior Member
1144 Posts |
Posted - 09 December 2002 : 22:28:09
|
ok, got their reply and I have to write to them agian.
quote:
Yes, those sessions will close in due time. But imagine if all of the domains that you share this server with never closed their sessions? Imagine how much of the server resources are allocated in waiting to close that session for all the pages on everyone's domains on the server. What do you expect the server to do?
Close your sessions. Reply to us when you have this done and we will be more than glad to enable your site.
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 09 December 2002 : 23:33:49
|
if they are worried about the length of time sessions are staying open, then they should do something about it, you can't control the termination of a session.
The forum does not alter the timeout in any way, so its behaviour is entirely dependant on the servers settings. |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 10 December 2002 : 00:14:50
|
HuwR's already covered it really, but you have no control over the sessions other than overriding the default timeout value, as it stands now anyway Snitz uses *very* few session variables. I honestly don't think your Host understands the concept of session variables. |
Kiwihosting.Net - The Forum Hosting Specialists
|
|
|
Doug G
Support Moderator
USA
6493 Posts |
Posted - 10 December 2002 : 02:18:14
|
I'd look for another host. Perhaps your current host can give you some step-by-step instructions how they expect you to accomplish what they are asking?
Perhaps it's a matter of terminology and they are referring to database connections, not IIS user sessions.
|
====== Doug G ====== Computer history and help at www.dougscode.com |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 10 December 2002 : 04:30:20
|
quote: Perhaps it's a matter of terminology and they are referring to database connections, not IIS user sessions.
I would say thats quite likely, but are you using SQL Server bjlt ? |
Kiwihosting.Net - The Forum Hosting Specialists
|
|
|
bjlt
Senior Member
1144 Posts |
Posted - 10 December 2002 : 05:24:00
|
Yes I'm using SQL server.
It's likely to be the database connection as in my site it's the old version of 31sr4 with some mods for test. some doesn't close the connections but I haven't update them.
I've writen to them to clarify on this.
Thanks. |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 10 December 2002 : 05:48:21
|
Well taking the time to upgrade to 3.4 is probably your best course of action, even if you have to lose a few mods for a while until you manage to find time to implement them, it may be better than having your site 'cut-off' by your hosts. |
Kiwihosting.Net - The Forum Hosting Specialists
|
|
|
bjlt
Senior Member
1144 Posts |
Posted - 10 December 2002 : 06:09:32
|
Thanks, yes i'm upgrading. Havent' completed yet and that site is never up for the public. |
|
|
Topic |
|