473,403 Members | 2,323 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

ASP.NET + Remoting

I have a WebApplication that uses tcp/binary remoting to communicate with
remote objects hosted by a Windows Service on another machine. The
WebApplication takes an XML post (~200K) and turns that into about 300
remoting calls. There is another WebApplication and a WebService running on
this box.

What I'm finding is that occasionally the Web Server locks up. If I restart
the Web Server any new requests are processed just fine. The point being
that I don't have to touch the remote object i.e. restart the Windows service.

On the other hand, if I instead restart the Windows service (hosting the
remote object) the Web Server becomes responsive again.

This sound like a remoting/threading issue, but I can't wrap my brain around
it.

Thanks,
Brad
Nov 19 '05 #1
2 1355
Correction, it's not the Web Server that locks up, but the Web Service.

"Brad Quinn" wrote:
I have a WebApplication that uses tcp/binary remoting to communicate with
remote objects hosted by a Windows Service on another machine. The
WebApplication takes an XML post (~200K) and turns that into about 300
remoting calls. There is another WebApplication and a WebService running on
this box.

What I'm finding is that occasionally the Web Server locks up. If I restart
the Web Server any new requests are processed just fine. The point being
that I don't have to touch the remote object i.e. restart the Windows service.

On the other hand, if I instead restart the Windows service (hosting the
remote object) the Web Server becomes responsive again.

This sound like a remoting/threading issue, but I can't wrap my brain around
it.

Thanks,
Brad

Nov 19 '05 #2
without more info, it hard. you should add logging to you application, so
you can tell whats happening.

my quick guess is that the service is starving for connections. most likely
when the webapp calls the webservice its waiting for a connection, because
its at the max connection limit (default is 2). killing either side frees
the connections. you should turn off keepalive, so that an asp.net thread
returned to pool isn't holding a connection until timeout. if you want to
use keepalive, then you should create you own pool of connections and manage
them.

-- bruce (sqlwork.com)
"Brad Quinn" <Br*******@discussions.microsoft.com> wrote in message
news:41**********************************@microsof t.com...
Correction, it's not the Web Server that locks up, but the Web Service.

"Brad Quinn" wrote:
I have a WebApplication that uses tcp/binary remoting to communicate with
remote objects hosted by a Windows Service on another machine. The
WebApplication takes an XML post (~200K) and turns that into about 300
remoting calls. There is another WebApplication and a WebService running
on
this box.

What I'm finding is that occasionally the Web Server locks up. If I
restart
the Web Server any new requests are processed just fine. The point being
that I don't have to touch the remote object i.e. restart the Windows
service.

On the other hand, if I instead restart the Windows service (hosting the
remote object) the Web Server becomes responsive again.

This sound like a remoting/threading issue, but I can't wrap my brain
around
it.

Thanks,
Brad

Nov 19 '05 #3

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

Similar topics

0
by: Sean Newton | last post by:
I am absolutely bewildered by now by the Microsoft.Samples SSPI and Security assemblies. I've been trying to set these up in a very straightforward harness in the way that I'd like to be able to...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS...
5
by: mayamorning123 | last post by:
A comparison among six VSS remote tools including SourceOffSite , SourceAnyWhere, VSS Connect, SourceXT, VSS Remoting, VSS.NET To view the full article, please visit...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed...
4
by: Uchiha Jax | last post by:
Hello everyone, I am a plenty silly person who is trying to learn .NET remoting through trial and error (all articles I read are going over my head at the moment (mostly) so I thought i'd give...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS...
0
by: Martijn Damen | last post by:
Hi, At the moment I am trying to develop an application that uses another app over .net remoting and having some problems with it (ok, that is ofcourse why I am here), hope somebody can shine a...
8
by: Raju Joseph | last post by:
Hi All, I am just trying to get an opinion here. I know this is always a tough choice to make. We are in the process of converting our VB6 based Healthcare Information System (a full-fledged...
2
by: erbilkonuk | last post by:
Hi, I am very new to .NET Remoting and I try to run a simple program to subscribe to an event raised by Remoting Class. The Remoting Server initiates an instance of Remoting Class as Singleton /...
0
by: Kristian Reukauff | last post by:
Hi I have a problem with the .Net-Securty-Functions. I've got a client and a server. When I try to register a channel at the server with this line: ChannelServices.RegisterChannel(chan, false);...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
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...
0
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,...

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.