Repository navigation
Commit 8a70942
committed
[fix.deploy.mu.D8+] the scratch path, said twice on purpose — in code and where an operator can see it
Same defect as backend/scratch.py, at the other entry point. Measured 2026-08-11: pyscf's
cubegen writes the whole 6.7 MB cube into TMPDIR before returning it, and /tmp on this box is
a 30 GB tmpfs with a PER-USER quota. When the quota is tight the calculation dies with
`OSError: [Errno 122] Disk quota exceeded` from inside cubegen.write — an error a chemist can
do nothing with, arriving from a path that has nothing to do with them.
scratch.py already sets TMPDIR in code, so this is redundant by design: the unit file states
it so an operator reading the unit can SEE where the scratch lives instead of having to find
it in a module that a server imports for its side effect.
Worth recording because the same quota exhausted itself again today and took the shell down
for twenty minutes — the failure does not surface as "disk full" anywhere useful.1 parent 43d2b6b commit 8a70942
2 files changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
29 | 38 | | |
30 | 39 | | |
31 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
29 | 38 | | |
30 | 39 | | |
31 | 40 | | |
| |||
0 commit comments