Started to run my algorithm on live, and instead of “debug” I using now “log”. Few hours after algorithm crashed with message “No space left on device”.
I guess the issue with logs size. How I can clear existing log files? Why logs are not rolling - are they expected to grow indefinitely?
Mia Alissi
Here's how to manage and resolve the log size issues you are facing with your QuantConnect algorithm:
Understand Log Quotas:
Reducing Log Output:
Log Rotation:
API Functionality:
Log
to handle and manage your log outputs. However, ensure that logging mechanisms aren't creating unnecessary overhead.Implementing these strategies will help prevent your algorithm from crashing due to log-related space issues. If the problem persists and affects your operations significantly, consider upgrading your QuantConnect subscription for higher log quotas or reach out to their support for more tailored solutions.
Sources: Logging - QuantConnect.com, Debugging - QuantConnect.com, Debugging Tools - QuantConnect.com
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Evgeni Aizikovich
Hi Mia,
I'm using a Researcher tier and the issue happens on live node. I don't see in UI option to delete logs, just to download.
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!