看系統使用量
df -h
看目前使用多少資源
htop (等同windows工作管理員)
網路設定Proxy
export http_proxy=http://proxy_url:8080
export https_proxy=https://proxy_url:8080
source ~/.bashrc
出現open too many files怎麼辦?
先使用以下指令看最大開啟檔案的限制
ulimit -n
暫時將限制增加到10000(最多可加到65535)
ulimit -n 10000
長期有效的方法
sudo vim /etc/security/limits.conf
#在最后加入
* soft nofile 65535
* hard nofile 65535
sudo vim /etc/sysctl.conf
fs.file-max = 2097152