ryran / xsos

sosreport examiner - instantly summarize system info from a sosreport or a running system
335 stars 122 forks source link

RFE: siddle requests for mem #171

Open ryran opened 9 years ago

ryran commented 9 years ago

Please add vm.swappiness to the mem module Additionally it would also be helpful to have a link to https://access.redhat.com/solutions/1149413 if swappiness == 0

ryran commented 9 years ago

Hmmm... I really don't like putting this in the memory module. I mean, where do we draw the line with troubleshooting poorly-configured sysctls? Currently, mem only looks at /proc/meminfo ... if we're gonna start looking at /proc/sys/vm/kernel/swappiness, what about all the rest of the memory tunables? I dunno.

If we're gonna add troubleshooting advice on sysctls, it really seems like it should be in the sysctl module ... but from a user perspective I can appreciate how it would seem to fit in the mem module. I'm torn.