SunQuest
           Windows Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsWindows Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old March 1st, 2002, 01:15 AM
Pikachu420 Pikachu420 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Sweden
Posts: 45 Pikachu420 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Serious IIS problem! Too many connections?

I had this problem before when developing ASP-pages and I switched to "Windows 2000 Server" just to get rid of it, but now I'm back on Windows XP Pro with IIS 5.01 and the problem persists. I've written to several message boards before about this but no one has been able to figure out what the problem is.

The problem is that when I’m experimenting with a site at home from localhost, after about 10-20 minutes (or maybe 20-30 refreshes of the page) I get this error when I refresh the page: “Too many users connected”. And then, before I can continue to work I have to stop the “World Wide Web Publishing” service and then restart my IIS. Often this is not enough and I have to restart the computer. Obviously this is devastating for my work efficiency and I simply have got to resolve this issue as soon as possible because a server OS is not an option anymore. I’m sticking with XP and all I ask is to be able to work on my ASP-pages locally without interruptions.

So I would really appreciate if anyone could give me _any_ information about this at all. What normally causes this? Could some ASP code be the cause, and if so, what code? I’ve checked that I close all my connections properly so I don’t think that’s the problem, and this even happens on pages where no connection objects are initiated.

Some specs: Windows XP Professional, ASP 3.0, IIS 5.01, MySQL 3.23.49.
__________________
// Pikachu420

Reply With Quote
  #2  
Old March 2nd, 2002, 10:34 AM
andrewl41 andrewl41 is offline
Coder Extraordinaire
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: London
Posts: 33 andrewl41 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
I've never experienced this problem so I'm not sure if this will help but it's something to look at. Unfortunaly I'm running full IIS not a PWS cutdown which you probably are so options may differ slightly, but:

Under the Internet Services Manger, right click on the website and choose properties.

Under the website tab of the resulting window you will see a scetion about connections.

Here there is an option to limit the number of concurant connections to the site, usually used to protect bandwidth. Set this to unlimited if it is not already.

If there is a limit set, it is possible that this limit could be reached, especialyy during development when your regually refreshing your page. Another approach might be to redce the connection time-out so the become free quicker.

If this doesn't help then let me know, I might have come up with something else...
__________________
Andrew

"Chaos Theory is a theory invented by scientists panicked by the thought that the public were beginning to understand the old ones."

Reply With Quote
  #3  
Old March 2nd, 2002, 12:05 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
Maybe you have a developer version of IIS (most times if you get it for free). they are limited to 10-30 connections i think. try to find an option to turn off "persistent connections" / "http-keepalive". then you should have no more problems locally.

Reply With Quote
  #4  
Old July 15th, 2003, 04:29 AM
nuwi nuwi is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 2 nuwi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
i have the same problem...

... and the two solutions do not work. Did you solve the problem? if so, how?
My problem is when accessing files on the hard disk with ActiveXObject("Scripting.FileSystemObject") in ASP with JavaScript.
I do not have any BD connection.
My specs: Win XP Pro, ASP and JavaScript as server language, free IIS 5.1 that comes in the Win XP Pro cd.

Thank you.

Reply With Quote
  #5  
Old July 15th, 2003, 06:49 AM
Pikachu420 Pikachu420 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Sweden
Posts: 45 Pikachu420 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
I wrote this down in a textfile which is now gone, but if I remember correctly I solved it by unchecking "HTTP Keep-Alives Enabled" in the IIS Console's website properties.

Please tell us if it solved the problem.

Reply With Quote
  #6  
Old July 15th, 2003, 06:59 AM
nuwi nuwi is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 2 nuwi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thank you for your answer, but it was the first thing I've tried and it doesn't work. It seems it keeps working a little more time but at the end, the http 409.3 error apperars again. I am developing an asp website and I am testing one page verymanymany times once and again. I try to restart iis and a couple of times it restarts but next time it gets hanged and i had to restart the computer... It is so irritating... you know.

Reply With Quote
  #7  
Old July 16th, 2003, 12:31 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,687 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 16 h 39 m 15 sec
Reputation Power: 688
W2K Pro and XP Pro IIS has a hardwired 10-connection limit. Your testing is probably creating multiple sessions and you exceed 10 before they start timing out. You could try adding an explicit sessionl.abandon where appropriate when you're done with a session. Or try shortening the timeout in IIS, by default sessions remain for 20 minutes before timing out on their own.

You may see a setting in the IIS service manager where you can specify the number of connections, but this setting has no effect in a workstation version of IIS. The connection limit is hard-coded in the program.

Reply With Quote
  #8  
Old July 16th, 2003, 01:44 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,687 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 16 h 39 m 15 sec
Reputation Power: 688
Actually, PWS for W9x/Me doesn't have the 10 connection limit as far as I know. But NT4/2K/XP workstation versions of IIS does.

Reply With Quote
  #9  
Old July 16th, 2003, 04:30 AM
Pikachu420 Pikachu420 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Sweden
Posts: 45 Pikachu420 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Quote:
Originally posted by echolalia
I think it's time we had an FAQ covering this one, this question pops up almost every week here.

The version of IIS that ships with any of the Windows "desktop" operating systems (95, 98, Me, NT Workstation, 2k Pro, XP Home, XP Pro) is limited to 10 simultaneous (or near-simultaneous!) connections. No amount of tweaking or clever scripting will get round this. If the 403.9 error is a problem then your only solution is to upgrade to a Windows OS with the word "SERVER" in the title.
I think we all understand that we're limited to 10 connections, it's not a hard concept. What we are trying to figure out is why we're using up all the connections while testing.

Reply With Quote
  #10  
Old July 18th, 2003, 02:12 AM
rosssmail rosssmail is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 1 rosssmail User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I had the same problem as nuwi (failure to create ActiveXObject), but found that the solution below worked for me (disable Norton Antivirus script blocking).

extracted from URL

Author: ACB
E-mail: URL
Date: 5/19/2003 12:04:25 AM
Subject: Re: IIS 5.1, Windows XP and FileSystemObject Pr...
Message: Do you have an antivirus (like Norton Antivirus) with Script Blocking enable? Try to uncheck it.

Best regards
Alejandro

Reply With Quote
  #11  
Old August 13th, 2003, 12:16 AM
jonathanhe jonathanhe is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 1 jonathanhe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Will Windows Server 2003 have unlimited connections for IIS?

Reply With Quote
  #12  
Old August 15th, 2003, 05:16 PM
mojosoupus mojosoupus is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 58 mojosoupus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
jonathanhe, yes.

Pikachu420, I think .net allows for more fine tuning of the server's properties on a page by page basis. It can be installed on the free version of IIS.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsWindows Help > Serious IIS problem! Too many connections?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |