-
Notifications
You must be signed in to change notification settings - Fork 187
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
OCIS 7 crashing at regular intervals #10785
Comments
I've done some research. The issue seems to be inside
A EDIT: I opened an issue micro/go-micro#2743 |
@mcarbonne thanks for finding this! We are working on a fix in go-micro. Meanwhile, if you are not using a distributed environment you could try using inmemory registry |
I can confirm that this workaround is effective => no crash after 1 hour and no more strange logs (the one with |
@mcarbonne Could you please give me more context about your case? Hoe did I test IDM_ADMIN_PASSWORD=admin \
IDM_CREATE_DEMO_USERS=true \
PROXY_ENABLE_BASIC_AUTH=true \
OCIS_INSECURE=true ./ocis/bin/ocis server
|
I have multiple clients (android, desktop app, Web). |
Here is an optimistic fix but it sill should be validated 2403905/go-micro@6307b41 |
Describe the bug
I upgrade my ocis instance from 5 to 7 (I followed this)
Since the update, my instance is always crashing before 10 minutes of runtime.
I've got a very long stack track, listing all routines, but the most relevant log is this
Dec 18 17:40:13 : fatal error: concurrent map writes
.(the trace is very very long and contains all goroutines).
I also noticed some strange logs before (
error happened in MultiHostReverseProxy error="dial tcp 127.0.0.1:33877: connect: connection refused
).I don't now if I can just ignore them, but just after the upgrade, when I tried to browse my files in the web ui, I was somethings getting "no resource founds" when opening my spaces. A simple refresh was enough to get my files backup (it happened several times). Is there any background migration task when upgrading from 5 to 7 ? Most likely, this isn't related to my main issue.
I also noticed a regular pattern, crash seems to occurs at regular intervals:
Steps to reproduce
I haven't tried to reproduce the whole path but here is what I've done
Expected behavior
ocis shall not crash without any reasons.
Actual behavior
ocis restarting every few minutes.
Setup
I'm upgrading from the latest ocis 5 to ocis 7 with keycloak SSO + podman (instead of docker).
My setup is very similar to https://owncloud.dev/ocis/deployment/ocis_keycloak/
Regarding data, I have 2 main spaces with ~95Gb and ~25Gb of data ( + a few other small spaces)
The text was updated successfully, but these errors were encountered: