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
Pod errors due to “too many open files” | |
You may encounter that some pods fail to get running and the logs of these pods complain “too many open files”. | |
This may be caused by running out of inotify resources. Resource limits are defined by fs.inotify.max_user_watches and fs.inotify.max_user_instances system variables. For example, in Ubuntu these default to 8192 and 128 respectively, which is not enough to create multiple kind clusters with many pods. | |
To increase these limits temporarily run the following commands on the host: | |
sudo sysctl fs.inotify.max_user_watches=524288 | |
sudo sysctl fs.inotify.max_user_instances=512 | |
To make the changes persistent, edit the file /etc/sysctl.conf and add these lines: |
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
#!/bin/bash | |
# SoftEther VPN Server Uninstall Script | |
# Gỡ bỏ hoàn toàn SoftEther VPN Server | |
# Author: AI Assistant | |
# Version: 1.0 | |
set -e # Exit on any error | |
# Colors for output |
OlderNewer