tinyhumansai/openhuman · error

low disk space: MB free

Error message

low disk space: {avail_mb} MB free

What it means

Doctor disk-space check: a best-effort available_disk_space_mb probe on the workspace reports under 512 MB free. Memory ingestion, SQLite WAL growth, artifact generation and model/file caches all write to this volume; with <512 MB those operations risk ENOSPC failures and possible store corruption from truncated writes.

Solutions

  1. Free space on the volume hosting the workspace (clear caches, logs, old artifacts)
  2. Move the workspace to a larger volume via workspace_dir in config
  3. Check for a runaway memory_tree chunks.db or logs directory consuming the disk
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at src/openhuman/platform/doctor/core.rs:464 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17). Data as JSON: /api/errors/141d686107ed9498. Report an issue: GitHub.

Appendix: source

Thrown at src/openhuman/platform/doctor/core.rs:464

    // Check for config templates or docs
    let prompt = ws.join("SYSTEM.md");
    if prompt.exists() {
        items.push(DiagnosticItem::ok(
            cat,
            format!("SYSTEM prompt: {}", prompt.display()),
        ));
    } else {
        items.push(DiagnosticItem::warn(
            cat,
            format!("SYSTEM prompt missing: {}", prompt.display()),
        ));
    }

    // Disk space warning (best-effort)
    if let Some(avail_mb) = available_disk_space_mb(ws) {
        if avail_mb < 512 {
            items.push(DiagnosticItem::warn(
                cat,
                format!("low disk space: {avail_mb} MB free"),
            ));
        } else {
            items.push(DiagnosticItem::ok(
                cat,
                format!("disk space OK: {avail_mb} MB free"),
            ));
        }
    }
}

fn available_disk_space_mb(path: &Path) -> Option<u64> {
    #[cfg(target_os = "windows")]
    {
        return available_disk_space_mb_windows(path);
    }

View on GitHub (pinned to 7491200858)