473,750 Members | 2,630 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why won't IIS process more than 1 request at a time?

I have client side code that uses xmlhttp to make an asyncronous call to the
server. This call really churns the server and can take a couple of minutes
to finish. I have found that while this long call is processing, I can not
make any more requests to the server from the same session. I found this
because if I have two completely separate instances of IE, they will not
block each other, but if I do a File/New to spawn a separate instance of IE
that shares session, they will block each other.

Is this expected behavior? Is there a setting in IIS or on my web site that
I can change to increase the number of requests a client can have at a time?
Apr 25 '06 #1
14 2086
That sounds like a threading issue.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Harry Keck" <Ha*******@disc ussions.microso ft.com> wrote in message
news:CE******** *************** ***********@mic rosoft.com...
I have client side code that uses xmlhttp to make an asyncronous call to the
server. This call really churns the server and can take a couple of minutes
to finish. I have found that while this long call is processing, I can not
make any more requests to the server from the same session. I found this
because if I have two completely separate instances of IE, they will not
block each other, but if I do a File/New to spawn a separate instance of IE
that shares session, they will block each other.

Is this expected behavior? Is there a setting in IIS or on my web site that
I can change to increase the number of requests a client can have at a time?

Apr 25 '06 #2
IMO this is more the 2 connections limitation enforced by the browser.

Try :
http://support.microsoft.com/kb/282402/EN-US/
--
Patrice

"Harry Keck" <Ha*******@disc ussions.microso ft.com> a écrit dans le message
de news: CE************* *************** **...icrosof t.com...
I have client side code that uses xmlhttp to make an asyncronous call to
the
server. This call really churns the server and can take a couple of
minutes
to finish. I have found that while this long call is processing, I can
not
make any more requests to the server from the same session. I found this
because if I have two completely separate instances of IE, they will not
block each other, but if I do a File/New to spawn a separate instance of
IE
that shares session, they will block each other.

Is this expected behavior? Is there a setting in IIS or on my web site
that
I can change to increase the number of requests a client can have at a
time?

Apr 25 '06 #3
jd
I believe that the default SessionStateSto reProviderBase class locks
the session while it is in use. Take a look here:
http://tinyurl.com/gr3jh

I don't know if there's a way to disable this; if not, then you should
be able to substitute another provider which doesn't do locking. If
you do this, just remember that there's a reason for locking: you will
end up with a mess if multiple sessions use the same "slot".

-- jeff

Apr 25 '06 #4
the browser enforces a connection limit of 2, which can be overridden by a
registery entry. but asp.net ony allows one concurrent request per session.

-- bruce (sqlwork.com)

"Harry Keck" <Ha*******@disc ussions.microso ft.com> wrote in message
news:CE******** *************** ***********@mic rosoft.com...
I have client side code that uses xmlhttp to make an asyncronous call to
the
server. This call really churns the server and can take a couple of
minutes
to finish. I have found that while this long call is processing, I can
not
make any more requests to the server from the same session. I found this
because if I have two completely separate instances of IE, they will not
block each other, but if I do a File/New to spawn a separate instance of
IE
that shares session, they will block each other.

Is this expected behavior? Is there a setting in IIS or on my web site
that
I can change to increase the number of requests a client can have at a
time?

Apr 25 '06 #5
I did the registy update, but that did not help. Is there really a one
request per session limit on asp.net? If so, that is definitely my problem.
Is there a way around this?

"bruce barker (sqlwork.com)" wrote:
the browser enforces a connection limit of 2, which can be overridden by a
registery entry. but asp.net ony allows one concurrent request per session.

-- bruce (sqlwork.com)

"Harry Keck" <Ha*******@disc ussions.microso ft.com> wrote in message
news:CE******** *************** ***********@mic rosoft.com...
I have client side code that uses xmlhttp to make an asyncronous call to
the
server. This call really churns the server and can take a couple of
minutes
to finish. I have found that while this long call is processing, I can
not
make any more requests to the server from the same session. I found this
because if I have two completely separate instances of IE, they will not
block each other, but if I do a File/New to spawn a separate instance of
IE
that shares session, they will block each other.

Is this expected behavior? Is there a setting in IIS or on my web site
that
I can change to increase the number of requests a client can have at a
time?


Apr 25 '06 #6
Yes, don't do File/New? Why are you doing this in the first place?

Jeff
"Harry Keck" <Ha*******@disc ussions.microso ft.com> wrote in message
news:5A******** *************** ***********@mic rosoft.com...
I did the registy update, but that did not help. Is there really a one
request per session limit on asp.net? If so, that is definitely my
problem.
Is there a way around this?

"bruce barker (sqlwork.com)" wrote:
the browser enforces a connection limit of 2, which can be overridden by
a
registery entry. but asp.net ony allows one concurrent request per
session.

-- bruce (sqlwork.com)

"Harry Keck" <Ha*******@disc ussions.microso ft.com> wrote in message
news:CE******** *************** ***********@mic rosoft.com...
>I have client side code that uses xmlhttp to make an asyncronous call to
>the
> server. This call really churns the server and can take a couple of
> minutes
> to finish. I have found that while this long call is processing, I can
> not
> make any more requests to the server from the same session. I found
> this
> because if I have two completely separate instances of IE, they will
> not
> block each other, but if I do a File/New to spawn a separate instance
> of
> IE
> that shares session, they will block each other.
>
> Is this expected behavior? Is there a setting in IIS or on my web site
> that
> I can change to increase the number of requests a client can have at a
> time?


Apr 25 '06 #7
No, that was just a test that I did to prove that the issue is linked to the
session. I have a single page that uses asyncronous xmlhttp calls to perform
a couple of actions simultaniously while allowing the user to have
interaction with the form the whole time.

Is there a way to increase this limit? I noticed a Page property called
enable SessionState. If I were to set that to ReadOnly for the page causing
the extra long asyncronous request, would that free up the session to be
requested more than once?

"Jeff Dillon" wrote:
Yes, don't do File/New? Why are you doing this in the first place?

Jeff
"Harry Keck" <Ha*******@disc ussions.microso ft.com> wrote in message
news:5A******** *************** ***********@mic rosoft.com...
I did the registy update, but that did not help. Is there really a one
request per session limit on asp.net? If so, that is definitely my
problem.
Is there a way around this?

"bruce barker (sqlwork.com)" wrote:
the browser enforces a connection limit of 2, which can be overridden by
a
registery entry. but asp.net ony allows one concurrent request per
session.

-- bruce (sqlwork.com)

"Harry Keck" <Ha*******@disc ussions.microso ft.com> wrote in message
news:CE******** *************** ***********@mic rosoft.com...
>I have client side code that uses xmlhttp to make an asyncronous call to
>the
> server. This call really churns the server and can take a couple of
> minutes
> to finish. I have found that while this long call is processing, I can
> not
> make any more requests to the server from the same session. I found
> this
> because if I have two completely separate instances of IE, they will
> not
> block each other, but if I do a File/New to spawn a separate instance
> of
> IE
> that shares session, they will block each other.
>
> Is this expected behavior? Is there a setting in IIS or on my web site
> that
> I can change to increase the number of requests a client can have at a
> time?


Apr 25 '06 #8
Oh, I see. Well, what if you put the different xmlhttp sources in different
applications on the server? I know, probably a bit of a hack, but at least
they would process their own sessions

Jeff

"Harry Keck" <Ha*******@disc ussions.microso ft.com> wrote in message
news:F2******** *************** ***********@mic rosoft.com...
No, that was just a test that I did to prove that the issue is linked to
the
session. I have a single page that uses asyncronous xmlhttp calls to
perform
a couple of actions simultaniously while allowing the user to have
interaction with the form the whole time.

Is there a way to increase this limit? I noticed a Page property called
enable SessionState. If I were to set that to ReadOnly for the page
causing
the extra long asyncronous request, would that free up the session to be
requested more than once?

"Jeff Dillon" wrote:
Yes, don't do File/New? Why are you doing this in the first place?

Jeff
"Harry Keck" <Ha*******@disc ussions.microso ft.com> wrote in message
news:5A******** *************** ***********@mic rosoft.com...
>I did the registy update, but that did not help. Is there really a one
> request per session limit on asp.net? If so, that is definitely my
> problem.
> Is there a way around this?
>
> "bruce barker (sqlwork.com)" wrote:
>
>> the browser enforces a connection limit of 2, which can be overridden
>> by
>> a
>> registery entry. but asp.net ony allows one concurrent request per
>> session.
>>
>> -- bruce (sqlwork.com)
>>
>>
>>
>> "Harry Keck" <Ha*******@disc ussions.microso ft.com> wrote in message
>> news:CE******** *************** ***********@mic rosoft.com...
>> >I have client side code that uses xmlhttp to make an asyncronous call
>> >to
>> >the
>> > server. This call really churns the server and can take a couple of
>> > minutes
>> > to finish. I have found that while this long call is processing, I
>> > can
>> > not
>> > make any more requests to the server from the same session. I found
>> > this
>> > because if I have two completely separate instances of IE, they will
>> > not
>> > block each other, but if I do a File/New to spawn a separate
>> > instance
>> > of
>> > IE
>> > that shares session, they will block each other.
>> >
>> > Is this expected behavior? Is there a setting in IIS or on my web
>> > site
>> > that
>> > I can change to increase the number of requests a client can have at
>> > a
>> > time?
>>
>>
>>


Apr 25 '06 #9
What I don't undestand is that if the user just reads the page and the
request is going on in the background you shouldn't hit any server or client
side limitation.

Could it be that the long running call is called multiple times ?
What if you try a bare bone page that just sends a quick asynchronous
request. Does it shows the same problem ?

What is the exact scenario ? I assume that opening another IE session was
just for testing but that the user just display the page and doesn't
navigate while the long running request runs ?

--
Patrice

"Harry Keck" <Ha*******@disc ussions.microso ft.com> a écrit dans le message
de news: F2************* *************** **...icrosof t.com...
No, that was just a test that I did to prove that the issue is linked to
the
session. I have a single page that uses asyncronous xmlhttp calls to
perform
a couple of actions simultaniously while allowing the user to have
interaction with the form the whole time.

Is there a way to increase this limit? I noticed a Page property called
enable SessionState. If I were to set that to ReadOnly for the page
causing
the extra long asyncronous request, would that free up the session to be
requested more than once?

"Jeff Dillon" wrote:
Yes, don't do File/New? Why are you doing this in the first place?

Jeff
"Harry Keck" <Ha*******@disc ussions.microso ft.com> wrote in message
news:5A******** *************** ***********@mic rosoft.com...
>I did the registy update, but that did not help. Is there really a one
> request per session limit on asp.net? If so, that is definitely my
> problem.
> Is there a way around this?
>
> "bruce barker (sqlwork.com)" wrote:
>
>> the browser enforces a connection limit of 2, which can be overridden
>> by
>> a
>> registery entry. but asp.net ony allows one concurrent request per
>> session.
>>
>> -- bruce (sqlwork.com)
>>
>>
>>
>> "Harry Keck" <Ha*******@disc ussions.microso ft.com> wrote in message
>> news:CE******** *************** ***********@mic rosoft.com...
>> >I have client side code that uses xmlhttp to make an asyncronous call
>> >to
>> >the
>> > server. This call really churns the server and can take a couple of
>> > minutes
>> > to finish. I have found that while this long call is processing, I
>> > can
>> > not
>> > make any more requests to the server from the same session. I found
>> > this
>> > because if I have two completely separate instances of IE, they will
>> > not
>> > block each other, but if I do a File/New to spawn a separate
>> > instance
>> > of
>> > IE
>> > that shares session, they will block each other.
>> >
>> > Is this expected behavior? Is there a setting in IIS or on my web
>> > site
>> > that
>> > I can change to increase the number of requests a client can have at
>> > a
>> > time?
>>
>>
>>


Apr 26 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
6593
by: Prince Kumar | last post by:
I joined a company recently and they have a java program which hangs (does nothing) after a while. This is no way consistent. It could succeed quite a few times and can fail a few other times. There is no consistency when it fails. Could anyone here shed some light on how to debug/resolve the issue. I guess IBM looked at the issue and were not able to pinpoint where the issue is. When the program hangs and when force the DB2...
6
2091
by: Ken Varn | last post by:
I have an ASP.NET form that may take a very long time to process a particular request. If the user closes the browser window, the request will continue to process until it completes. This is a problem when a user tries to re-establish a new session. Since the previous request is still being processed, the new request must now wait for it to complete. Is there anyway to force old IIS processing thread sessions to terminate if they are...
7
1524
by: Microsoft | last post by:
I'm trying to use threading for the first time and can't get it to work. (VB) In the page I've got: Sub Page_Load( sender As Object, e As EventArgs ) dim o as new Example.Test o.CreateThread() End Sub
87
4975
by: John Rivers | last post by:
Hello everybody, I just wondered if anybody else has noticed this? It takes around 6 seconds to start debugging a very simple ASPX page with VS.NET whereas VB6 takes under 0.5 seconds, even with very large and complex projects. This is a real shame :(
4
1106
by: Alan Wang | last post by:
Hi there, I am having a web application which has OpenOffice running as backend. The whole web application runs great if there is only one request at a time. The web application will mess up if there are more than one requests at same time. My question is what should I do to only allow one process at same time for my web application. In another words, The second request will wait until the first one has finished if there are more than...
3
11244
by: SugarDaddy | last post by:
Here's my problem. I have an NT service (really a .NET service) running as local system. I have a .NET form running on the user account. The form and the service communicate via an IPC Channel so the form can control the service and do various things. Both applications share the same set of dlls. When performing an update of some of the dlls, both the service and the form must be shut down (that's just how it's implemented -- didn't
4
3231
by: Brian Gideon | last post by:
I'm having a problem with the amount of time it takes to initialize an application pool on IIS 6.0. Upon the first request to an ASP.NET page the worker process (w3wp.exe) starts up. The problem in my case is that it takes more than 5 minutes to begin servicing requests after the initial startup. During that agonizingly long period the process is doing nothing...and I mean absolutely nothing...0% CPU and no memory movement at all. And...
0
1564
Frinavale
by: Frinavale | last post by:
I have a peculiar problem... Background: I have a function that I don't want the user to execute more than once while they are waiting for it to process; therefore, I disable all of the controls on the page via some JavaScript before the request is sent. This function takes some time to execute because it has to communicate with hardware that is rather slow. This slowness combined with a little bit of lag sometimes results in a ...
1
3454
by: nicerun | last post by:
I'm using the Application_Start event at Global.asax.cs to invoke thread that do some job. I know that Application_Start event occurs when the very first request to Web Application received. - Setting worker process count 1. Start | Programs | Administrative Tools | Internet Information Services 2. Right-click on the application pool, e.g. ‘DefaultAppPool’, and select ‘Properties’
0
9001
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8838
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9583
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9396
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9342
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9256
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8263
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6081
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3323
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.