LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-26-2023, 03:42 AM   #16
mogmog
Member
 
Registered: Jun 2012
Location: UK
Posts: 91

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by MadeInGermany View Post
Look at the 1st line. Ok, it was greped away, so better use
Code:
lsof | ( read header; echo "$header"; grep "(deleted)" )
The process (COMMAND and PID) holds the file (NAME) with size (SIZE/OFF) open.
But the file is already deleted (unlinked from the directory) and cannot be found by other processes - but lsof.
If you kill the process then the file data will be really deleted, and its disk space will be freed.
Would (should?) they not be deleted on reboot? This seems to indicate that the files persist when you close applications when shutting down and they need finding & deleting?

I took a random file (/dev/shm/.org.chromium.Chromium.cOlWGG (deleted)) and went to that location with caja showing hidden files, but there was almost nothing in there & I couldn't find it in /tmp either

Quote:
Certain apps like gnome-terminal are known to open+delete files in /tmp.
I'm not sure what the import of this is - do you mean I can/have to use terminal to find & delete them. I have Mate terminal if that has the same functions?
Many thanks for your help, I'm a bit out of my depth, but a bit of deeper understanding is useful.
Cheers.
 
Old 06-26-2023, 04:10 AM   #17
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Distribution: Mint/MATE
Posts: 3,037

Rep: Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310
The /dev/shm/ is in RAM.
Display the (-l == local) file systems with
Code:
df -lT
BTW use
Code:
ncdu -x /
to not descend into other (sub-mounted) file systems.

Of course a reboot will terminate all processes and free all disk space.

Yes, Mate is based on Gnome 2.x, and its terminal is like the gnome-terminal.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"No space left on device" error on /tmp. How to increase space on /tmp? anilp Linux - Newbie 12 01-24-2011 01:40 PM
"locked out of tmp folder" system appears to be running normally. poughkeepsie Red Hat 1 01-28-2010 02:09 PM
Server hangs out for ran out of the swap space. guillermo Linux - Server 1 06-12-2008 06:08 PM
Ran out of space on Slackware Linux and can't remove packages because theres not enou simeandrews Linux - Software 5 05-27-2004 04:06 PM
Ran out of disk space at the end of chapter 6!! DarkDrive Linux From Scratch 4 08-22-2003 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration