473,787 Members | 2,798 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Running out of connections?

Hi.

I make a LOT of webservice calls from a client application. After a bunch of
calls, I have to change the ConnectionGroup Name to simulate another different
client. As the time passes I find a lot of contention (seen through the
performance counter in LocksAndThreads ) from the threads that make the calls.
I wonder that it's a problem with the connections and that I'm running out of
them.
I have to use .NET 1.1 (I know that .NET 2.0 has a method to close a
ConnectionGroup ). Calling Dispose on the web reference doesn't close the
connection. I tried lowering the connection's timeout and rising the number
of connections in the ServicePointMan ager. The application just bogs down
after one hour of calls. Is there some way to close a connection after it's
been used?.

Regards,
Rodrigo.
Feb 20 '07 #1
0 931

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

Similar topics

1
3405
by: hananiel | last post by:
Hello: We have a a two tier application connecting to sql server through remoting. The business objects are single call objects. We are opening and closing connections using ADO.NET command object. All "ExecuteNonQuery" are closed in finally blocks. We are running out of sql connections because the profiler shows that connections are not being released till the business service is stopped and restarted. Does anyone have suggestions on how...
1
1279
by: big DWK | last post by:
Hi- We've got an ASP.Net web app that runs off a Microsoft SQL Server 2000 backend. After a few days the SQL server is completely out of memory and crawls. It looks like there could be some connections that aren't being closed or something. Is there a good way to figure out where the problem is. Looking at the current activity in Enterprise Manager there are a lot of threads sleeping and a few that are runnable. Any ideas? Thanks
9
3762
by: Matt Helm | last post by:
I am starting the design phase of a large project (ERP) where the backend will mostly be Python (or Ruby) providing web services. In this type of usage, is there any benenfit to running under Apache as opposed to a pure Python solution using Medusa, TwistedMatrix, or the like? Thanks, Matt
5
1983
by: Mrpush | last post by:
Hello, Have MS 2003 server with IIS 6.0 installed. ASP.net is also installed. Had to re-install the server after initial configuration by someone who left the company and now I cannot get the ASP pages to load. The files all existed in a NON-INETPUB folder and accessed a SQL database to pull information.
3
5472
by: wwwmike | last post by:
Problem: When my provider shuts down the SQL Server IIS receives a few error messages and then switches the site to 'SERVICE UNAVAILABLE'. Before IIS kills itself it is friendly enough to send me an error message. ****ERROR MESSAGE 1****** System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the...
1
2580
by: Octoryia | last post by:
Our company has an access front end database that is used by 30+ people all day, five days a week. The issues that we are running into include the database running extremely slow, not responding, and displaying ODBC failed call errors messages. We have the tables housed on the SQL server wich we thought permit nurmerous users to access the data at once. But this is not working. We are having issues with a single user with 9+ connections, or...
2
4887
by: Stephen2 | last post by:
I've written a small dos batch script that runs a simple query through osql and then calls an exe which sends an email if the returned value The query checks if a value in a column has not been updated for 5 mins and raises a warning through an email and it will need to run throughout the online day. Will there be any issues continually opening & closing connections in this way?
12
12847
by: Shadlan | last post by:
Hi. I need to know if a service is running on my server. Is there any PHP instruction that I can use to do this?
0
2910
by: Gordon | last post by:
On Oct 23, 9:43 am, Curtis <dye...@gmail.comwrote: if ($handle = fsockopen ('localhost', 80, $errnum, $errmsg, 1)) { echo ('A web server is running on this system<br>'); fclose ($handle); } else { echo ($errnum . ' ' . $errmsg . '<br>');
0
9655
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
10363
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
10169
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...
0
9964
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
8993
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
6749
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();...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.