成都没有派对🎉

  • 首页
  • 请我喝茶
  • 蛤?
linux
Web服务器

TCP短连接产生大量time_wait导致无法对外建立新TCP连接的原因及解决方法

1. 在云存储linkserver性能测试过程中,并发3W连接后,grinder抛出大量异常日志。 Caused by: java.net.NoRouteToHostException: Cannot assign requested address at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.P…

2017年11月14日 4条评论 13691点热度 4人点赞 suxiaomi 阅读全文
日常

让终端走代理的几种方法

方法1: 在终端中直接运行命令 export http_proxy=http://proxyAddress:port 1 这个办法的好处是简单直接,并且影响面很小(只对当前终端有效)。 方法2: 把代理服务器地址写入shell配置文件.bashrc或者.zshrc 直接在.bashrc或者.zshrc添加下面内容 export http_proxy="http://localhost:port" export https_proxy="http://localhost:port" 以使用shadowsocks代理为…

2017年10月25日 3条评论 9638点热度 4人点赞 suxiaomi 阅读全文

COPYRIGHT © 2023 成都没有派对🎉. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang