From: Phillip Susi <psusi@ubuntu.com>
To: "linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Memory / swap leak?
Date: Sun, 28 Dec 2014 19:43:39 -0500 [thread overview]
Message-ID: <54A0A3BB.1070908@ubuntu.com> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Something seems to be eating up all of my swap, but it defies explanation:
root@faldara:~# free -m
total used free shared buffers cached
Mem: 3929 2881 1048 146 192 1314
- -/+ buffers/cache: 1374 2555
Swap: 2047 2047 0
root@faldara:~# (for file in /proc/*/status ; do cat $file ; done) |
awk '/VmSwap/{sum += $2}END{ print sum}'
151804
So according to free, my entire 2 gb of swap is used, yet according to
proc, the total swap used by all processes in the system is only 151
mb. How can this be?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBCgAGBQJUoKO7AAoJENRVrw2cjl5ReXwH/3bS3ZUSU3ej0xiW+LwVMULg
MBJN43Jy4VCmaRbfs6HuDBmNINffGoPg2sV4Uq/fOyzhWdgL7FduT9eSkHtueO/M
yvVCN+gawtD1izdPL35XnWXyxaz8RWLA5kkUw8ze2HUEkFd1q6GRCLalweUdruxN
HVBE3EGSYWLkDD++2b4EVpjYeg7I/Zf85gLYMRGUQki4630VHfWgf9l+SlGWgVRC
u8EToFeORLglrq7t1tf5Y+p/3h/l0iyqGwrzUb8qnloTfsWQadUmoffmW8LMrp+7
THdW77JwPp/R+KAFd7tvDD0AcGOZ4+fHa+pXDpGF+3pH6/w12JlOp+gbJoHRu5w=
=m+bq
-----END PGP SIGNATURE-----
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2014-12-29 0:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-29 0:43 Phillip Susi [this message]
2014-12-29 18:49 ` Hugh Dickins
2014-12-30 2:10 ` Phillip Susi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54A0A3BB.1070908@ubuntu.com \
--to=psusi@ubuntu.com \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox