-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
caching problem with gluster #126
Comments
Wow, we are currently struggling with perf deficiencies with gluster, and it's very surprising to see this issue posted at the same time. However, we didn't see this error under very small load, and it's mostly the high latency, not errors like this. Maybe I didn't dig enough to confirm this myself, but if errors like these occur, I suppose it'll manifest as HTTP failures, not as high latency. Still, very worth considering and improvement. I think eventually we'll need to provide ways for users to tweak the various configs like this after the deployment. This config.php change can be done on the controller VM and I'll also try to see if this improves our current high latency gluster-based Moodle deployment. Thanks again for your contribution! |
Update: We ourselves haven't experienced the No such file or directory issue (or maybe oblivious) with a high load test plan. We also tried the alternative_component_cache tip on a high load perf testing run, but it didn't help much (latency still very unacceptable). We've heard from the engaged partner that they observed some weird behavior with the Gluster file system, and I suspect this might be related to that symptom? We'll need some deeper understanding of Gluster and their current bugs/issues to figure this out. |
Is Moodle configured with REDIS for application cache for your testing? |
In the environment @hosung refers to above we discovered Moodle 3.2 and earlier has a bug preventing effective use of Redis. We therefore disabled Redis. This and a number of other improvements (including using NFS rather than Gluster FS) resulted in good results. For Moodle 3.3+ Redis works. |
in Moodle config Redis is only set up to be used as session cache store and not application, I imagine it would make a significant difference, regarding the use of NFS, I understand you have a non-HA version? |
@enovationIT -- Our Yes, currently NFS is non-HA, but we are investigating HA NFS using DRBD. Unfortunately, the DRBD kernel module is not built in the distributed Linux-azure kernels, so we are working with our kernel team to include that. |
@enovationIT -- We'd still be interested in configuring redis for application cache. Could you provide us with how to do that? Thanks in advance! |
https://docs.moodle.org/34/en/Redis_cache_store
The Moodle docs mention that redis support was introduced in 3.2.
I think it may be of significant value as an app cache rather than session
only.
I've yet to test it, though. It's on my agenda for my on-prem deployment.
…On Wed, May 30, 2018, 11:20 AM Hosung Song ***@***.***> wrote:
@enovationIT <https://github.com/enovationIT> -- We'd still be interested
in configuring redis for application cache. Could you provide us with how
to do that? Thanks in advance!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#126 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADJVdY_Ed1CJXxBQANM7KyW5Oszp7S6Yks5t3rjIgaJpZM4UMf7h>
.
|
we started hitting errors under very small load caused by core_component.php being stored on gluster share
changing it to local file system improved performance and got rid of the error
The text was updated successfully, but these errors were encountered: