linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Memory / swap leak?
@ 2014-12-29  0:43 Phillip Susi
  2014-12-29 18:49 ` Hugh Dickins
  0 siblings, 1 reply; 3+ messages in thread
From: Phillip Susi @ 2014-12-29  0:43 UTC (permalink / raw)
  To: linux-mm

-----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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-30  2:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-29  0:43 Memory / swap leak? Phillip Susi
2014-12-29 18:49 ` Hugh Dickins
2014-12-30  2:10   ` Phillip Susi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox