modified: docs/journald.md
This commit is contained in:
@@ -5,3 +5,27 @@
|
|||||||
```bash
|
```bash
|
||||||
journalctl -b -1 -p err
|
journalctl -b -1 -p err
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## error: systemd-journald fails to start or restart
|
||||||
|
|
||||||
|
*unexpected error while following the journal -24.*
|
||||||
|
|
||||||
|
check current values.
|
||||||
|
|
||||||
|
Example of default debian.
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
cat /proc/sys/fs/inotify/max_user_instances
|
||||||
|
90800
|
||||||
|
128
|
||||||
|
```
|
||||||
|
|
||||||
|
Increase kernel inotify limits to values appropriate for Kubernetes nodes:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
|
||||||
|
echo "fs.inotify.max_user_watches=1048576" | sudo tee -a /etc/sysctl.conf
|
||||||
|
echo "fs.inotify.max_user_instances=1024" | sudo tee -a /etc/sysctl.conf
|
||||||
|
sudo sysctl -p
|
||||||
|
sudo systemctl restart systemd-journald
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user