<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Low disk space on MANGO]]></title><description><![CDATA[<p dir="auto">Hello, I have an 8GB MangoES and it's running low on space. This is a picture of the space usage from the putty:</p>
<p dir="auto"><img src="https://camo.nodebb.org/50cb388028f01c130948dffb2c32a350045c3331?url=https%3A%2F%2Fi.imgur.com%2F5yxfFoy.jpg" alt="0_1531995515199_2018-07-19_13-17-14.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">And if I run this command: du -sh /opt/* it gives me this result:</p>
<p dir="auto"><img src="https://camo.nodebb.org/22cf1e041262e6ede459318c4a6a70eea1921291?url=https%3A%2F%2Fi.imgur.com%2FWBBPFC7.jpg" alt="0_1531995572058_2018-07-19_13-17-30.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">So from this it seems that my files are not so big in the mango folder. Any idea why my disk space is almost full or how I can clear some space?</p>
<p dir="auto">Thank you!</p>
]]></description><link>https://forum.mango-os.com/topic/3657/low-disk-space-on-mango</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 14:11:26 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/3657.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Jul 2018 10:19:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Low disk space on MANGO on Thu, 13 Jun 2019 17:10:37 GMT]]></title><description><![CDATA[<p dir="auto">Hmm, that looks okay. I wonder if maybe there's another cron definition invoking the script? You could try commenting out the line that tries to invoke <code>/usr/sbin/systemInfo/timeAlive</code> in <code>/usr/sbin/systemInfo/getAll</code> to see if that error is what's getting there, but I have the same line in the device I'm looking at and it doesn't produce <code>/var/mail/mail</code> contents. That definitely looks a lot like what was happening when the output of the cron job was not being redirected to <code>/dev/null</code></p>
]]></description><link>https://forum.mango-os.com/post/22416</link><guid isPermaLink="true">https://forum.mango-os.com/post/22416</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Thu, 13 Jun 2019 17:10:37 GMT</pubDate></item><item><title><![CDATA[Reply to Low disk space on MANGO on Mon, 17 Jun 2019 05:23:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/phildunlap" aria-label="Profile: phildunlap">@<bdi>phildunlap</bdi></a> Hi Phil</p>
<p dir="auto">Here is the output from one of the older mangoes that DOES exhibit the problem:</p>
<p dir="auto">mango@mangoES3047:~$sudo tail -n 50 /var/mail/mail<br />
[sudo] password for mango:<br />
Envelope-to: root@mangoes<br />
Delivery-date: Thu, 13 Jun 2019 17:15:02 +0800<br />
Received: from root by mangoES3047 with local (Exim 4.84)<br />
(envelope-from <a href="mailto:root@mangoes" rel="nofollow ugc">root@mangoes</a>)<br />
id 1hbLp0-0003k9-7R<br />
for root@mangoes; Thu, 13 Jun 2019 17:15:02 +0800<br />
From: root@mangoes (Cron Daemon)<br />
To: root@mangoes<br />
Subject: Cron <a href="mailto:root@mangoES3047" rel="nofollow ugc">root@mangoES3047</a> /usr/sbin/systemInfo/getAll<br />
MIME-Version: 1.0<br />
Content-Type: text/plain; charset=UTF-8<br />
Content-Transfer-Encoding: 8bit<br />
X-Cron-Env: &lt;SHELL=/bin/sh&gt;<br />
X-Cron-Env: &lt;HOME=/root&gt;<br />
X-Cron-Env: &lt;PATH=/usr/bin:/bin&gt;<br />
X-Cron-Env: &lt;LOGNAME=root&gt;<br />
Message-Id: <a href="mailto:E1hbLp0-0003k9-7R@mangoES3047" rel="nofollow ugc">E1hbLp0-0003k9-7R@mangoES3047</a><br />
Date: Thu, 13 Jun 2019 17:15:02 +0800</p>
<ul>
<li>Dir=/opt/info/</li>
<li>LogFile=systemInfo-new.txt</li>
<li>Together=/opt/info/systemInfo-new.txt<br />
++ uname -m</li>
<li>arch=armv7l</li>
<li>&lsqb;&lsqb; armv7l == \a\r\m\v\7\l &rsqb;&rsqb;<br />
++ mount<br />
++ grep 'on / type'<br />
++ awk '{print $1}'</li>
<li>DiskName=/dev/mmcblk0p2</li>
<li>echo '########DISK##########'</li>
<li>echo -ne 'Disk Name: '</li>
<li>echo /dev/mmcblk0p2</li>
<li>echo -ne 'Disk Total Size: '</li>
<li>df -m /</li>
<li>tail -1</li>
<li>awk '{print $2}'</li>
<li>echo -ne 'Disk Space Used: '</li>
<li>df -m /</li>
<li>tail -1</li>
<li>awk '{print $3}'</li>
<li>echo -ne 'Disk Space Left: '</li>
<li>df -m /</li>
<li>tail -1</li>
<li>awk '{print $4}'</li>
<li>echo -ne 'Disk Percent Used: '</li>
<li>df -m /</li>
<li>tail -1</li>
<li>awk '{print $5}'<br />
/usr/sbin/systemInfo/getAll: line 10: /usr/sbin/systemInfo/timeAlive: No such file or directory</li>
</ul>
<p dir="auto">mango@mangoES3047:~$</p>
<p dir="auto">I tried running this frequently for a minute or so - it looks like an entry is added every 30 seconds.</p>
<p dir="auto">And here is the output for a new Mango that does NOT exhibit the problem (date is old):<br />
mango@mangoES3546:/etc/rc1.d$sudo tail -n 50 /var/mail/mail<br />
[sudo] password for mango:<br />
Return-path: <a href="mailto:root@mangoes" rel="nofollow ugc">root@mangoes</a><br />
Envelope-to: root@mangoes<br />
Delivery-date: Fri, 30 Mar 2018 12:36:32 -0600<br />
Received: from root by mangoes with local (Exim 4.84_2)<br />
(envelope-from <a href="mailto:root@mangoes" rel="nofollow ugc">root@mangoes</a>)<br />
id 1f1yt6-0004zh-CB<br />
for root@mangoes; Fri, 30 Mar 2018 12:36:32 -0600<br />
From: root@mangoes (Cron Daemon)<br />
To: root@mangoes<br />
Subject: Cron <a href="mailto:root@mangoes" rel="nofollow ugc">root@mangoes</a> (sleep 30; [ -x /usr/sbin/systemInfo/cronRunner ] &amp;   &amp; /usr/sbin/systemInfo/cronRunner);<br />
MIME-Version: 1.0<br />
Content-Type: text/plain; charset=UTF-8<br />
Content-Transfer-Encoding: 8bit<br />
X-Cron-Env: &lt;SHELL=/bin/sh&gt;<br />
X-Cron-Env: &lt;HOME=/root&gt;<br />
X-Cron-Env: &lt;PATH=/usr/bin:/bin&gt;<br />
X-Cron-Env: &lt;LOGNAME=root&gt;<br />
Message-Id: <a href="mailto:E1f1yt6-0004zh-CB@mangoes" rel="nofollow ugc">E1f1yt6-0004zh-CB@mangoes</a><br />
Date: Fri, 30 Mar 2018 12:36:32 -0600</p>
<ul>
<li>Dir=/opt/info/</li>
<li>LogFile=systemInfo-new.txt</li>
<li>Together=/opt/info/systemInfo-new.txt<br />
++ uname -m</li>
<li>arch=armv7l</li>
<li>&lsqb;&lsqb; armv7l == \a\r\m\v\7\l &rsqb;&rsqb;<br />
++ mount<br />
++ grep 'on / type'<br />
++ awk '{print $1}'</li>
<li>DiskName=/dev/mmcblk0p2</li>
<li>echo '########DISK##########'</li>
<li>echo -ne 'Disk Name: '</li>
<li>echo /dev/mmcblk0p2</li>
<li>echo -ne 'Disk Total Size: '</li>
<li>df -m /</li>
<li>tail -1</li>
<li>awk '{print $2}'</li>
<li>echo -ne 'Disk Space Used: '</li>
<li>df -m /</li>
<li>tail -1</li>
<li>awk '{print $3}'</li>
<li>echo -ne 'Disk Space Left: '</li>
<li>df -m /</li>
<li>tail -1</li>
<li>awk '{print $4}'</li>
<li>echo -ne 'Disk Percent Used: '</li>
<li>df -m /</li>
<li>tail -1</li>
<li>awk '{print $5}'</li>
</ul>
<p dir="auto">mango@mangoES3546:/etc/rc1.d$tail -n 50 /var/mail/mail</p>
<p dir="auto">The cron job looks OK:</p>
<p dir="auto">mango@mangoES3047:/etc/cron.d$more system-info</p>
<h1></h1>
<h1>Regular cron jobs for the system-info package</h1>
<h1></h1>
<ul>
<li>
<ul>
<li>
<ul>
<li>
<ul>
<li>
<ul>
<li>root [ -x /usr/sbin/systemInfo/cronRunner ] &amp;&amp; /usr/sbin/systemInfo/cr<br />
onRunner &gt;/dev/null 2&gt;&amp;1;</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>
<ul>
<li>
<ul>
<li>
<ul>
<li>
<ul>
<li>root (sleep 30; [ -x /usr/sbin/systemInfo/cronRunner ] &amp;&amp; /usr/sbin/sy<br />
stemInfo/cronRunner) &gt;/dev/null 2&gt;&amp;1;<br />
0 0,6,12,18 * * * /usr/sbin/systemInfo/packages;<br />
mango@mangoES3047:/etc/cron.d$</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<p dir="auto">I compared this to the file on the newer mango, and the only difference I can see is the addition of 'root ' before the path in the last line.<br />
ie, it's "#0 0,6,12,18 * * * root /usr/sbin/systemInfo/packages;</p>
<p dir="auto">Shall I try adding this?</p>
]]></description><link>https://forum.mango-os.com/post/22415</link><guid isPermaLink="true">https://forum.mango-os.com/post/22415</guid><dc:creator><![CDATA[andrewh]]></dc:creator><pubDate>Mon, 17 Jun 2019 05:23:07 GMT</pubDate></item><item><title><![CDATA[Reply to Low disk space on MANGO on Wed, 12 Jun 2019 16:37:10 GMT]]></title><description><![CDATA[<p dir="auto">Hi andrewh,</p>
<p dir="auto">Can you share the output of <code>tail -n 50 /var/mail/mail</code> ?</p>
<p dir="auto">Also perhaps can you ensure the /etc/cron.d/system-info cron job is directing its stdout and stderr to /dev/null, <code> &gt; /dev/null 2&gt;&amp;1</code> ? This should have occurred in updating the MangoESConfiguration module to the versions Joel mentioned (or later versions).</p>
]]></description><link>https://forum.mango-os.com/post/22407</link><guid isPermaLink="true">https://forum.mango-os.com/post/22407</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Wed, 12 Jun 2019 16:37:10 GMT</pubDate></item><item><title><![CDATA[Reply to Low disk space on MANGO on Wed, 12 Jun 2019 06:04:48 GMT]]></title><description><![CDATA[<p dir="auto">We have 6 older mangoES'es (8GB) that we started using a couple of years ago and have been updated to v3.5.6. I noticed that one of them was running out of disk space yesterday and discovered the file /var/mail/mail was about 750MB. I checked this forum and discovered this topic. So I deleted the 'mail' file from all 6 mangoES devices, saving around 750MB on each.<br />
I have checked again today, and the 'mail' files have been recreated and they are already up to 3.3MB on each device I deleted the file from. If this continues, the files will be over 1GB within a year, which is a very large chunk of the 8GB available. I don't want to have to manually delete these files every few months.<br />
Can you please confirm whether there is a permanent fix?</p>
]]></description><link>https://forum.mango-os.com/post/22394</link><guid isPermaLink="true">https://forum.mango-os.com/post/22394</guid><dc:creator><![CDATA[andrewh]]></dc:creator><pubDate>Wed, 12 Jun 2019 06:04:48 GMT</pubDate></item><item><title><![CDATA[Reply to Low disk space on MANGO on Thu, 19 Jul 2018 15:42:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joelhaggar" aria-label="Profile: joelhaggar">@<bdi>joelhaggar</bdi></a> Yes, it is an older version.</p>
<p dir="auto">I checked the /var/mail/mail file and that one was the problem. I deleted the file and now it's ok.</p>
<p dir="auto">Thank you!</p>
]]></description><link>https://forum.mango-os.com/post/19244</link><guid isPermaLink="true">https://forum.mango-os.com/post/19244</guid><dc:creator><![CDATA[georgestefan]]></dc:creator><pubDate>Thu, 19 Jul 2018 15:42:12 GMT</pubDate></item><item><title><![CDATA[Reply to Low disk space on MANGO on Thu, 19 Jul 2018 14:20:14 GMT]]></title><description><![CDATA[<p dir="auto">Can you run the same command on the root file system to see other folders taking up space?  Is your MangoES running the latest version?  There were some issues resolve in the MangoES Configuration Module that stopped system logs from taking up space?</p>
<p dir="auto">Here are two relevant release notes from the MangoES Configuration Module:</p>
<p dir="auto">Version 3.3.1<br />
Fixes to prevent /var/mail/mail file from growing, delete that file if present<br />
Version 1.2.1<br />
Fix for inodes filling /var/spool/exim4/input from /etc/cron.d/system-info cron commands</p>
]]></description><link>https://forum.mango-os.com/post/19242</link><guid isPermaLink="true">https://forum.mango-os.com/post/19242</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Thu, 19 Jul 2018 14:20:14 GMT</pubDate></item></channel></rss>