What happens when you run out of diskspace
- User
What happens when you run out of diskspace
- Assistant
When you run out of disk space while using Hoarder, several issues could arise depending on which component of the application is affected. Here’s a breakdown of what might happen and what you can do to address it:
1. Database Issues
Hoarder relies on a database for storing user data, including bookmarks, notes, tags, and other metadata. If the disk runs out of space:
- Symptoms:
- The database may fail to write new records or updates.
- Errors like
SqliteError: no such table: usermay appear, as the database might not initialize properly due to insufficient space for migrations or temporary files.
- Troubleshooting:
- Check if the
DATA_DIRenvironment variable points to a location with adequate storage. - Free up space and restart the application or container so it can reinitialize properly.
- Check if the
2. File Storage Issues
Hoarder allows storing assets such as images, PDFs, and full-page archives. If the disk is full:
- Symptoms:
- Uploads of new files or assets will fail.
- Errors related to file writing or saving may appear in the logs.
- The application may become unstable if temporary files (e.g., screenshots, crawled data) cannot be saved.
- Troubleshooting:
- Free up storage in the directory specified by the
DATA_DIRenvironment variable. - Ensure that the
MAX_ASSET_SIZE_MBenvironment variable is appropriately configured to prevent uploading large files that might exacerbate the problem.
- Free up storage in the directory specified by the
3. Crawler Issues
Hoarder uses a headless browser (via Puppeteer) to crawl and fetch metadata, screenshots, and videos. If the disk is full:
- Symptoms:
- Crawling jobs may fail, as temporary files (e.g., screenshots, archive data) cannot be stored.
- Logs might show errors related to the
CRAWLER_STORE_SCREENSHOTorCRAWLER_FULL_PAGE_ARCHIVEsettings.
- Troubleshooting:
- Check the
CRAWLER_NUM_WORKERSand ensure multiple workers are not overwhelming the available disk space. - Disable optional resource-heavy features (e.g.,
CRAWLER_STORE_SCREENSHOT, , and ) by setting their respective environment variables to .
- Check the
- Symptoms:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.