Is your VM's disk fast enough. Some VMs have very poor disk IO performance and this causes issues with Moodle's cache.
Very thanks for reply. My vm is hosted in Aruba. Aruba reassured me that disk I/O of machine it's ok.
Now when i request home page my moodle site is fast, but when I login for load and display /my page needed 10 seconds for see output.
Currently,caching is enabled and configured by default from moodle.
Help me please )) thanks
you should IMHO ask first in the Italian forum since there Aruba is known better than here and we know how their basic packages are faulty in terms of performances. Now, the thread has been started here so let's keep on talking in this thread.
You're talking about a Web Server hosted as a VM with 2 core and 4GB which means to me that your database is hosted out of that VM: if that is true, you should ask Aruba to enhance the performances of your hosted database since Moodle requires a good performance from the Database Server too.
On the contrary, if you're hosting the database within the same VM you should carefully setup it with the help of a system administrator with a good knowledge of your architecture. Aruba is known, at least in the past, to host the file system of its shared packages via NFS - which is a common configuration among ISPs - but with poor performances. Here, you're talking about a VM so hopefully the data store hosting your guest will be performant enough as already confirmed by them: but, did you test it with some I/O tools?
Last but not least while it is clear what is the version of Moodle, what is the stack on top of which your Moodle instance is running? LAMP? WAMP? Which OS and components, including their versions? What is the account whose login is really slow: an administrator or a student? The instance is empty or already configured with how many categories, courses, users, resources? Are you using a custom theme or the default one? Have you disable theme caching?
Slowness at login usually means issues with database first and than with the cache subsystem, by default hosted on the web server file system (again I/O of the disk, as already written in the other posts).
I'm going to throw this out there since nobody else did: You got Theme Designer Mode on?
I'm trying to design a theme and TDM is killing me because of styles_debug.php.
Unfortunately, that's all I got.
Are you talking about "Moodle 2.7 performance and styles_debug.php" https://moodle.org/mod/forum/discuss.php?d=271876 ? What is the connection between that discussion and this?
If you don't know simple courtesy no wonder you suffer!
SPECIAL thanks to all!!
I solved my problem. The problem was Aruba!!
On Friday morning the machine began to go faster alone!! Incredible!!!
Probably the vm was parked on a host with very poor performance...after that was migrated on another host!.. Bho...
Probably I'll change provider!