Blocage de la commande 'ssh nom_serveur'. Même un Ctrl-C ou Ctrl-Z ne fait rien.

Mar 22 14:30:22 s00z0 auth|security:info sshd[24511272]: Accepted publickey for user1from 10.0.7.10 port 43660 ssh2: RSA SHA256:WdSIrzKbxIjcqbCldIuoWwUNwadb2mqbI
Mar 22 14:30:22 s00z0 auth|security:err|error sshd[3080830]: error: /dev/pts/0: Out of STREAMS resources
Mar 22 14:30:22 s00z0 auth|security:err|error sshd[3080830]: error: open /dev/tty failed - could not set controlling tty: No such device or address

Ce message arrive lorsque l'on atteint la valeur maximale du paramètre lié aux streams réseau(no) strthresh

 On doit alors se connecter en console sur la LPAR et modifier ce paramètre qui travaille en pourcentage mémoire.

La valeur par défaut est 85 :


# no -L strthresh
--------------------------------------------------------------------------------
NAME CUR DEF BOOT MIN MAX UNIT TYPE
DEPENDENCIES
--------------------------------------------------------------------------------
strthresh 85 85 85 0 100 %_of_thewall D
--------------------------------------------------------------------------------

# no -a | grep strthresh
strthresh = 85


- Modifier la valeur par :
# no -o strthresh=90
Setting strthresh to 90

Contrôle de la nouvelle valeur par :

# no -L strthresh
--------------------------------------------------------------------------------
NAME CUR DEF BOOT MIN MAX UNIT TYPE
DEPENDENCIES
--------------------------------------------------------------------------------
strthresh 90 85 85 0 100 %_of_thewall D
--------------------------------------------------------------------------------

ou
# no -a | grep strthresh
strthresh = 90

 

icon phone
Téléphone/Whatsapp : +33 (0)6 83 84 85 74
icon phone