Jump to content

Recommended Posts

Posted

Hi I have had a problem this morning with CPU hitting 100% for about 5 mins. This was the first lesson and having trouble logging into sims.net. After the 5 mins people where into Sims and working fine. How can we stop the spike, can we configure sql or change setting?

 

Thanks

Posted (edited)

I'm a little rusty having left the SIMS helpdesk a couple of years ago, but...

The first thing to try is to do a backup from system manager - this seems like an odd thing to say but it trims the SIMS.LDF file down to size and increses perfomance.

Failing that, there's a reindex patch available - request it from your local support team and apply it - then do another backup as that inflates the LDF too (allow up to an hour for DbUpgrade to run it).

 

What version of SQL Server are you running and how many users have you got?

Edited by BatchFile
Posted

The 2 biggest times when we get CPU spikes is...

 

1) When I am running Database Diagnotics (so this will only happen if you are running it).

 

2) When the admin staff delete a student from Sims - This stops anyone logging onto Sims and lasts about 20-30 mins on our system.

Posted (edited)

Another thought drifted into my head...

 

when you say users can't log in, do you mean they hang for ages but get in eventually, or do they actually fail with a timeout fault code?

 

if it's the latter, adding

commandtimeout=99999

to the connect.ini file, just below the "databasename=" line, will stop it from timing out

Edited by BatchFile
corrected the "commect.ini" file name to "s:\sims\connect.ini"
  • Thanks 1
Posted
Thanks Tony for the info, it sound very interesting. i will have a play and let you know how I get on. The user waits about 90 seconds then gets in. We are running SQL 2005 Full verison.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...