diff --git a/HowtoApache.md b/HowtoApache.md index 21bd74cd..b8bde48a 100644 --- a/HowtoApache.md +++ b/HowtoApache.md @@ -1352,3 +1352,16 @@ Thu Oct 02 10:42:00.052627 2019] [http2:warn] [pid 9682] AH10034: The mpm module Dans tous les cas, PHP n'étant pas compatible avec Apache fonctionnant en mode thread, il est nécessaire d'être en mpm prefork ou itk. Donc pas de HTTP/2 possible. +### Too many open files + +Si vous avez beaucoup de VirtualHosts, vous pouvez avoir des erreurs `Too many open files` ou même une erreur bizarre si vous utilisez du PHP : `Fatal error: date(): Timezone database is corrupt - this should *never* happen!` + +Il faut alors augmenter la limite max open files d'Apache qui est par défaut à 8192. + +Cela se fait via le fichier `/etc/apache2/envvars` : + +~~~ +APACHE_ULIMIT_MAX_FILES='ulimit -n 65536' +~~~ + + diff --git a/HowtoVim.md b/HowtoVim.md index 9fb29acc..681f79f6 100644 --- a/HowtoVim.md +++ b/HowtoVim.md @@ -198,3 +198,8 @@ Cas d'usage : annuler un commit Git en cours de rédaction, cf. [/HowtoGit](/How * [VimAwesome - liste de nombreux plugins](http://vimawesome.com/) * [Wallpaper movement commands](https://bitbucket.org/tednaleid/vim-shortcut-wallpaper/src) * [Mémento des touches de racourcis](http://vimsheet.com) + +## FAQ + +Fonction "undo" même après fermeture, reboot… : +