Probe timeout 10s and 2 gunicorn workers

FixKlusterServices
ส่งแล้ว
30 เมษายน 2569 เวลา 18:31 UTC
ผู้เขียน
Kamo
ตั้งค่า
b2af4e5

LibreTranslate's /languages probe blocks on the gunicorn worker event loop. With a single worker translating a long chat message, the probe times out at the default 1s and kubelet kills an otherwise-healthy pod. Two failures hit users: - "Connection refused" hammering MediaService while the pod restarts - ~3s outage every time gunicorn recycles its only worker Bump probe timeoutSeconds to 10s on liveness/readiness/startup, raise liveness failureThreshold to 10, and run 2 workers so a recycle of one doesn't take the service down. CPU limit raised to 2 cores so the workers don't queue behind each other on busy translations.

เปลี่ยนแปลงทั้งหมด

เหมือนที่คุณเห็นการขนส่ง?

ทุก คน ที่ ได้ รับ การ ปรับ ปรุง เหล่า นี้ จะ ลง ไป ใน ที่ ทํา งาน ของ คุณ โดย อัตโนมัติ. เริ่มให้อิสระและดูมันเติบโตสัปดาห์แล้วสัปดาห์เล่า.

เริ่ม เป็น อิสระ ตลอด ไปแสดงพริ้นซ์