Unix Technical Forum

SQL server thrashing?

This is a discussion on SQL server thrashing? within the SQL Server forums, part of the Microsoft SQL Server category; --> I have a loading process that periodically inserts a lot of relatively large files (up to 400MB) into a ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 08:24 PM
sql_server_user
 
Posts: n/a
Default SQL server thrashing?

I have a loading process that periodically inserts a lot of relatively
large files (up to 400MB) into a few substantial tables (about 50GB).
Sometimes, after inserting many files with no problem, the DB server
memory usage will suddenly jump from about 4.5GB to about 5.5GB (the
server has 4GB physical), the normally heavy disk activity will stop,
and the normally low CPU utilization will spike to about 90%, and stay
there, and the DB will become totally unresponsive to any connection
attempt - sqlcmd dedicated admin connections included.

Has anyone seen this before? Does anyone have any idea what it might
be, or how I can avoid it? If I kill the sqlserver process and start it
up again, which entails a lengthy recovery process, I incur an
unacceptable service outage.

Thanks,
Seth

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 08:24 PM
Erland Sommarskog
 
Posts: n/a
Default Re: SQL server thrashing?

sql_server_user (kaioptera@gmail.com) writes:
> I have a loading process that periodically inserts a lot of relatively
> large files (up to 400MB) into a few substantial tables (about 50GB).
> Sometimes, after inserting many files with no problem, the DB server
> memory usage will suddenly jump from about 4.5GB to about 5.5GB (the
> server has 4GB physical), the normally heavy disk activity will stop,
> and the normally low CPU utilization will spike to about 90%, and stay
> there, and the DB will become totally unresponsive to any connection
> attempt - sqlcmd dedicated admin connections included.
>
> Has anyone seen this before? Does anyone have any idea what it might
> be, or how I can avoid it? If I kill the sqlserver process and start it
> up again, which entails a lengthy recovery process, I incur an
> unacceptable service outage.


That sounds bad. Not the least that the SQL Server process gets more
virtual memory that the available physical memory. And it sounds even
worse that the dedicated admin connection does not provide access.

It's impossible to tell what might be going on, but it smells bug to
me. I urge to open a case with Microsoft on this, not the least they
need to know about it.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-29-2008, 08:24 PM
sql_server_user
 
Posts: n/a
Default Re: SQL server thrashing?

Thanks, Erland. I'll look into it further.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:14 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com