Opened 10 months ago
Closed 8 months ago
#18756 closed bug (fixed)
Haiku Gerrit service (site) not available - as error : 404 Not Found (by ngnix) - or its host is down
Reported by: | KitsunePrefecture | Owned by: | kallisti5 |
---|---|---|---|
Priority: | high | Milestone: | Unscheduled |
Component: | Website/Gerrit | Version: | R1/beta4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Hi,
I 'm just back from work and started Web+ .... this way I saw immediately :
tab of Haiku Gerrit (site) is again
[ 404 Not Found x ]
I refreshed https://cgit.haiku-os.org/haiku/log/
but I got
[ Timeout reached ] message window - finally.
Seems Haiku Gerrit or its host is down.
Now just for sure open this ticket, if it is an unexpected event,
good to be informed about.
Kind regards,
Change History (4)
comment:1 by , 10 months ago
comment:2 by , 10 months ago
What if an another server would get some health check signal ?
If it would miss 2 times in a certain period, then attempt to remotely reboot the host of Gerrit ?
comment:3 by , 10 months ago
Nah, this is all containers in kubernetes with liveness probes:
- cgit slows down
- cgit stops serving requests
- kubernetes kills cgit and restarts it
- repeat
Unfortunately, cgit is prone to issues.
It gets overwhelmed pretty easily with requests for log history requests on our large (extensive history + tags) git repo.
Our git repos are garbage collected.. i'm not really sure what else to do to prevent it from happening. We could run multiple instances of cgit, but that's mostly offering some redundancy for when it does crash (and even then, crashes won't be seamless)