In the Linux system, an error is reported through the service or systemctl command
Failed to allocate directory watch: Too many open files
The solution is as follows
vim /etc/sysctl.conf
fs.inotify.max_user_instances=512
fs.inotify.max_user_watches=262144
Add the above two lines
to execute
sysctl -p
Syactl – a view all current system parameters
Read More:
- Error: Too many open files in system error [How to Solve]
- [Solved] xtrabackup Error: “Too many open files” (system error number 24)
- Es Container Error: too many open files [How to Solve]
- [Solved] Linux Error: ENOSPC: System limit for number of file watchers
- Linux Install Docker Error: Failed to restart docker.service: Unit docker.service not found.
- [Solved] Linux Error: Error: ENOSPC: System limit for number of file watchers
- [Solved] Linux — 9 — txt files are copied from windows to Linux and read error
- Linux Connect Error: network.service failed [How to Solve]
- See system logs and ‘systemctl status docker.service‘ for details
- [Solved] Linux Service Start Error: *.service: Main process exited, code=exited, status=203/EXEC
- [Solved] ERROR: Linux route delete command failed: external program exited with error status: 2
- Grep: How to Find All the Files Containing a String in Linux
- Virtual machine failed to start network service error: ob for network.service failed because the control process exited with error code
- [Solved] docker Error: System has not been booted with systemd as init system (PID 1). Can‘t operate. Failed to con
- Petalinux Failed to open PetaLinux lib: librdi_commonxillic.so: cannot open shared object file:
- Prompt “entering emergency mode. Exit the shell to continue” if the Linux operating system does not start normally
- [Solved] nginx: [error] open() “/usr/local/nginx/nginx.pid” failed (2: No such file or directory)
- [Solved] Linux Error: mipsel-linux-gcc: fatal error: no input files
- Centos8 Could not restart the Network: Failed to restart network.service: Unit network.service not found
- Restart and stop of nginx in Linux service