Skip to content

Instantly share code, notes, and snippets.

ValdikSS ValdikSS

Block or report user

Report or block ValdikSS

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@constantoverride
constantoverride / kswapd0.md
Last active Aug 15, 2019
constant disk thrashing(reading) before OOM kills the offending process
View kswapd0.md

WARNING: I have tested the following mainly without any swap (partitions/files) enabled (eg. either no swap, or no swap support in kernel)

Explanations as to why kswapd0 does constant disk reading before OOM-killer kills the offending process:

  1. see the answer and comment of https://askubuntu.com/a/432827/861003
  2. see the answer and David Schwartz comments of https://unix.stackexchange.com/a/24646/306023

An example of constant disk reading due to out of memory, that I've encountered compiling firefox inside a qube(VM):
starts here: https://groups.google.com/d/msg/qubes-users/aSPefKH223U/PYc4m25SCQAJ
(note that this happens even with vm.swappiness=0(seen in a comment below) even though it was 60 in that example)

@atcuno
atcuno / gist:3425484ac5cce5298932
Last active Jul 17, 2019
HowTo: Privacy & Security Conscious Browsing
View gist:3425484ac5cce5298932

The purpose of this document is to make recommendations on how to browse in a privacy and security conscious manner. This information is compiled from a number of sources, which are referenced throughout the document, as well as my own experiences with the described technologies.

I welcome contributions and comments on the information contained. Please see the How to Contribute section for information on contributing your own knowledge.

Table of Contents

You can’t perform that action at this time.