{"id":2012,"date":"2010-01-21T03:32:53","date_gmt":"2010-01-21T08:32:53","guid":{"rendered":"http:\/\/g33kinfo.com\/info\/?p=2012"},"modified":"2010-01-21T03:32:53","modified_gmt":"2010-01-21T08:32:53","slug":"tmp-folder-100-full","status":"publish","type":"post","link":"https:\/\/g33kinfo.com\/info\/tmp-folder-100-full\/","title":{"rendered":"tmp folder 100% full"},"content":{"rendered":"<p>I recent came across an issue where the \/tmp folder was being listed as 100% full<br \/>\n<code><br \/>\ndf -H | grep -vE '^Filesystem|tmpfs|cdrom' <\/p>\n<p>\/dev\/sda7 2.1G   514M  1.5G  27%  \/<br \/>\n\/dev\/sda8 124G   2.5G  115G  3%   \/home<br \/>\n\/dev\/sdb1 156G   1.2G  146G  1%   \/backup<br \/>\n\/dev\/sda6 2.1G   2.1G  0M    100% \/tmp < <<\n\/dev\/sda5 11G    8.2G  1.8G  83%  \/var \n\/dev\/sda2 11G    4.5G  5.4G  46%  \/usr \n\/dev\/sda1 200M   19M   171M  10%  \/boot\n<\/code><\/p>\n<p>Strangely, there were no files in the \/tmp folder. This is how it happens. If you delete files from a folder and they still show up when you check a df -h disk status,  then the deleted files are linked to currently running processes. You will have to stop or restart the processes that had those files open in the first place, typically httpd or mysql.<br \/>\n<\/code><code><br \/>\nlsof | grep \/tmp<br \/>\n<\/code><br \/>\nwill get the result shown below<br \/>\n<code><br \/>\nhttpd 30170 nobody 1975u REG 7,0 0 11 \/tmp\/ZCUDMogQDr (deleted)<br \/>\nhttpd 30200 nobody 1975u REG 7,0 0 11 \/tmp\/ZCUDMngQDr (deleted)<br \/>\nmysqld 7291 mysql 5u REG 7,0 1089 29 \/tmp\/ibYfoGNC (deleted)<br \/>\nmysqld 7292 mysql 6u REG 7,0 0 30 \/tmp\/ibgA0zfB (deleted)<br \/>\n<\/code><\/p>\n<p>You will need to kill the httpd and mysql processes it shows that are linked to the deleted files which will fix the problem.  <\/p>\n<p>To kill the httpd and mysql processes<br \/>\n<code><br \/>\nkillall -e -9 httpd<br \/>\n<\/code>or<br \/>\n<code><br \/>\nservice httpd restart<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recent came across an issue where the \/tmp folder was being listed as 100% full df -H | grep -vE &#8216;^Filesystem|tmpfs|cdrom&#8217; \/dev\/sda7 2.1G 514M 1.5G 27% \/ \/dev\/sda8 124G 2.5G 115G 3% \/home \/dev\/sdb1 156G 1.2G 146G 1% \/backup \/dev\/sda6 2.1G 2.1G 0M 100% \/tmp <\n<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-2012","post","type-post","status-publish","format-standard","hentry","category-info"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>tmp folder 100% full - Linux Shtuff<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/g33kinfo.com\/info\/tmp-folder-100-full\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"tmp folder 100% full - Linux Shtuff\" \/>\n<meta property=\"og:description\" content=\"I recent came across an issue where the \/tmp folder was being listed as 100% full df -H | grep -vE &#039;^Filesystem|tmpfs|cdrom&#039; \/dev\/sda7 2.1G 514M 1.5G 27% \/ \/dev\/sda8 124G 2.5G 115G 3% \/home \/dev\/sdb1 156G 1.2G 146G 1% \/backup \/dev\/sda6 2.1G 2.1G 0M 100% \/tmp\" \/>\n<meta property=\"og:url\" content=\"https:\/\/g33kinfo.com\/info\/tmp-folder-100-full\/\" \/>\n<meta property=\"og:site_name\" content=\"Linux Shtuff\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:author\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:published_time\" content=\"2010-01-21T08:32:53+00:00\" \/>\n<meta name=\"author\" content=\"g33kadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/drsinger1111\" \/>\n<meta name=\"twitter:site\" content=\"@drsinger1111\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/tmp-folder-100-full\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/tmp-folder-100-full\\\/\"},\"author\":{\"name\":\"g33kadmin\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"headline\":\"tmp folder 100% full\",\"datePublished\":\"2010-01-21T08:32:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/tmp-folder-100-full\\\/\"},\"wordCount\":122,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"articleSection\":[\"General Info\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/g33kinfo.com\\\/info\\\/tmp-folder-100-full\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/tmp-folder-100-full\\\/\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/tmp-folder-100-full\\\/\",\"name\":\"tmp folder 100% full - Linux Shtuff\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\"},\"datePublished\":\"2010-01-21T08:32:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/tmp-folder-100-full\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/g33kinfo.com\\\/info\\\/tmp-folder-100-full\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/tmp-folder-100-full\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"tmp folder 100% full\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\",\"name\":\"Linux Shtuff\",\"description\":\"Because I have CRS Syndrome...\",\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\",\"name\":\"g33kadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"contentUrl\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"width\":512,\"height\":512,\"caption\":\"g33kadmin\"},\"logo\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\"},\"description\":\"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\\\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....\",\"sameAs\":[\"https:\\\/\\\/thelinuxreport.com\",\"https:\\\/\\\/fb.me\\\/g33kinf0\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/drsinger1111\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"tmp folder 100% full - Linux Shtuff","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/g33kinfo.com\/info\/tmp-folder-100-full\/","og_locale":"en_US","og_type":"article","og_title":"tmp folder 100% full - Linux Shtuff","og_description":"I recent came across an issue where the \/tmp folder was being listed as 100% full df -H | grep -vE '^Filesystem|tmpfs|cdrom' \/dev\/sda7 2.1G 514M 1.5G 27% \/ \/dev\/sda8 124G 2.5G 115G 3% \/home \/dev\/sdb1 156G 1.2G 146G 1% \/backup \/dev\/sda6 2.1G 2.1G 0M 100% \/tmp","og_url":"https:\/\/g33kinfo.com\/info\/tmp-folder-100-full\/","og_site_name":"Linux Shtuff","article_publisher":"https:\/\/fb.me\/g33kinf0","article_author":"https:\/\/fb.me\/g33kinf0","article_published_time":"2010-01-21T08:32:53+00:00","author":"g33kadmin","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/drsinger1111","twitter_site":"@drsinger1111","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/g33kinfo.com\/info\/tmp-folder-100-full\/#article","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/tmp-folder-100-full\/"},"author":{"name":"g33kadmin","@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"headline":"tmp folder 100% full","datePublished":"2010-01-21T08:32:53+00:00","mainEntityOfPage":{"@id":"https:\/\/g33kinfo.com\/info\/tmp-folder-100-full\/"},"wordCount":122,"commentCount":0,"publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"articleSection":["General Info"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/g33kinfo.com\/info\/tmp-folder-100-full\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/g33kinfo.com\/info\/tmp-folder-100-full\/","url":"https:\/\/g33kinfo.com\/info\/tmp-folder-100-full\/","name":"tmp folder 100% full - Linux Shtuff","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/#website"},"datePublished":"2010-01-21T08:32:53+00:00","breadcrumb":{"@id":"https:\/\/g33kinfo.com\/info\/tmp-folder-100-full\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/g33kinfo.com\/info\/tmp-folder-100-full\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/g33kinfo.com\/info\/tmp-folder-100-full\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/g33kinfo.com\/info\/"},{"@type":"ListItem","position":2,"name":"tmp folder 100% full"}]},{"@type":"WebSite","@id":"https:\/\/g33kinfo.com\/info\/#website","url":"https:\/\/g33kinfo.com\/info\/","name":"Linux Shtuff","description":"Because I have CRS Syndrome...","publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/g33kinfo.com\/info\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547","name":"g33kadmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","url":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","contentUrl":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","width":512,"height":512,"caption":"g33kadmin"},"logo":{"@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif"},"description":"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....","sameAs":["https:\/\/thelinuxreport.com","https:\/\/fb.me\/g33kinf0","https:\/\/x.com\/https:\/\/twitter.com\/drsinger1111"]}]}},"_links":{"self":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/2012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/comments?post=2012"}],"version-history":[{"count":0,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/2012\/revisions"}],"wp:attachment":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/media?parent=2012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/categories?post=2012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/tags?post=2012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}