profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/yanfeizhang/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

yanfeizhang/coder-kung-fu 1066

开发内功修炼

yanfeizhang/go-training 6

用树形的方式合理地组织知识点,并为每一个知识点配置可直接编译运行的go源代码

yanfeizhang/php-src 0

The PHP Interpreter

yanfeizhang/ScreenLive 0

基于安卓平台的手机屏幕直播

yanfeizhang/ScreenLiveServer 0

ScreenLiveServer

yanfeizhang/VideoPlayer 0

VideoPlayer

push eventyanfeizhang/coder-kung-fu

zhangyanfei

commit sha 34ee86d7027b4dc002305f66003da122c20e2974

up

view details

push time in 3 days

startedalex-shpak/hugo-book

started time in 10 days

startedolOwOlo/hugo-theme-even

started time in 10 days

push eventyanfeizhang/coder-kung-fu

zhangyanfei

commit sha b3a5c5750330d673ed2570a48e9674c98f630b48

feat:增加新文之查看连接队列溢出

view details

push time in 11 days

push eventyanfeizhang/coder-kung-fu

zhangyanfei

commit sha 2edc97fe928401089f9e3021b5c9f8539a783cf0

fix:加个emoji试试

view details

push time in 11 days

push eventyanfeizhang/coder-kung-fu

zhangyanfei

commit sha 588e1f66f296e17da5640ec944a2840673834fbc

feat:增加tcpdump相关新文章

view details

push time in 11 days

startedistio/istio

started time in 13 days

startedsogou/srpc

started time in 17 days

push eventyanfeizhang/coder-kung-fu

zhangyanfei

commit sha 165c4dde9a4286b6065aae444f67557ec537ea21

feat: add new test source code

view details

push time in 18 days

issue commentyanfeizhang/coder-kung-fu

百万tcp连接测试占用 cpu 高, 连接数增长缓慢

请将somaxconn参数加大到 1024 以上,方法如下:

# vi/etc/sysctl.conf
net.core.somaxconn=1024
# sysctl -p
giraffe-tree

comment created time in a month

issue commentyanfeizhang/coder-kung-fu

百万tcp连接测试占用 cpu 高, 连接数增长缓慢

请将 somaxconn参数加大到 1024 以上

giraffe-tree

comment created time in a month

issue commentyanfeizhang/coder-kung-fu

百万tcp连接测试占用 cpu 高, 连接数增长缓慢

vi/etc/sysctl.conf

net.core.somaxconn=1024

sysctl -p

giraffe-tree

comment created time in a month

push eventyanfeizhang/coder-kung-fu

zhangyanfei

commit sha 4284863f6971abad09175b688b5f654c3958187e

fix:加大backlog

view details

push time in a month

startedphpce/php-coroutine-engine

started time in a month

issue commentyanfeizhang/coder-kung-fu

百万tcp连接测试占用 cpu 高, 连接数增长缓慢

连接速率前期快,但突然满了下来,一般来说是因为握手队列打满了。原因参见这篇文章 https://mp.weixin.qq.com/s/7Cum6Y28H_gXLyrRFrthNw。解决办法两个:1是加大握手队列长度,2是适当加一些sleep,让客户端连的慢一些。

giraffe-tree

comment created time in a month

push eventyanfeizhang/coder-kung-fu

zhangyanfei

commit sha de451c5ecc79b1c00d14814831d14af1eed8c726

feat:添加新文,三次握手异常

view details

push time in a month

push eventyanfeizhang/coder-kung-fu

zhangyanfei

commit sha 0fed8dd973698fb4ec712315b2858d8a5fa197d1

feat:添加新文之《三次握手深度理解》

view details

push time in 2 months

push eventyanfeizhang/coder-kung-fu

zhangyanfei

commit sha c988604844d20e0458d469069e2a9b9a3b0d6ac3

feat: 添加 listen 相关新文

view details

push time in 2 months

startedswoolex/swoolex

started time in 2 months

push eventyanfeizhang/coder-kung-fu

zhangyanfei

commit sha ab19290520415d2779223010aa58541bb79df73c

feat: 添加握手过程之端口选择

view details

push time in 3 months