Extreme slowness with Folders.

Extreme slowness with Folders.

by david millians -
Number of replies: 3

We have a situation. In this moodle, teachers are uploading their weekly lesson plans into a folder resource type.

At this point, with a year's worth of uploads (say, 7 teachers, with sub-folders for each class) the time to usability after clicking on 'edit' is 7 minutes.

During this time, the whole system bogs down. I don't get a slow query from this activity- the actual query is under a second.

We are working to force them to switch to another method of doing this- most probably databases- but this behavior is so bizarre, I want to see what I can do to make sure it works properly.

Thanks very much!

Average of ratings: -
In reply to david millians

Re: Extreme slowness with Folders.

by Derek Chirnside -

Too little information, david.

Version?  Locally hosted?  Looked at debugging?

Is it a function of how many files are in the folders?

-Derek

 

In reply to Derek Chirnside

Re: Extreme slowness with Folders.

by david millians -

They're at 2.6.1+, hosted on Ubuntu LTS 12 with 6 gig of ram on a VM. VM server has juice, and there's never been any real slowdown before, with or without opcode caching. Have not turned on debugging since it's all working, albeit slow. Did check slow logs and saw nothing.

As for size, I didn't post any specifics because quite frankly I just wanted to see if anybody had had *any* weird things with folders. I haven't. 

This folder though has, say, 5 sub folders, and those have between 2 & 3; they will have probably 10 files per terminal folder or so. Let's just say 5 teachers, 10 files per class, with 3 class preps each means 150 files total. The total zip of all files was under 3 megs, I do know that. 

I'll post some specifics later today. thanks For reading. The kids gotta play in the snow first…

In reply to david millians

Re: Extreme slowness with Folders.

by Robert Brenstein -
On the course level, only the resource info is displayed, so the actual content of folders (files and subfolders) should have no bearing on performance. It might be worth checking the server logs (with debugging cranked up) and whether this has any relation to the theme and/or course format used.