473,387 Members | 1,431 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,387 software developers and data experts.

sql processes multiplying

I am seeing sql processes (seen under Current Activity->process Info)
exploding into over 100 processes even though hardly anyone is using
it.

It is an ASP.NET application, and I religiously close every sql
connection. after every transaction. Some interesting observations to
note

* This is new ever since we moved over to a new server. All the sql
patches are up to date. It is 2003.

* The list of processes shows that the login time for all 100
connections are within 3-4 minutes of each other.

* Last Batch times are even more interesting. About 30 of those show
1/1/1900. What does that mean. These do not show any Last TSQL batch

* After the explosion, the number of connections go right back to 1 or
2 which is where it should be a few minutes later.

This application has been in production for 4 years and this has never
been an issue.

I suppose I can run SQL Profiler to trace this, but are there any
other suggestions? Could the server be under attack?

Mar 19 '07 #1
4 1350
Hi

"microsoft.public.sqlserver.programming" wrote:
I am seeing sql processes (seen under Current Activity->process Info)
exploding into over 100 processes even though hardly anyone is using
it.

It is an ASP.NET application, and I religiously close every sql
connection. after every transaction. Some interesting observations to
note

* This is new ever since we moved over to a new server. All the sql
patches are up to date. It is 2003.

* The list of processes shows that the login time for all 100
connections are within 3-4 minutes of each other.

* Last Batch times are even more interesting. About 30 of those show
1/1/1900. What does that mean. These do not show any Last TSQL batch

* After the explosion, the number of connections go right back to 1 or
2 which is where it should be a few minutes later.

This application has been in production for 4 years and this has never
been an issue.

I suppose I can run SQL Profiler to trace this, but are there any
other suggestions? Could the server be under attack?
Are you using connection pooling and what is the pool size set to?

SQL Profiler will tell you what each connection is doing and will give show
if they are trying to do anything malicious.

John
Mar 19 '07 #2
>
Are you using connection pooling and what is the pool size set to?

SQL Profiler will tell you what each connection is doing and will give show
if they are trying to do anything malicious.

John
I am using the ADO.NET Sql Connection. I don't know the mechanics of
how it works, but I think it uses connection pooling.

I have a table that logs some of user activities, and in this case,
the user just logged onto my application, and it spawns over 100
processes with T-SQL commands that the user never called. It does
look very much malicious, but I don't know how to prove it.

Am running sql profiler, so will find that what that uncovers.

Mar 19 '07 #3
Hi

"microsoft.public.sqlserver.programming" wrote:
>

Are you using connection pooling and what is the pool size set to?

SQL Profiler will tell you what each connection is doing and will give show
if they are trying to do anything malicious.

John

I am using the ADO.NET Sql Connection. I don't know the mechanics of
how it works, but I think it uses connection pooling.

I have a table that logs some of user activities, and in this case,
the user just logged onto my application, and it spawns over 100
processes with T-SQL commands that the user never called. It does
look very much malicious, but I don't know how to prove it.

Am running sql profiler, so will find that what that uncovers.
For connection pooling check out
http://msdn.microsoft.com/library/de...taProvider.asp

The default pool size is 100 may be coincidence or not!

John
Mar 19 '07 #4
On Mar 19, 2:59 am, John Bell <jbellnewspo...@hotmail.comwrote:
Hi

"microsoft.public.sqlserver.programming" wrote:
Are you using connection pooling and what is the pool size set to?
SQL Profiler will tell you what each connection is doing and will give show
if they are trying to do anything malicious.
John
I am using the ADO.NET Sql Connection. I don't know the mechanics of
how it works, but I think it uses connection pooling.
I have a table that logs some of user activities, and in this case,
the user just logged onto my application, and it spawns over 100
processes with T-SQL commands that the user never called. It does
look very much malicious, but I don't know how to prove it.
Am running sql profiler, so will find that what that uncovers.

For connection pooling check outhttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgu...

The default pool size is 100 may be coincidence or not!

John
Okay, so it was my code. I opened a connection without closing it.
My bad.

Mar 23 '07 #5

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

Similar topics

2
by: cplusplus | last post by:
Hello, I have newbie question. I'm stuck on this current assignment. Write a program that prompts the user for two integer values, passes the values to a function where they are multiplied...
2
by: Targa | last post by:
<input NAME="TAXRATE" onBlur="this.form.TAX.value = (this.form.TAXRATE.value - 0) * (this.form.ITEM1TOTAL.value - 0) + (this.form.ITEM2TOTAL.value - 0) " Size="4"> In my TAX field I get...
15
by: Dirk Reske | last post by:
Hello, why doesn't this code work correctly? private int GetCpuUsage(Process proc) { DateTime time1,time2; TimeSpan timediff; double cpu1,cpu2,cpudiff;
2
by: k | last post by:
I have aproblem when multiplying 2 float 638.9 * 382.8 should = 244570.92 results giving 244570.922 both numbers are float variables , tried using double to...
9
by: Abhishek Srivastava | last post by:
Hello All, In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process per appliction pool. Each worker process is dedicated...
3
by: Dave | last post by:
Hello I've created a student database for our program that I also need to get statistics from. It's in Access 2003. The statistics would be things like Male-Female percentage, percentage of...
35
by: Carl J. Van Arsdall | last post by:
Alright, based a on discussion on this mailing list, I've started to wonder, why use threads vs processes. So, If I have a system that has a large area of shared memory, which would be better? ...
3
by: damhotpepper | last post by:
How do I total 2 columns by multiplying their values together. Table Products, UnitQty x Unit Price ? Any help would be great.
1
by: jazon | last post by:
Let me start by saying this for an Operating Systems class. No, I don't expect the work to be done for me. The assignment is as follows: To be honest, I feel like a fish out of water, like...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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
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...

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.