# Étendre le swap à chaud

**URL:** https://forum.yunohost.org/t/etendre-le-swap-a-chaud/32321
**Category:** Support
**Tags:** swap, french
**Created:** [November 30, 2024, 10:31am UTC](https://forum.yunohost.org/t/etendre-le-swap-a-chaud/32321 "2024-11-30T10:31:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![stemy2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/stemy2/32/925_2.png) [@stemy2](https://forum.yunohost.org/u/stemy2)
#### Post date: [November 30, 2024, 10:31am UTC](https://forum.yunohost.org/t/etendre-le-swap-a-chaud/32321/1 "2024-11-30T10:31:03Z")

</div>

**What type of hardware are you using** : Raspberry Pi 3, 4+  
**What YunoHost version are you running** : 12.0.7

### Describe your issue

Bonjour,

En regardant les infos système, j’ai constaté que YNH était un peu chiche en matière de SWAP, vu qu’il fait à peine 200 Mo. Vu que j’ai de la marge sur mon support de stockage principal et que je suis déjà ric rac en matière de RAM, existe-t-il un moyen d’étendre le swap à chaud ?

Cordialement

### Share relevant logs or error messages

Non applicable

---

<div class="post-metadata">

### Author: ![stemy2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/stemy2/32/925_2.png) [@stemy2](https://forum.yunohost.org/u/stemy2)
#### Post date: [November 30, 2024, 10:39am UTC](https://forum.yunohost.org/t/etendre-le-swap-a-chaud/32321/2 "2024-11-30T10:39:35Z")

</div>

C’est bon, j’ai trouvé.

> [@While installing Roundcube](https://forum.yunohost.org/t/while-installing-roundcube/7472/12):
>
> Hello, My Raspberry Pi still freeze sometimes and don’t respond very well because of the load. So I’ve increased the swapfile from 100 to 1024 Mo. sudo nano /etc/dphys-swapfile CONF\_SWAPFILE=100 → CONF\_SWAPFILE=1024 sudo /etc/init.d/dphys-swapfile restart Source : [Increase size of existing swap file - Raspberry Pi Forums](https://www.raspberrypi.org/forums/viewtopic.php?t=46472) ppr

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [December 30, 2024, 10:39am UTC](https://forum.yunohost.org/t/etendre-le-swap-a-chaud/32321/3 "2024-12-30T10:39:56Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
