-
Notifications
You must be signed in to change notification settings - Fork 38
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
storage engine initialization takes too long #2215
Comments
How much data does this node have? Number of shards, sizes, number of files in them? |
It is a known problem with writecache:
I thought there was a GH issue, but I cannot find it now. One of the approaches to fix this is to initialize cache asynchronously (start check in a background -> return |
To give you some numbers, it can take ~40 minutes on a dedicated server with ~10 shards and ~100GB cache, so it is worth fixing IMO. |
this issue is about the first start, when no write-cache exist at all
it has no data, 2 shards |
@532910 has the initialization finished at some point? If not, this can be related to a recent deadlock in the morph client (aka subscribe without channel readers). |
yes, it works fine, only initialization takes too long |
This is reproduced on dev-env of the current version: On the dev-env issue is solved by changing the storage healthchecks timeouts in https:/nspcc-dev/neofs-dev-env/blob/2d67bc26f76ed072a5a093d03661b9a072f35360/services/storage/docker-compose.yml file to a larger value, for example:
It is important to note that this only reproduced on a Debian 11 machine with kernel version 5.10.0-21-amd64. |
Temporarily adjust healthcheck settings in docker-compose file to mitigate issue #2215, until a root cause is found and resolved. Changes include: - Increase interval from 2s to 5s - Increase timeout from 1s to 5s - Increase start_period from 10s to 20s Refs: nspcc-dev/neofs-node#2215 Signed-off-by: Oleg Kulachenko <[email protected]>
Is it still an issue? Shouldn't be. |
Looks like fixed at nspcc-dev/neofs-dev-env#251 |
Seems to be obsolete in init part. Write cache is #2337. |
The text was updated successfully, but these errors were encountered: