| Author |
Message |
goldmedal
Joined: 18 Mar 2009 Posts: 10 Location: Preston
|
Posted: Thu Oct 01, 2009 1:39 pm Post subject: Cpu Usage on Monitored Server |
|
|
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 |
|
 |
kevriley
Joined: 07 Apr 2009 Posts: 64 Location: UK
|
Posted: Thu Oct 01, 2009 4:41 pm Post subject: |
|
|
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 |
|
 |
goldmedal
Joined: 18 Mar 2009 Posts: 10 Location: Preston
|
Posted: Fri Oct 02, 2009 8:08 am Post subject: |
|
|
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 |
|
 |
|
|
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