nixos: services: transmission: use high file limit
Seeding a lot of files means keeping them all open. The actual limit was cargo-culted from an open issue.
This commit is contained in:
parent
ad6a0bf4d3
commit
127e26b259
1 changed files with 3 additions and 1 deletions
|
|
@ -71,10 +71,12 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# Transmission wants to eat *all* my RAM if left to its own devices
|
||||
systemd.services.transmission = {
|
||||
serviceConfig = {
|
||||
# Transmission wants to eat *all* my RAM if left to its own devices
|
||||
MemoryMax = "33%";
|
||||
# Avoid errors due to high number of open files.
|
||||
LimitNOFILE = 1048576;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue