Jump to content

Recommended Posts

Posted

Hi

 

Good old frantic Help!

 

We have been running moodle 1.9 of our own server Windows 2008 for a few years without too many issues. All of a sudden today it seemed to crash and now pages take minutes to load or don't load. It is running incredibly slow.

 

I know it's a bit vague but any moodle experts have any ideas what could be causing it or what we could try?

 

Nothing was changed prior to it going very slow.

 

Cheers

Posted (edited)

Check server memory. Has something tipped it into paging?

Check disc space. Is it low?

Look at what is running (taskmgr) and see what (if anything) is grabbing CPU.

 

Run some very simple PHP on the server, a page with a php info call. How is the performance of that?

 

Sometimes database indexes can get messed up. refreshing (regenerating indexes) won't do any harm but eliminate general server problems first, otherwise it might take some time.

Edited by pcstru
Posted
Do you keep Moodle patched? It is highly recommended you do so!

 

And, if you do so, remember to log in as admin and run the database upgrade procedure, otherwise things get very confused. Our Moodle server updates nightly from source code control, it was running slowly before I logged in and ran through the procedure to upgrade the database along with the PHP files that had been updated.

Posted

 

Check Has something tipped it into paging?

 

Run some very simple PHP on the server, a page with a php info call. How is the performance of that?

 

Sometimes database indexes can get messed up. refreshing (regenerating indexes) won't do any harm but eliminate general server problems first, otherwise it might take some time.

 

Sorry i'm quite new to moodle (inherited it) how would you do each of these?

 

Thanks

Posted
Sorry i'm quite new to moodle (inherited it) how would you do each of these?

 

This is general server stuff, not Moodle-specific. On Windows, check the performance monitor and look at memory usage and see if the page file is being used lots (you'll also probably be able to hear the harddrives chugging away if you go and listen to the server itself). Write a simple PHP script, plonk it in the WWW root folder and see if you can run it and how long it takes. Have your database package / control panel regenerate indexs.

Posted
Do you know if the RSS block is enabled? I am aware of Moodle 1.9 runnign slowly do the bbc feeds timing out.

 

Have you been working with WSCC schools again?! Had that exact problem too!

Posted

Third day now. Same again. Got to about 12:30 and then moodle grinds to a halt a few hours later its fine.

 

No backups running.

No changes in software othe server.

Down time is at different times in the day.

E.g. Day 1 (Tuesday) - went off about 9:30

Day 2 - went off about 11

Day 3 - went off about 12:30

 

CPU usage is really high but can't see anything suspect in the task manager.

 

I think the issue is more server based than moodle.

 

We have disconnected network cables and it stays the same.

Run it as local host off the network and still slow.

 

Anyone any ideas?

 

Thanks

Posted

On the task manager tab there is a processes tab. Go to the tab and sort the list by CPU use (click on the CPU header) so the CPU hungry processes are at the top. When it is on a go slow, take a few screenshots of that tab.

 

Also look at the scheduled tasks. There are some processes that moodle likes to kick off on a daily basis. Check if something is being set off every day at that time.

Posted

UPDATE

 

Still happening.

 

Day 1 (Tuesday) - went off about 9:30

Day 2 - went off about 11

Day 3 - went off about 12:30

Day 4 - went off about 17:00

 

Could this be someone trying to hack our moodle? It's just so random and nothing changes just before it happens. :S

Posted
The antivirus isnt suddenly checking every page accessed is it? We had something similar and it slowed everything down every day but at different times due to different useage. We traced it to an antivirus update which changed the settings so everything accessed on the server was scanned
  • Thanks 1

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...