sudo systemctl start fwupd.service                                                                                                                                                
Failed to allocate directory watch: Too many open files
Job for fwupd.service failed because the control process exited with error code.
See "systemctl status fwupd.service" and "journalctl -xe" for details.
sudo systemctl start fwupd.service
sysctl fs.inotify                                                                                                                                                                     
fs.inotify.max_queued_events = 16384
fs.inotify.max_user_instances = 128
fs.inotify.max_user_watches = 65536
===================================
sudo sysctl -w fs.inotify.max_user_instances=256                                                                                                                                
fs.inotify.max_user_instances = 256
===================================
sysctl fs.inotify                                                                                                                                                                     
fs.inotify.max_queued_events = 16384
fs.inotify.max_user_instances = 256
fs.inotify.max_user_watches = 65536
====================================
sudo systemctl start fwupd.service
sudo systemctl start fwupd-refresh.service
====================================
# Append following line to make persistent through reboot
sudo vi /etc/sysctl.conf
fs.inotify.max_user_instances=256
sysctl fs.inotify

After increasing the fs.inotify, fwupd services started without

Leave a Reply