Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 Unbalanced SET commands
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 20 November 2004 :  05:21:35  Show Profile
The difference is between IIS5 and IIS6. It is my understanding that IIS6 is pretty much a total rewrite, maybe there are some different configuration settings that need to be tweaked.
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 20 November 2004 :  07:28:50  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
quote:
So whats the big difference between 2k3 and 2k thats causing an issue?


Were there any specific errors popping up on w2003 ? Did the event log show anything?

When I moved to w2003 it took months to configure it properly but its more stable now than w2000 was.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 20 November 2004 :  08:12:40  Show Profile
The only visible (well ) error is that in IE the progress bar only gets to the 4th or 5th marker. There is nothing in the Event Log, and no ASP pages render until Gremlin recycles the application pool.
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 20 November 2004 :  08:23:45  Show Profile
quote:
the two objects mentioned by laser are opened so seldom that they would not cause a problem.

Fair enough, but I posted the problems so they could be fixed - your choice whether they are actually implemented in the code. Now that you have the general jist, I'll abbreviate a bit.

All these objects are not closed :
admin_config_order.asp : rsCount
admin_count.asp : Server2, or can we close it ?
admin_forums.asp : Server2, drs, delRep, rsTcheck
admin_login.asp : dbRs not (now that IS used a lot)
admin_login_short.asp : dbRs
admin_moderators.asp : rs
admin_mod_dbsetup.asp : objFile, objFolder, objFolderContents
inc_func_common.asp : strNTUserInfo
inc_mail.asp : iConf, Flds, gMDUser, gMDMessageInfo
pop_lock.asp : rs
pop_moderate.asp : rsSub


Now this is the "extra info" I was talking about. These MIGHT be related to MODs, but I'm concerned about the Server2 objects. I know it was added to get around a Brinkster hangup but that could be causing a larger issue
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 20 November 2004 :  08:26:43  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
quote:
The only visible (well ) error is that in IE the progress bar only gets to the 4th or 5th marker. There is nothing in the Event Log, and no ASP pages render until Gremlin recycles the application pool.


Happened to me too. I eventually disabled recycling altogether and rapid fail protection.

The biggest (and hardest to fix) issue was the 5000 limit on local ports than w2003 has. If there is a lot of database activity this can cause similar errors to the one you experienced.

When you use a database connection (e.g. to sql server on port 1433) w2003 assigns a random port (below 5000) to the connection locally and 1433 remotely. Some of these connections are used more than once (connection pooling) but some connections end up in a wait state and don't die for about 4-5 minutes before they can be used again.

If you're looping through a recordset one port is opened for each iteration (some of them will be pooled) and you can use up the 5,000 limit rather easily.

Solution - increase the limit (max 65535) and decrease the TTL of 4-5 minutes to 1 minute.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.

Edited by - Podge on 20 November 2004 08:28:07
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 20 November 2004 :  08:31:27  Show Profile
That might help, but at the moment I'm using Access. If Gremlin agrees, he will apply the changes and see if there's any improvement.
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 20 November 2004 :  08:37:23  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
One other thing.

You can schedule IIS6 to restart every couple of hours (I set it at 6) to free up resources. It only takes about 30 seconds to restart and it may startup any website which has been disabled by rapid fail protection.
Just add iisreset.exe to the task scheduler and set a schedule.

IIS6 is a lot less forgiving than IIS5 but it is a lot more stable.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 20 November 2004 :  08:57:31  Show Profile
Yes, Gremlin has this set to a fairly low value, but for the users that use active.asp it's the pits! ... if you cross over the restart time then you're "last visited" date gets reset ... not fun at all.

But we are working towards a solution asap.
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 20 November 2004 :  09:20:39  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Include this on your page - Server.ScriptTimeout = 180

It will overide the server setting.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 20 November 2004 :  11:12:04  Show Profile  Visit HuwR's Homepage
quote:

All these objects are not closed :
admin_config_order.asp : rsCount
admin_count.asp : Server2, or can we close it ?
admin_forums.asp : Server2, drs, delRep, rsTcheck
admin_login.asp : dbRs not (now that IS used a lot)
admin_login_short.asp : dbRs
admin_moderators.asp : rs
admin_mod_dbsetup.asp : objFile, objFolder, objFolderContents
inc_func_common.asp : strNTUserInfo
inc_mail.asp : iConf, Flds, gMDUser, gMDMessageInfo
pop_lock.asp : rs
pop_moderate.asp : rsSub


Now this is the "extra info" I was talking about. These MIGHT be related to MODs, but I'm concerned about the Server2 objects. I know it was added to get around a Brinkster hangup but that could be causing a larger issue


I don't know how many times I am going to have to say this, but the only one of these that may be a problem is the mail stuff. unless you use all those admin pages hundreds of times a day, which I very much doubt. strNTUserInfo is only if you are using NT authentication, which I doubt too, since you are running a website not an intranet.

pop lock is only used when you lock a topic, so once again is very unlikely to be a problem unless you are locking/unlocking hundreds of posts at a time. Also, you will not be using all the objects in inc_mail, depends what your using for your mail.
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 20 November 2004 :  17:39:34  Show Profile
Huw, please re-read my first post. I'm trying to highlight problems with the base code REGARDLESS of my current forum problem. I thought I was being proactive in highlighting these problems, but it feels like not. Please completely disregard my forum problem and look at the fixing the coding issues I have highlighted.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 20 November 2004 :  19:13:44  Show Profile  Visit HuwR's Homepage
I have already explained several times why these should not be considered "problems"
Go to Top of Page

Tam
New Member

Sweden
56 Posts

Posted - 20 November 2004 :  19:36:03  Show Profile  Visit Tam's Homepage
If they aren't closed in basecode, why not just say "Ok, we will make sure they are closed in next release", even if they wouldn't cause trouble if left open.
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 20 November 2004 :  19:52:17  Show Profile  Visit MarkJH's Homepage
That would be too easy, Tam.

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 20 November 2004 :  19:52:33  Show Profile
quote:
Originally posted by HuwR

I have already explained several times why these should not be considered "problems"

So the "concerns" I am posting are obviously insignificant compared to the other "problems" posted where the </a> and </font> are in the wrong order and should really be </font> then </a>

quote:
I would think you of all people Huw wouldn't be recommending to someone bad coding practices.

My whole point in raising this thread, but I might just fix all the problems myself and not worry about alerting others to basecode problems.
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07