Project environment
Vue project
Cause of problem
The number of file monitoring is too large and the system limits it
Modify {etc/sysctl.d
fs.inotify.max_user_watches = 524288
Apply changes
sudo sysctl -p --system
Docker inherits some setting files on the host. In order to prevent global impact, the above files will be set to read only in docker. Therefore, you need to change the above configuration on the host. After the host changes, docker automatically inherits.
Read More:
- [Solved] Linux Error: ENOSPC: System limit for number of file watchers
- [Solved] Linux Error: Error: ENOSPC: System limit for number of file watchers
- Error: ENOSPC: no space left on device [How to Solve]
- [Solved] xtrabackup Error: “Too many open files” (system error number 24)
- [Solved] FATAL CONFIG FILE ERROR: Bad directive or wrong number of arguments
- [Solved] failed to start remount root and kernel file system
- [Solved] docker Error: System has not been booted with systemd as init system (PID 1). Can‘t operate. Failed to con
- [Soled] MTPuTTY error: unable to run putty the system cannot find the specified file
- System has not been booted with systemd as init system (PID 1). Can‘t operate
- Linux system service command error: Failed to allocate directory watch: Too many open files
- Error: linker ` link. Exe ` not found | = note: the system cannot find the specified file.
- Linux Error: audit: backlog limit exceeded [How to Solve]
- [Solved] Cannot run program “svn” (in directory “D: xxxx”): CreateProcess error=2, the system cannot find the specified file.
- See system logs and ‘systemctl status docker.service‘ for details
- Error: Too many open files in system error [How to Solve]
- [Solved] mongo Startup Error: ERROR: child process failed, exited with error number 1
- [Solved] Ubuntu Server 18.4 System /etc/sudoers: syntax error near line 32
- Linux useradd Error: Creating mailbox file: File exists
- ERROR: This system does not support “RDRAND“ [How to Solve]
- Error: loading shared libraries: cannot open shared object file: No such file or directory