منذ فترة قصيرة، بدأ منتدى Discourse الخاص بنا في استنفاد المهلة الزمنية لمعظم الطلبات: https://caddy.community
لم يتم إجراء أي تحديثات أو تغييرات عند بدء حدوث هذه المشكلة قبل بضعة أيام. في بعض الأحيان يعمل التحميل بشكل جيد، لكن بعد بضع دقائق يستغرق التحميل دقائق. (لذلك إذا كان الرابط أعلاه يعمل بسرعة بالنسبة لك، فحاول مرة أخرى بعد بضع دقائق. يمكنك أيضًا تجربة الأمر curl.)
نحن مستضافون على DigitalOcean.
موارد الجهاز ليست ممتلئة: هناك وفرة من وحدة المعالجة المركزية والذاكرة العشوائية (RAM) والقرص وإدخال/إخراج الشبكة المتاحة.
لا توجد أخطاء في السجلات، ولا توجد عمليات غير معروفة قيد التشغيل على الجهاز. كان يعمل بشكل جيد لمدة ثلاث سنوات تقريبًا، لكنه الآن لا يعمل.
هل يعرف أحد كيفية جعل المنتدى يعمل بشكل أسرع؟ قمنا بإعادة تشغيل الجهاز ولا يزال المنتدى يعمل ببطء.
Huh… dang, it is loading faster today. (Others in our community have also experienced it, I know it’s not just me, haha – but it can be intermittent, it seems.)
Hmm, it seems my ssh connections also time out sometimes.
I wonder if DigitalOcean is having network issues (they haven’t reported anything, though) – maybe I will have to open a ticket with DO to find out. It might not be specific to Discourse.
Time spent on Redis isn’t counted and can cause what you see. You will have to dig into the server and check if Redis is having trouble to persist changes to disk.
Oh let me correct myself a bit here. The time spent on redis won’t be on the broken down part of mini profiler, but be counted in the overall time in the first column. So looking at your screenshot, this doesn’t appear to be the case.
Does Caddy logs time waiting on the backend and overall time spent on each request? Is there a possibility that the reverse proxy was waiting?
Thanks for the idea Sam. I have looked at the network inspector before and I do not believe I remember anything too telling – but I’ll check it in more detail next time.
This tends to happen every few days or so, I’ll report back when it does!