unix
9 minLinux Disk Full Errors: Blocks, Inodes, Deleted Files, and Safe Cleanup
Diagnose ENOSPC when disk usage looks confusing, including exhausted inodes and deleted files still held open.
Loading page...
unix
9 minDiagnose ENOSPC when disk usage looks confusing, including exhausted inodes and deleted files still held open.
Q&A
Q&AInodes may be exhausted, or deleted files may still be held open by running processes.
Compare df -h with df -i. If block usage and directory totals disagree, inspect open-but-deleted files with lsof +L1. A process retains allocated blocks until it closes the file; restart or signal the owning service through its safe lifecycle after confirming the file is disposable.
unix
18 minConnect kernel readiness APIs, resource limits, cgroups, socket queues, page cache, and inode behavior to production symptoms.
databases
9 minUnderstand InnoDB's clustered primary key, secondary-index lookups, transaction behavior, and practical query-plan analysis.
databases
8 minUse concurrent index builds without assuming they are lock-free or all-or-nothing.
Q&A
Q&AInnoDB secondary-index entries carry the primary-key value used to find the clustered row.
InnoDB organizes table rows by the clustered primary key. Secondary indexes store their indexed columns plus the primary-key value, so a query requesting columns absent from the secondary index may need a second lookup. Wide primary keys therefore increase the footprint of every secondary index.
databases
10 minConnect PostgreSQL's multi-version concurrency control to transaction visibility, vacuum work, index choice, and EXPLAIN output.
databases
10 minA systematic approach to diagnosing ORM query explosions and slow database plans without guessing at indexes.