Files
Kai Krakow a6c81e48b5 Add low memory protection
If the system is under memory stress, memory allocation latency spikes
which disrupts proper operation of portmaster, resulting in DNS
timeouts. While the memory pressure persists, portmaster never
recovers.

Fix it by adding a low memory protection to the systemd service. From
experiments, 2 GB is enough to stop the system from swapping important
memory of portmaster and reduce cache thrashing. A lower value like
1 GB might work, too. The resident size of portmaster peaks at around
530 MB for me but this value as low protection is not enough, we need
to protect some IO cache memory, too.

After applying to the running service, DNS operation almost instantly
recovers.
2024-05-06 13:23:26 +02:00
..
2023-05-30 11:31:05 +02:00
2020-11-25 09:36:03 +01:00
2024-05-06 13:23:26 +02:00
2023-03-01 10:43:31 +01:00

Linux Package Scripts

Building Packages

Run make.