473,406 Members | 2,620 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,406 software developers and data experts.

too many connections

Hi

I am a dba for sql server recently we are facing problems with the no of
connections.

we have a database called ( x ) every day almost million users is using that
databse after some time the cpu showing 100 percent utilization an error
throwing like odbc error connection so in that case no one is able to connect
to the server.when we pause it then restart the server for some time it looks
good then again it will go to 100 % utilization.but there is no blocking
occuring

if anyone knows this problem please help
your help would be appreciated.

Thanks
--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...neral/200510/1
Oct 25 '05 #1
4 6296
pardhi a via SQLMonster.com wrote:
Hi

I am a dba for sql server recently we are facing problems with the
no of connections.

we have a database called ( x ) every day almost million users is
using that databse
Concurrently?
after some time the cpu showing 100 percent
utilization an error throwing like odbc error connection so in that
case no one is able to connect to the server.when we pause it then
restart the server for some time it looks good then again it will go
to 100 % utilization.but there is no blocking occuring


Sounds like you have a resource problem. 1,000,000 concurrent users need
some resources (mainly mem) for managing them alone. If they start doing
transactions this will likely increase. Maybe your connections aren't
released properly afer work is done or your system is just undersized.

Kind regards

robert

Oct 25 '05 #2
currently we are using 2 plus gb memory

Robert Klemme wrote:
Hi

[quoted text clipped - 3 lines]
we have a database called ( x ) every day almost million users is
using that databse


Concurrently?
after some time the cpu showing 100 percent
utilization an error throwing like odbc error connection so in that
case no one is able to connect to the server.when we pause it then
restart the server for some time it looks good then again it will go
to 100 % utilization.but there is no blocking occuring


Sounds like you have a resource problem. 1,000,000 concurrent users need
some resources (mainly mem) for managing them alone. If they start doing
transactions this will likely increase. Maybe your connections aren't
released properly afer work is done or your system is just undersized.

Kind regards

robert

--
Message posted via http://www.sqlmonster.com
Oct 25 '05 #3
currently we are using 2 plus memory
and db size is about 40 gb
recovery model is simple.

pardhi a wrote:
currently we are using 2 plus gb memory
Hi

[quoted text clipped - 18 lines]

robert

--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...neral/200510/1
Oct 25 '05 #4
pardhi a via SQLMonster.com (u8956@uwe) writes:
I am a dba for sql server recently we are facing problems with the no of
connections.

we have a database called ( x ) every day almost million users is using
that databse after some time the cpu showing 100 percent utilization an
error throwing like odbc error connection so in that case no one is able
to connect to the server.when we pause it then restart the server for
some time it looks good then again it will go to 100 % utilization.but
there is no blocking occuring


You need to do some analysis to find out where this CPU usage is coming
from. Set up a Profiler trace which initially filters SQL:BatchCompleted
and SP:RPCCompleted for a events with a duration > 100 ms (or some other
limit you find reasonable). From that you may be able to dig down to
the exact queries that are causing problem.

As for running out of connections, this indicates a problem in the
application that never closes the connections. This may or may not be
related to the poor queries.

Is this a vendor application, or something which is developped in-house?
--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp

Oct 25 '05 #5

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

Similar topics

3
by: Randell D. | last post by:
Folks, I currently connect to my db with PHP code that uses non-persistent connections. I've read that persistent connections can help performance since a connection to the db will use an...
3
by: Mudge | last post by:
Hi, My hosting provider only allows me to use 50 connections to my MySQL database that my Web site will use. I don't know what this 50 connections means exactly. Does this mean that only 50...
4
by: Angelos | last post by:
I get this error mysql_pconnect Too many connections ... every now and then. Does anyone knows where it comes from ? There are a lot of sites running on the server and all of them use the...
1
by: C Sharp beginner | last post by:
I'm sorry about this verbose posting. This is a follow-up to my yesterday's posting. Thanks William for your reply. I understand it is a good practice to open connections as late as possible and...
2
by: Bob | last post by:
We have a production web site that's data intensive (save user input to DB and query for displaying) with the ASP.NET app part on one W2K server and SQL 2000 DB on another W2K server. I have set...
17
by: Peter Proost | last post by:
Hi Group, I've got an interesting problem, I don't know if this is the right group but I think so because everything I've read about it so far says it's a .net problem. Here's the problem, we're...
4
by: elyob | last post by:
Not really tried going two ways at once, but I have an include_once connection to a mysql_database, now I need to retrieve info from a second mysql_database .. My mysql_connects are getting...
1
by: marcfischman | last post by:
Please help. I have a website running on a linux/apache/mysql/php server. I receive about 8,000-10,000 visitors a day with about 200,000 to 300,000 page views. The server is a RedHat Linux...
13
by: PRP | last post by:
Hi, Our DBA has complained about the large number of connections from the aspnet_wp process. We have multiple web applications deployed in different virtual directories. I read that the way...
5
by: Usman Jamil | last post by:
Hi I've a class that creates a connection to a database, gets and loop on a dataset given a query and then close the connection. When I use netstat viewer to see if there is any connection open...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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
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.