base-files: tune fragment queue thresholds for available system memory
authorMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 5 Mar 2018 08:13:53 +0000 (09:13 +0100)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Wed, 7 Mar 2018 18:14:22 +0000 (19:14 +0100)
commit057369ae1f3ad8d10b1a9e0baa5b63bc2b9087f5
treef5a6b71c907f06f633e58938166802de794f1ea4
parent6c194078db6958e349114c8605304a7b87edae3e
base-files: tune fragment queue thresholds for available system memory

The default fragment low/high thresholds are 3 and 4 MB. On devices with
only 32MB RAM, these settings may lead to OOM when many fragments that
cannot be reassembled are received. Decrease fragment low/high thresholds
to 384 and 512 kB on devices with less than 64 MB RAM.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
package/base-files/Makefile
package/base-files/files/etc/init.d/sysctl