{"id":7165,"date":"2014-05-27T00:25:45","date_gmt":"2014-05-27T00:25:45","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/05\/27\/unexpected-space-consumption-collection-of-common-programming-errors\/"},"modified":"2014-05-27T00:25:45","modified_gmt":"2014-05-27T00:25:45","slug":"unexpected-space-consumption-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/05\/27\/unexpected-space-consumption-collection-of-common-programming-errors\/","title":{"rendered":"Unexpected space consumption-Collection of common programming errors"},"content":{"rendered":"<p>I have a problem. I run out of disk space all the time. I don&#8217;t know exactly what files consume all the space. It seems that there are bunch of little files, so it&#8217;s hard to find with <code>du<\/code> command. Every time I find something to get rid of to gain some free space (mails, logs, old archives and rpms), disk is full again after some time. Space is stolen from system partition (\/). Results of <code>df<\/code> command:<\/p>\n<pre><code>Filesystem           1K-blocks      Used Available Use% Mounted on\n\/dev\/sda1              4061540   3848404      3492 100% \/\n\/dev\/sda3              4061572   2441348   1410576  64% \/home\ntmpfs                   517636         0    517636   0% \/dev\/shm\n\/dev\/sdb1             10317828   1894904   7898808  20% \/var\/lib\/mysql\n<\/code><\/pre>\n<p>What would you recommend in this situation?<\/p>\n<p>It would be great if you can also enumerate a list of cases when you encounter excessive or unexpected space consumption. It might help to resolve problem<\/p>\n<p>OS: CentOS 5.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a problem. I run out of disk space all the time. I don&#8217;t know exactly what files consume all the space. It seems that there are bunch of little files, so it&#8217;s hard to find with du command. Every time I find something to get rid of to gain some free space (mails, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7165","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7165"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7165\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}