How to prevent kernel panic when allocating page on android sticks running linux

I have Debian Jessie installed on gk802 Android stick running Freescale i.MX6 quad core CPU. Often I faced issues with kernel panic when allocating pages, which leaves stick unusable.

To mitigate this issue add following to your /etc/sysctl.conf

vm.min_free_kbytes=65536

and after you have edited the file reload sysctl with command:

sysctl -p

Leave a Reply

Your email address will not be published. Required fields are marked *