Wednesday, June 28, 2023
support@conference.yunohost.org
June
Mon Tue Wed Thu Fri Sat Sun
      1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
             

[14:21:43] <eric_G> https://aria.im/_matrix/media/v1/download/matrix.org/XErOkjzcroeTuRTDUFlIJykI
[14:22:34] <eric_G> maybe we should add a label 🤔
[14:26:28] <eric_G> https://aria.im/_matrix/media/v1/download/matrix.org/NnRoYvXymGRNEPOdowiYXepy
[14:58:51] <Aleks (he/him/il/lui)> watdafaq
[15:25:49] <wrapper[m]> Anyone know about this error I get when yunohost tries to send emails via imap-login? `TLS handshaking: SSL_accept() failed: error:1420918C:SSL routines:tls_early_post_process_client_hello:version too low`
[15:49:52] <Aleks (he/him/il/lui)> Sounds like your client doesnt support the appropriate version of TLS or something
[16:25:29] <Salamandar[m]> wrapper[m]: Did you enable testing security features in the Yunohost settings panel ? That might enforce very recent TLS versions and "break" old clients
[17:54:30] <NiTi> Quelqu’un a ce pb avec Nextcloud ?
https://help.nextcloud.com/t/nc-23-upgrade-crashes-php-fpm-server-reached-pm-max-children-setting-10-consider-raising-it/129178
[18:05:29] <tituspijean[m]> Les sondages ça marche pas pour du support technique. Quel est ton problème ?
[18:06:41] <tituspijean[m]> (Pour info, tu peux régler une partie des paramètres mentionnés dans ton lien via le panneau de configuration de Nextloud dans ta webadmin)
[18:07:38] <NiTi> Bah ce qui est rapporté sur le lien Nextcloud : WARNING: [pool nextcloud] server reached pm.max_children setting (4), consider raising it puis crash de php8.1-fpm et redémarrage de php pour régler le pb.
[18:09:58] <NiTi> > <@titus:pijean.ovh> (Pour info, tu peux régler une partie des paramètres mentionnés dans ton lien via le panneau de configuration de Nextloud dans ta webadmin)

J’ai augmenté le Memory footprint, j’étais déjà en High <40 Mb. Je suis passé à 100.
[18:10:58] <NiTi> À voir si ça change quelque chose, j’avais pas pensé à regarder ici, merci. 👍️
[18:21:15] <NiTi> https://aria.im/_matrix/media/v1/download/tedomum.net/78fee33bf67d6ba54419a0d04f131b1b4e4dada6
[18:21:33] <NiTi> Par contre si je mets une valeur et que je recharge la page, la valeur reste à 0. 🤔
[18:29:37] <tituspijean[m]> Quand tu dis recharger... tu cliques bien sur Sauvegarder ?
Que te disent les logs de Yunohost ?
[18:31:03] <NiTi> Oui, sauvegarder puis rechargement de la page.
[18:32:13] <NiTi> `/var/log/php8.1-fpm.log` réagit bien a priori :

```
[28-Jun-2023 18:31:26] NOTICE: Reloading in progress ...
[28-Jun-2023 18:31:26] NOTICE: reloading: execvp("/usr/sbin/php-fpm8.1", {"/usr/sbin/php-fpm8.1", "--nodaemonize", "--fpm-config", "/etc/php/8.1/fpm/php-fpm.conf"})
[28-Jun-2023 18:31:26] NOTICE: using inherited socket fd=8, "/var/run/php/php8.1-fpm-nextcloud.sock"
[28-Jun-2023 18:31:26] NOTICE: using inherited socket fd=9, "/var/run/php/php8.1-fpm-nextcloud__2.sock"
[28-Jun-2023 18:31:26] NOTICE: using inherited socket fd=10, "/run/php/php8.1-fpm.sock"
[28-Jun-2023 18:31:26] NOTICE: fpm is running, pid 1281358
[28-Jun-2023 18:31:26] NOTICE: ready to handle connections
[28-Jun-2023 18:31:26] NOTICE: systemd monitor interval set to 10000ms
```

[18:33:07] <NiTi> Si ça se trouve ça prend bien en compte la valeur, mais ne s’actualise pas sur la page
[18:35:06] <tituspijean[m]> Tu peux aller vérifier dans `/etc/php/8.1/fpm/pool.d/nextcloud.conf` ?
[18:35:28] <tituspijean[m]> Normalement à la fin du fichier
[18:36:08] <NiTi> ```
php_value[opcache.enable_cli]=1
php_value[opcache.interned_strings_buffer]=32
php_value[opcache.max_accelerated_files]=10000
php_value[opcache.memory_consumption]=128
php_value[opcache.save_comments]=1
php_value[opcache.revalidate_freq]=1
; https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/caching_configuration.html#id1
php_value[apc.enabled]=1
php_value[apc.enable_cli]=1
```

[18:36:31] <NiTi> `php_admin_value[memory_limit] = 512M`
[18:37:49] <tituspijean[m]> Mmmh c'est pas là ^^ plus haut peut-être ?
[18:38:03] <NiTi> ahah, j’étais sûr que j’allais foirer les lignes à envoyer. 😄
[18:38:42] <NiTi> ```
[nextcloud]

user = nextcloud
group = nextcloud

chdir = /var/www/nextcloud

listen = /var/run/php/php8.1-fpm-nextcloud.sock
listen.owner = www-data
listen.group = www-data

pm = static
pm.max_children = 4
pm.max_requests = 500
request_terminate_timeout = 1d


; Additional php.ini defines, specific to this pool of workers.
env[PATH] = $PATH
php_admin_value[memory_limit] = 512M
php_value[upload_max_filesize] = 10G
php_value[post_max_size] = 10G
php_value[default_charset] = UTF-8
; OPcache is already activated by default
; php_value[opcache.enable]=1
; The following parameters are nevertheless recommended for Nextcloud
; see here: https://docs.nextcloud.com/server/15/admin_manual/installation/server_tuning.html#enable-php-opcache
php_value[opcache.enable_cli]=1
php_value[opcache.interned_strings_buffer]=32
php_value[opcache.max_accelerated_files]=10000
php_value[opcache.memory_consumption]=128
php_value[opcache.save_comments]=1
php_value[opcache.revalidate_freq]=1
; https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/caching_configuration.html#id1
php_value[apc.enabled]=1
php_value[apc.enable_cli]=1
```

[18:38:58] <NiTi> Je peux changer manuellement le `pm.max_children` ?
[20:12:08] <NiTi> Bon bah du coup ça change rien. ^^
[20:15:56] <NiTi> Ceci dit, je ne semble plus avoir le `server reached pm.max_children setting` dans les logs, donc c’est peut-être encore autre chose.
[20:28:50] <NiTi> Mais du coup je n’ai plus aucun log maintenant pouvant identifier le pb. 😕
[20:35:28] <NiTi> Juste dans journalctl j’ai ça qui flood, mais je ne pense pas que ça soit lié, enfin j’en sais trop rien.
```
CRON[667601]: (nextcloud) CMD (/usr/bin/php8.1 --define apc.enable_cli=1 -f /var/www/nextcloud/cron.php)
CRON[671228]: (nextcloud) CMD (/usr/bin/php8.1 --define apc.enable_cli=1 -f /var/www/nextcloud/cron.php)
```