Le couple user/mdp est celui de l’installation de debian, pas celui de Jeedom.
ah d’accord, je trouve ou se mot de passe ?
root ou Mjeedom96
Merci, j’ai un cadenas qui s’affiche dans le terminal et je vois pas se que je tape
c’est normal pour le mdp.
Il faut peut être attendre 30 minutes si vous avez fait trop de tentatives en échec.
Bon il y a du mieux, je pense que je suis connecté.
du coup, j’exécute la commande nano /etc/dphys-swapfile ?
J’ai le sentimentiment que le fichier n’existe pas… j’ai rien à modifier.
Tu tapes la deuxième ligne, puis CTRL O (la lettre), puis Enter, puis CTRL X.
Merci,
Bon sa me dit que une ligne à été écrite.
est ce qu’il y a une commande en ssh pour voir si la modif a été apporté au swap ?
en faite le fichier /etc/dphys-swapfile
existe sur Smart avec Debian 10 mais pas Debian 11.
Last login: Thu Mar 27 19:27:17 2025 from 10.10.10.13
root@Jeedom:~# cat /etc/dphys-swapfile
# /etc/dphys-swapfile - user settings for dphys-swapfile package
# author Neil Franklin, last modification 2010.05.05
# copyright ETH Zuerich Physics Departement
# use under either modified/non-advertising BSD or GPL license
# this file is sourced with . so full normal sh syntax applies
# the default settings are added as commented out CONF_*=* lines
# where we want the swapfile to be, this is the default
#CONF_SWAPFILE=/var/swap
# set size to absolute value, leaving empty (default) then uses computed value
# you most likely don't want this, unless you have an special disk situation
#CONF_SWAPSIZE=
# set size to computed value, this times RAM size, dynamically adapts,
# guarantees that there is enough swap without wasting disk space on excess
#CONF_SWAPFACTOR=2
# restrict size (computed and absolute!) to maximally this limit
# can be set to empty for no limit, but beware of filled partitions!
# this is/was a (outdated?) 32bit kernel limit (in MBytes), do not overrun it
# but is also sensible on 64bit to prevent filling /var or even / partition
CONF_MAXSWAP=512
root@Jeedom:~#
akenad
ah ben je comprend mieux
du coup, sous débian 11 on fait comment pour modifier le swap comme tu me la conseillé ?
En résumé (Smart Debian 11) :
# swapon --show
NAME TYPE SIZE USED PRIO
/swapfile file 512M 0B -2
# swapoff -a
# fallocate -l 1G /swapfile
# chmod 600 /swapfile
# mkswap /swapfile
# swapon /swapfile
# swapon --show
NAME TYPE SIZE USED PRIO
/swapfile file 1024M 0B -2
akenad
Bonjour à tous,
Je fait un REX aprés 6 jours de marche de SMART avec une augmentation de la taille de mon swap.
Je ne sais pas si cela est positif mais voila le résultat :
Quelle est votre interprétation ?
Hello,
Je ne suis pas expert
Mais à la vue du graphe , on voit une différence qui doit faire ses preuves
Merci encore @akenad
Je me lance dans la procédure ,
root@JeedomSmart:~# swapon --show
NAME TYPE SIZE USED PRIO
/swapfile file 512M 349,8M -2
root@JeedomSmart:~# swapoff -a
root@JeedomSmart:~# fallocate -l 1G /swapfile
root@JeedomSmart:~# chmod 600 /swapfile
root@JeedomSmart:~# mkswap /swapfile
mkswap: /swapfile: warning: wiping old swap signature.
Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
no label, UUID=9485d40d-fb22-4c26-8417-34d7b5fca181
root@JeedomSmart:~# swapon /swapfile
root@JeedomSmart:~# swapon --show
NAME TYPE SIZE USED PRIO
/swapfile file 1024M 0B -2
Redémarrage de la smart :
root@JeedomSmart:~# swapon --show
NAME TYPE SIZE USED PRIO
/swapfile file 1024M 0B -2
root@JeedomSmart:~#
et