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:13:41 +0000 (19:13 +0100)
commit9b0a4bafbce7db0133cb69a2f73c9312f4ff1df7
tree738be435b6bf4552e042d890865e6ed4cf046fca
parentb47094ce96ffcab8c1b6b0d5f4736a616b69a9ec
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