-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Throttle staging deals on the lotus-miner markets service and reject new deals, until staged deals are added to sectors. #7241
Comments
is it possible to do a dt rate limiting configuration by size (like byte/sec) based on network speed + ongoing traffic? |
@jennijuju we considered doing this in Lotus, but decided that it is probably best handled by external to Lotus tools, such as tc and other connection traffic shaping tools. |
@jennijuju I think we should close this issue, because it was created for the stopgap tasks of rejecting deals when the staging are is full. Designing a better backpressure mechanism, and propagating information from the sealing pipeline to the markets process in order for it to decide better how and when to reject deals is certainly going to be more involved, so this is not something that is feasible in a few days. |
Agree - do we have a ticket for this? If not, can we create one before closing this? |
Checklist
Ideas
.Lotus component
Improvement Suggestion
Currently Lotus has no way to throttle incoming storage deals. This results in the
deal-staging
directory in themarkets
service repo to become increasingly large without any limits, which results in disk space getting filled to 100% and essentially halting the miner/fullnode.For example on a small miner configuration, where the sealing area and the full node are hosted on a 2TB SSD, there is room only for a few deals and 1-2 sectors being sealed. However the markets subsystem is accepting and storing/staging too many deals successfully, which fills the SSD very quickly.
Ideally we need a mechanism to specify that we want no more than N deals or M GBs to be in the markets node staging area.
The text was updated successfully, but these errors were encountered: