473,509 Members | 3,009 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

performance: IIS - Sqlserver locks influence???

Hi there,

We have a web application handling thousands of requests per seconds reading
sql server data which is heavily updated.
We are generally experiencing no performance problems.
On some occasions we get an increase of the traffic of about 15% for short
periods. In this case we observe something really strange: our webserver
CPU goes from about 40% usage to 100%, with memory usage keeping low (about
50%). We see at the same time that the number of sqlserver locks increases.
Are these 2 behaviours correlated? ..or any other ideas?
We are using w2k and sql2K

Thanks for your help

Alex

Nov 18 '05 #1
4 1892
"Alex Callea" <al*********@sellys.com> wrote in message
news:O2**************@TK2MSFTNGP09.phx.gbl...
Hi there,

We have a web application handling thousands of requests per seconds
reading sql server data which is heavily updated.
We are generally experiencing no performance problems.
On some occasions we get an increase of the traffic of about 15% for short
periods. In this case we observe something really strange: our webserver
CPU goes from about 40% usage to 100%, with memory usage keeping low
(about 50%). We see at the same time that the number of sqlserver locks
increases.
Are these 2 behaviours correlated? ..or any other ideas?


The traffic increases by 15%. The traffic passes through IIS. The
application in IIS calls SQL Server.

If I'm right, then this suggests that the behaviors correlate.

John Saunders
Nov 18 '05 #2
I know it's correlated but my question was to know if the increase number of
locks had cpu usage consequences on IIS.

We already noticed that the number of web requests being processed has huge
impact on webservers CPUs.
I'd like to know if the same apply with SQL locks(e.g. ADO.NET objects need
to wait more resulting in an increase of page processing time, etc...) as
the SQL server CPUs are almost not impacted by the increased traffic.
Thanks

Alex

"John Saunders" <johnwsaundersiii at hotmail.com> wrote in message
news:eI**************@TK2MSFTNGP14.phx.gbl...
"Alex Callea" <al*********@sellys.com> wrote in message
news:O2**************@TK2MSFTNGP09.phx.gbl...
Hi there,

We have a web application handling thousands of requests per seconds
reading sql server data which is heavily updated.
We are generally experiencing no performance problems.
On some occasions we get an increase of the traffic of about 15% for
short periods. In this case we observe something really strange: our
webserver CPU goes from about 40% usage to 100%, with memory usage
keeping low (about 50%). We see at the same time that the number of
sqlserver locks increases.
Are these 2 behaviours correlated? ..or any other ideas?


The traffic increases by 15%. The traffic passes through IIS. The
application in IIS calls SQL Server.

If I'm right, then this suggests that the behaviors correlate.

John Saunders

Nov 18 '05 #3
"Alex Callea" <al*********@sellys.com> wrote in message
news:uQ**************@TK2MSFTNGP15.phx.gbl...
I know it's correlated but my question was to know if the increase number
of locks had cpu usage consequences on IIS.

We already noticed that the number of web requests being processed has
huge impact on webservers CPUs.
I'd like to know if the same apply with SQL locks(e.g. ADO.NET objects
need to wait more resulting in an increase of page processing time,
etc...) as the SQL server CPUs are almost not impacted by the increased
traffic.


Alex, I am certainly not an expert on IIS performance, but I can't think why
it would in any way be affected by SQL Server locks.

John
Nov 18 '05 #4

"John Saunders" <johnwsaundersiii at hotmail.com> wrote in message
news:uE*************@TK2MSFTNGP11.phx.gbl...
"Alex Callea" <al*********@sellys.com> wrote in message
news:uQ**************@TK2MSFTNGP15.phx.gbl...
I know it's correlated but my question was to know if the increase number
of locks had cpu usage consequences on IIS.

We already noticed that the number of web requests being processed has
huge impact on webservers CPUs.
I'd like to know if the same apply with SQL locks(e.g. ADO.NET objects
need to wait more resulting in an increase of page processing time,
etc...) as the SQL server CPUs are almost not impacted by the increased
traffic.


Alex, I am certainly not an expert on IIS performance, but I can't think
why it would in any way be affected by SQL Server locks.

The relationship is probably indirect. Sql Server locks are a directly
related to the volume of work being done by Sql Server. Locks don't
indicate that clients are waiting, just that they are doing stuff. Reading
tables generates shared locks, updating tables generates update or exclusive
locks, etc. So the more work, the more locks.

David
Nov 18 '05 #5

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

Similar topics

4
7838
by: writeson | last post by:
Hi all, I've got a PHP program that I've added flock() to in order to protect multiple scripts trying to write to the same file. After I added the flock() to the code the performance of the code...
3
949
by: Andy Tran | last post by:
I built a system using mysql innodb to archive SMS messages but the innodb databases are not keeping up with the number of SMS messages coming in. I'm looking for performance of 200 msgs/sec where...
4
7203
by: Mee Yamo | last post by:
Fellas!! This is a very complicated one and it took me a few days to figure out exactly what's going on, but here's the final story: I have a production environment running on .NET with a SQL...
2
2678
by: Gary Whitten | last post by:
We have a JDBC project that works with SQLServer, along with other DBs. During development, we noticed that resource useage on SQLServer seemed to grow steadily - Processes, Process Locks and/or...
1
3617
by: php newbie | last post by:
I have the Transact-SQL Programming book from O'Reilly. It was published in 1999. It states that "SELECT ... INTO" statements end up locking the entire database of the target table. Since the...
4
1685
by: Matik | last post by:
Hi, I have a small theoretical issue. I have one table, which is prettyu large. There is lot of evaluations running on this table, that's why, each process need to wait for another to be...
6
3280
by: George McLean | last post by:
Hello, I am trying to isolate some performance issues. The database is DB2 v8.1 running on a Win2000 server with 4 processors and 1gb of RAM. The application is a GIS application that uses...
46
13051
by: dunleav1 | last post by:
I have a process that does inserts that runs 50% slower that Oracle and Mssql. Queries normally take 50% slower than normal. DB2, Oracle, Mssql all are configured on same os, same disk array...
7
3440
by: Roger | last post by:
This is the vba code Set db = CurrentDb On error goto fErr …. loop strSql = "UPDATE tblInvAnalysisWhse" & _ " SET ltDeviation = " & Sqr(dblError / intPeriods) & _ " WHERE item = '" &...
0
7344
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
7412
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...
0
7505
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
5652
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,...
0
3216
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...
0
3203
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1570
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 ...
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
441
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...

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.