Grav 2.0 - copying a page is slow
-
@robi – Good idea!
Yes, after installing Grav and LAMP (and then Grav on top of that), LAMP/Grav is still faster on the demo server. -
-
If both those apps are installed and using the same disk, I can't quite see how filesystem operations would in any case impact how Grav is serving up files. On top of this, the Grav package is also using apache to serve up the files.
-
Would the following making any difference?
grav-system-info.yaml from the Dockerized install has
opcache.revalidate_freq: "2s"while
grav-system-info.yaml from LAMP install has
opcache.revalidate_freq: "60s"?
-
@robi Thanks for the reply! No, I haven't changed the
opcache.revalidate_freqas I don't know how. If there is a way to do that in Cloudron, please let me know.
CPU usage for both is okay -- but the Disk I/O is quite different: 4.6 GB / 9.6 GB for Docker and 128 MB / 436 MB for LAMP:
Docker:

LAMP:

-
@robi Thanks for the reply! No, I haven't changed the
opcache.revalidate_freqas I don't know how. If there is a way to do that in Cloudron, please let me know.
CPU usage for both is okay -- but the Disk I/O is quite different: 4.6 GB / 9.6 GB for Docker and 128 MB / 436 MB for LAMP:
Docker:

LAMP:

-
Update: just re-tested on the Docker install, and the I/O amounts are now similar to the LAMP install.
However, copying a page in the GUI is still slow.
@superhua have you tried another browser, incognito tabs, no plugins, cleared cache etc yet?
-
@robi Thanks for the reply! No, I haven't changed the
opcache.revalidate_freqas I don't know how. If there is a way to do that in Cloudron, please let me know.
CPU usage for both is okay -- but the Disk I/O is quite different: 4.6 GB / 9.6 GB for Docker and 128 MB / 436 MB for LAMP:
Docker:

LAMP:

-
@superhua have you tried another browser, incognito tabs, no plugins, cleared cache etc yet?
@jdaviescoates Yes, I tried …
- Chrome
- Private browsing
- Minimal plugins (e.g., Admin2, API, Login)
- Clearing cache
… but no difference.
Copying a page in Admin2 is still slow.
Thanks for your reply!
-
@superhua You edit the .yaml file from the File Manager or CLI console.. then test your page copy.
It might help to fully describe exactly what you're doing to copy a page and how slow it is, so it can be tested on the demo server as well.
@robi Forgive the basic question, but which .yaml file?
I'm using the copy page button in Admin2 to copy:

It takes 12-16 seconds before I can edit the new copy on the Dockerized version.
In contrast, on the same server, the LAMP version takes ~7 seconds.
The demo server was faster, but yielded similar results (i.e., faster on on the LAMP install).
Thank you!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
