Mssqlserver 2005 system database

My msdb is 11GB, I tried to do a backup but I got "Time-out occurred while waiting for buffer latch type 3 for page (1:708), database ID 4." , I tried to shrink the log file I received the same timeout,I checked the execution time out and it's set to 0. I tried to do a dbcc checkdb on the msdb but I got the same timeout. What can I do with this msdb to reduce the size and get it working properly.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Anthony PerkinsCommented:
What is the size of the data file and what is the size of the Transaction Log?
Raja Jegan RSQL Server DBA & Architect, EE Solution GuideCommented:
Seems like msdb is piled with this information:

* Backup History
* Maintenance plan history
* Agent Jobs history

Just set some_value with any numeric value to purge or remove history information over a period of time..

declare @dt datetime
select @dt = getdate() - some_value
exec msdb.dbo.sp_delete_backuphistory @dt
EXEC msdb.dbo.sp_purge_jobhistory  @oldest_date='2010-03-22T22:24:26'
EXECUTE msdb..sp_maintplan_delete_log null,null,'2010-03-22T22:24:26'

Once done, take a full backup of msdb and then shrink your database or ldf file to a lower value.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2005

From novice to tech pro — start learning today.