- This topic has 0 replies, 1 voice, and was last updated Dec 31-6:49 pm by wildstar84.
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
Forum › Forums › General › Tips and Tricks › SOLVED: free command shows double+memory “used” after fresh boot
I finally rebooted my computer and router this morning after over a month (and numerous upgrades) and to my horror, discovered that both were using around DOUBLE the memory! I checked all the usual suspects (htop, lsmod, ps ax, kernel, etc.) to little avail (I could only account for a/b 10% of it). I decided to look at /proc/meminfo for a little more detail & still couldn’t account for it. Finally, I booted up an old hard drive that hadn’t been updated in several months (a “backup” system which still showed half the memory usage) so I could do some more comparisens by looking at it’s /proc/meminfo, which turned out to still be very close to my current setup. I then began to suspect the “free” command (which was what was sounding this alarm) and discovered that I had upgraded it’s package (procps) twice since previous boot (from v2:3.3.17-7.1nosystemd to v2.4.0.2.3.0nosystemd), viewed the changelog and found this little tidbit:
procps (2:4.0.2-1) unstable; urgency=medium
free: Used field is now Total - Available
Comparing the corresponding /proc/meminfo values from the current & last-known “good” boots I realized that both calculated this way were very close to what the current boot showed (the doubled-ish value), so apparently, I’ve been “using” quite a bit more memory than I thought but free wasn’t calculating it the way it is now. So, if you (like me) stumble upon this and panic, thinking you have a rootkit or bad kernel/app.) there appears to be no need – your kernel, libs, apps, etc. have likely NOT exploded in size!
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |