SQL Timeout errors

Posted on 2008-10-23
Medium Priority
Last Modified: 2012-06-27
I keep getting SQL time out errors on a sql2000 data base not quite sure how to go about troubleshooting it.  

This seems to happen mostly when the transaction logs backup  hourly and when reports are run.  
Question by:perksdev
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
LVL 38

Expert Comment

by:Jim P.
ID: 22796322
Hit the basic questions non this and we work from there:

Is the application timing out on the clients?

Is it a LAN or WAN?

Are you using TCP/IP or do you have named pipes running?

How much memory on the server? CPU?

Only a SQL Server or other services/apps running?

Which version of 2000 and what service packs?

"and when reports are run." What reports?

Author Comment

ID: 22799359
the application is timing out,   its auctually a webpage so whenever the page tries access the DB it retuns an error to the users.

this over a LAN

3GHz processor with 4GB Mrmory

This is only a sql server no other apps or services run on it

SQL Version is SQL 2000 Enterprise with SP4

I think we got the Reports figured out

Right now the only issue is when the Trasaction logs backup hourly it gives timeout errors  the logs are backed up to a local dirve.
LVL 38

Expert Comment

by:Jim P.
ID: 22799520
Then I would start looking at disk activity.

Where are your bak/trn files being saved vs the location of your mdf/ldf files.

Are you using NAS or SAN?

Bring up perfmon and watch the disk reads/writes per sec and page faults. Throw in memory and CPU for grins.
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf


Author Comment

ID: 22817207
No I am not using a SAN or NAS
disk read/writes per sec seem ok
I am noticing that the CPU is extremely high 70 to 100% almost constantly
LVL 38

Accepted Solution

Jim P. earned 2000 total points
ID: 22818621
Can you pull some of the errors and what's happening immediately before and after?

Author Comment

ID: 22824746
I don't really get any errors other than the task mnager showing  sqlservr.exe between 80 and 100% cpu utilization.  I've looked in the Event log and SQL logs  but have not been able to find anything.

Author Closing Comment

ID: 31509238
Thanks for all of your help.  Sorry for the delay in accepting a solution.  The problem ended up being increase load and the solution ended up being query optimization.  Thanks again!
LVL 38

Expert Comment

by:Jim P.
ID: 24415799
Glad to be of assistance. May all your days get brighter and brighter.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question