Red Gate forums :: View topic - Cpu Usage on Monitored Server
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Response 1
SQL Response 1 forum

Cpu Usage on Monitored Server

Search in SQL Response 1 forum
Post new topic   Reply to topic
Jump to:  
Author Message
goldmedal



Joined: 18 Mar 2009
Posts: 12
Location: Preston

PostPosted: Thu Oct 01, 2009 1:39 pm    Post subject: Cpu Usage on Monitored Server Reply with quote

Hi

We have noticed a serious problem with the monitoring on one of our production servers, the cause of which is SQL Response.

Our understanding of the product that the impact on the monitored servers is minimal, however through its current interaction it is using between 10-15% of the monitored servers CPU at regular intervals to execute the following code.

DBCC TRACEON WITH NO_INFOMSGS
DECLARE @dbccstat TABLE
(
TraceFlag INT,
[Status] INT,
[Global] INT,
[Session] INT
)
INSERT INTO @dbccstat EXEC('DBCC TRACESTATUS(1204, -1) WITH NO_INFOMSGS')
DECLARE @status INT
SELECT @status = Status FROM @dbccstat
IF @status = 0
BEGIN
DBCC TRACEON( 1204, -1 ) WITH NO_INFOMSGS;
END
EXEC sp_readerrorlog

Can you advise on this? As in the current setup this renders sql response un-usable for us in a production environment as CPU usage is at a premium.

Thanks
Back to top
View user's profile Send private message
kevriley



Joined: 07 Apr 2009
Posts: 70
Location: UK

PostPosted: Thu Oct 01, 2009 4:41 pm    Post subject: Reply with quote

Could the size of your error logs be an issue?

Are you recycling them?

Do they take a long time to open in SSMS?
Back to top
View user's profile Send private message
goldmedal



Joined: 18 Mar 2009
Posts: 12
Location: Preston

PostPosted: Fri Oct 02, 2009 8:08 am    Post subject: Reply with quote

Hi

Thanks, i've had a look at the recycling schedule of the logs and this wasn't set up so ive configured it now.

Ive also reviewed the undocumented proc the code is executing to read the error log just to get a better handle on what it was actually doing as i wasn't familiar with the proc.

Hopefully this should resolve the issue of increased CPU load.

Thanks again for your help!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group