Site home very slow, 39 seconds

Re: Site home very slow, 39 seconds

by Marcus Green -
Number of replies: 7
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

What file system are you using?

In reply to Marcus Green

Re: Site home very slow, 39 seconds

by Albert Ramsbottom -

NFS shared between 6 web servers !!

I know, not a great set up but it was already designed when I turned up


smile

In reply to Albert Ramsbottom

Re: Site home very slow, 39 seconds

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Nothing wrong with that.


In reply to Howard Miller

Re: Site home very slow, 39 seconds

by Albert Ramsbottom -

Very slow Howard when its the application code base

Cheers

In reply to Albert Ramsbottom

Re: Site home very slow, 39 seconds

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

*definitely* don't do that. That's crazy. 

NFS is fine for the 'moodledata' area (but not for the cache)

In reply to Howard Miller

Re: Site home very slow, 39 seconds

by Albert Ramsbottom -

No, No

We have moodledata on NFS

And the

Moodle application on NFS

which is crap. 


We have 3 x memedcache servers for the cache

Moodledata is fine

Moodle codebase (application), is not


Place doesn't want to rsync the 6 webs and decided very early not to cluster the webs, so I am left with a donkey

In reply to Albert Ramsbottom

Re: Site home very slow, 39 seconds

by Albert Ramsbottom -

"NFS is fine for the 'moodledata' area (but not for the cache)"

What Cache?????


Where should we store the cache, then? Cache is stored in the moodledata folder? no?

In reply to Albert Ramsbottom

Re: Site home very slow, 39 seconds

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

On a load-balanced system you *have* to use an external shared cache. I recommend Redis but you do have other choices. 

If you cache on shared NFS - well, you will regret it wink