# Systemd-oom conf and swapiness version 248

**URL:** <https://forum.endeavouros.com/t/systemd-oom-conf-and-swapiness-version-248/14372>\
**Category:** EndeavourOS installation\
**Created:** [May 12, 2021, 3:06pm UTC](https://forum.endeavouros.com/t/systemd-oom-conf-and-swapiness-version-248/14372 "2021-05-12T15:06:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephane](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/stephane/32/9196_2.png) [@Stephane](https://forum.endeavouros.com/u/Stephane)\
**Post date:** [May 12, 2021, 3:06pm UTC](https://forum.endeavouros.com/t/systemd-oom-conf-and-swapiness-version-248/14372/1 "2021-05-12T15:06:13Z")

</div>

hello

since few days , we have a new version file  
in /etc/systemd/oom.conf

it containe theses values

```auto
[OOM]
#SwapUsedLimit=90%
#DefaultMemoryPressureLimit=60%
#DefaultMemoryPressureDurationSec=30s
```

we have also this config file  
/etc/sysctl.d/99-swapiness.conf

i have so some questions  
1 - is systemd-oomd override swapiness  
2 - should be a review values  
3 - is there any risk between theses 2 parameters  
4 - wiki archlinux is not up to date

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [May 12, 2021, 4:27pm UTC](https://forum.endeavouros.com/t/systemd-oom-conf-and-swapiness-version-248/14372/2 "2021-05-12T16:27:47Z")

</div>

> [@Stephane](#):
>
> 1 - is systemd-oomd override swapiness

No, those values control the thresholds at which OOM killer takes action. As far as I know, they don’t have any impact on swap itself.

The meanings are described in [the man page](https://www.man7.org/linux/man-pages/man5/oomd.conf.5.html).

> [@Stephane](#):
>
> 3 - is there any risk between theses 2 parameters

If you set them too low, it could cause processes to be killed more aggressively than you want them to.
