返回到文章

采纳

编辑于 1年前

Failed to allocate directory watch: Too many open files

ubuntu Linux

我尝试在 Ubuntu 22.04 上更新,报:

Failed to allocate directory watch: Too many open files

我的配置是:

# sysctl fs.inotify
fs.inotify.max_queued_events = 16384
fs.inotify.max_user_instances = 128
fs.inotify.max_user_watches = 8192

我该怎么解决?