Last active
March 1, 2019 15:39
-
-
Save johnarok/62452508d5bd76afd88b41703f4841bf to your computer and use it in GitHub Desktop.
K8S-Misc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File watchers | |
find /proc/*/fd -type l -lname '*inotify' -print 2>/dev/null \ | |
> | cut -d / -f 3 | (while read pid; do ps --no-headers -p $pid -o user,command; done) \ | |
> | sort | uniq -c | |
1 dbus /bin/dbus-daemon | |
2 polkitd /usr/lib/polkit-1/polkitd | |
1 root /usr/bin/abrt-watch-log | |
5 root /usr/bin/kubelet | |
5 root /usr/lib/systemd/systemd | |
1 root /usr/lib/systemd/systemd-udevd | |
1 root /usr/sbin/abrtd | |
1 root /usr/sbin/crond | |
3 root /usr/sbin/NetworkManager | |
1 root /usr/sbin/rsyslogd | |
6 www-data /nginx-ingress-controller | |
fs.inotify.max_queued_events = 16384 | |
fs.inotify.max_user_instances = 128 | |
fs.inotify.max_user_watches = 8192 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment