Skip to content

Commit

Permalink
Remove unnecessary and possibly dangerous systune recommendations. Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bji committed Oct 20, 2023
1 parent e5dfc9c commit eb17c66
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/src/system_monitor_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,10 +415,7 @@ impl SystemMonitorService {
recommended_limits.insert("net.core.wmem_max", 134217728);
recommended_limits.insert("net.core.wmem_default", 134217728);
recommended_limits.insert("vm.max_map_count", 1000000);

// Additionally collect the following limits
recommended_limits.insert("net.core.optmem_max", 0);
recommended_limits.insert("net.core.netdev_max_backlog", 0);
recommended_limits.insert("fs.nr_open", 1000000);

recommended_limits
}
Expand Down

0 comments on commit eb17c66

Please sign in to comment.