Tmp active

Edit

Project with 1 Claude Code session(s)

Overview

tmp

PHP JavaScript MongoDB MySQL Redis
ai claude-code

Auto-detected by detect-ai-projects.sh

Links

No links added.

Code Locations
Server (production)
Host: mssql.danmarcrm.com
Path: /tmp
SSH: ssh root@mssql.danmarcrm.com
Linux production server

Upload Conversation

Raw: saves entire content as one entry. Structured: parses User:/Assistant: lines. JSON: parses [{role,content}].
AI Discussions (1) View all in AI Logs
w h y i s / t m p 1 . 2 g b ? claude-opus-4-6 2026-02-23 10:52
23 msgs Open
user 2026-02-23 10:52:05
w h y i s / t m p 1 . 2 g b ?
assistant 2026-02-23 11:55:43
You're out of extra usage · resets 2pm (UTC)
user 2026-02-23 11:55:43
< t a s k - n o t i f i c a t i o n > < t a s k - i d > b c 1 5 7 f 5 < / t a s k - i d > < t o o l - u s e - i d > t o o l u _ 0 1 8 e D c a J P p G D 2 A r b i T U H s m 9 u < / t o o l - u s e - i d > < o u t p u t - f i l e > / t m p / c l a u d e - 0 / - t m p / t a s k s / b c 1 5 7 f 5 . o u t p u t < / o u t p u t - f i l e > < s t a t u s > c o m p l e t e d < / s t a t u s > < s u m m a r y > B a c k g r o u n d c o m m a n d " T o t a l / t m p s i z e a n d t o p i t e m s i n c l u d i n g h i d d e n f i l e s " c o m p l e t e d ( e x i t c o d e 0 ) < / s u m m a r y > < / t a s k - n o t i f i c a t i o n > R e a d t h e o u t p u t f i l e t o r e t r i e v e t h e r e s u l t : / t m p / c l a u d e - 0 / - t m p / t a s k s / b c 1 5 7 f 5 . o u t p u t
assistant 2026-02-23 11:55:43
You're out of extra usage · resets 2pm (UTC)
user 2026-02-23 12:00:57
p l s c o n t i n u e
assistant 2026-02-23 12:00:58
You're out of extra usage · resets 2pm (UTC)
user 2026-02-23 12:02:52
< l o c a l - c o m m a n d - c a v e a t > C a v e a t : T h e m e s s a g e s b e l o w w e r e g e n e r a t e d b y t h e u s e r w h i l e r u n n i n g l o c a l c o m m a n d s . D O N O T r e s p o n d t o t h e s e m e s s a g e s o r o t h e r w i s e c o n s i d e r t h e m i n y o u r r e s p o n s e u n l e s s t h e u s e r e x p l i c i t l y a s k s y o u t o . < / l o c a l - c o m m a n d - c a v e a t >
user 2026-02-23 12:02:52
< c o m m a n d - n a m e > / r a t e - l i m i t - o p t i o n s < / c o m m a n d - n a m e > < c o m m a n d - m e s s a g e > r a t e - l i m i t - o p t i o n s < / c o m m a n d - m e s s a g e > < c o m m a n d - a r g s > < / c o m m a n d - a r g s >
user 2026-02-23 12:02:52
< l o c a l - c o m m a n d - s t d o u t > L o g i n s u c c e s s f u l < / l o c a l - c o m m a n d - s t d o u t >
user 2026-02-23 12:02:57
p l s c o n t i n u e
assistant 2026-02-23 12:09:50
There's the answer. Here's the breakdown of your **1.2 GB** `/tmp`: | Category | Size | Count | Description | |---|---|---|---| | **`claude-*-cwd` dirs** | **~1,673 MB** | 1,673 | Leftover working directories from previous Claude Code sessions | | **`hotel_details_*` / `hotel_*`** | ~130 MB | 86+ | Hotel scraping data files | | **`/tmp/1234`** | 104 MB | 1 | Unknown directory | | **`puppeteer_dev_chrome_profile-*`** | 104 MB | 59 | Puppeteer/Chrome browser profile caches | | **`.org.chromium.Chromium.*`** | ~69 MB | 384 | Chromium temporary files | | **`/tmp/aa12`** | 52 MB | 1 | Unknown directory | | Other misc | small | — | node-compile-cache, pear, etc. | The main culprit is **1,673 `claude-*-cwd` directories** (~1.6 GB) — these are stale working directories from past Claude Code sessions. The `du` at the top-level showed them as 1 MB each but there are so many they dominate. To reclaim the space, you could run: ```bash rm -rf /tmp/claude-*-cwd ``` And optionally clean up the other stale data (puppeteer profiles, chromium temps, hotel files) if you no longer need them.
user 2026-02-23 12:12:34
w h i c h a r e t h e m o s t r e c e n t ? w e l o s t s o m e c o n v e r s a t i o n o n e h o u r a g o , c o u l d b e i n t h e r e a n y t h i n g ?
assistant 2026-02-23 12:13:52
These are just tiny files (6 bytes each) — they store a working directory path, not conversation content. Let me check what's in the recent ones:
assistant 2026-02-23 12:25:52
These `claude-*-cwd` files are **not conversation data** — they're just tiny files (6 bytes) that store the working directory path (`/root`). They don't contain any conversation history or code output. Unfortunately, Claude Code conversation history is not stored in `/tmp`. It's kept in `~/.claude/` projects directories. Let me check if there's anything relevant there:
user 2026-02-23 12:26:09
[Request interrupted by user for tool use]
user 2026-02-23 12:26:59
I ' v e r u n r m - r f / t m p / c l a u d e - * - c w d b u t s p a c e i s s t i l l t h e r e
assistant 2026-02-23 12:27:10
Hmm, the visible directories only add up to ~250 MB but the total is 1.2 GB. The cwd files were tiny (6 bytes each) so removing them didn't help. Let me find where the hidden space is.
assistant 2026-02-23 12:32:16
The visible items sum to ~300 MB but `du` reports 1190 MB for `/tmp`. This means there are **deleted files still held open by running processes**. Let me check:
assistant 2026-02-23 14:38:55
Those are tiny. Let me check the filesystem more directly:
user 2026-02-23 14:39:05
[Request interrupted by user for tool use]
user 2026-02-23 14:39:20
s o r r y p l s c o n t i n u e s e l e c t e d n o b y m i s t a k e
assistant 2026-02-23 14:39:22
No worries!
assistant 2026-02-23 14:53:24
Now I see the real picture. Notice `/tmp` itself is reporting **4 MB** for its directory entry (that `4009984` in the listing). That's unusual — it means `/tmp` had a huge number of entries at some point. Even after deleting the 1,673 `claude-*-cwd` files, the **directory file itself** still occupies that space. Also note your disk is **98% full** (773 MB free on a 38G disk). Here's the actual breakdown: | Item | Size | Notes | |---|---|---| | `/tmp/1234/` | 104 MB | Old MSSQL sync output from Jun 2024 | | `/tmp/aa12/` | 52 MB | dmcFinServ.php output from Jan 2025 | | Puppeteer profiles | ~104 MB | 59 stale Chrome profiles | | Chromium tmp files | ~69 MB | 384 `.org.chromium.Chromium.*` files | | Hotel scraping files | ~130 MB | 86 hotel_details files | | `/tmp` dir entry bloat | ~4 MB | From having had thousands of entries | | **Remaining ~700+ MB** | ? | Likely the `/tmp` directory inode not shrinking after deletion | The `du` discrepancy is because the `/tmp` directory entry itself is 4 MB (it grew from housing 1,673+ files). Directory files in ext4 don't shrink after entries are deleted — the space is only reclaimed if you recreate the directory. To actually free significant space, you could clean up the stale data: ```bash rm -rf /tmp/puppeteer_dev_chrome_profile-* rm -rf /tmp/.org.chromium.Chromium.* rm -rf /tmp/hotel_details_* /tmp/hotel_*.html ``` And if `/tmp/1234` and `/tmp/aa12` are no longer needed, those would free another 156 MB. Want me to clean any of these up?
API: https://mssql.danmarcrm.com/dev1/dmcallv1/api/projects/tmp — Returns full project JSON for AI model context.