2023-01-13发表2023-12-26更新Blueking / TIL4 分钟读完 (大约611个字)排查一个常见 502 现象现象nginx 的日志中有两个关键错误 no live upstreams while connecting to upstream upstream prematurely closed connection while reading response header from upstream troubleshooting, Nginx, Openresty, 502 阅读更多
2023-01-10发表2023-12-26更新Linux / TIL4 分钟读完 (大约615个字)Space not being freed from disk after deleting a file in centosIssue 晚饭过后,同事找过来看个问题,机器磁盘满了,问有什么方案找出大文件,我说这个就只能遍历目录找了,推荐了 ncdu 这个工具给他去扫描目录 同事找了一圈,没有找到大文件。我也看了下数据盘空空如也,系统 USED 97%,/tmp 、/var/log、/root 这些容易藏污纳垢的地方看了一眼,居然一切正常 lsof | grep delete 一看,哇咔咔[Doge]。 rsylogd 写入 /var/log/message 快 90G 了,而且 /var/log/message 是 deleted 状态的 file-system, kernel 阅读更多
2022-07-31发表2023-12-26更新TIL2 分钟读完 (大约355个字)Install And Config Frp项目地址 fatedier/frp: A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet. https://github.com/fatedier/frp 帮助文档 https://gofrp.org/docs/ frp 阅读更多