主题
文章
项目
资源
图书
Go网址导航
下载
官方文档
英文文档
中文文档
标准库中文版
Go指南
注册
登录
首页
会员
woaichimian的信息
TA的收藏
初级会员
第 6127 位会员
ID:
woaichimian
Email:
ofantasyx@163.com
注册时间:
2016-09-04 09:23:26
是否在线:
Offline
财富:
20
15
更多>>
最近发布的主题
Go实战
GO服务 所有协程无法服务。
at
2017-02-15 06:41:21
Go标准库
GO database sql 的一个问题
at
2016-11-08 10:41:49
Go实战
GO服务端Syscall CPU开销过高
at
2016-09-07 07:35:15
更多>>
最近发布的文章
暂无
更多>>
最近分享的资源
暂无
更多>>
最近发布的项目
暂无
更多>>
最近的评论
2017-02-23 02:53:43
评论了
主题
GO服务 所有协程无法服务。
#7
楼
@jielaming
https://github.com/xuewindy/dbatman 这个不过不太好看,是个mysql proxy,出问题的环境有几十个库再跑,不知道怎么飞到那里去的 ,有兴趣可以看看。。
2017-02-21 08:18:39
评论了
主题
GO服务 所有协程无法服务。
#3
楼
@muzixiaoxin
看到官方ISSUE,有类似的问题,目前升级版本解决》。。。
2017-02-21 08:18:06
评论了
主题
GO服务 所有协程无法服务。
#4
楼
@jielaming
单一的管道卡主,不会造成所有的协成无法调度 ,看到官方ISSUE里面有提到,目前升级版本没有复现问题。
2017-02-15 09:05:13
评论了
主题
GO服务 所有协程无法服务。
#1
楼
@blov
现在的感觉是在调度器部分死锁了 gdb进去调试 ``` (gdb) bt #0 runtime.futex () at /home/xuegeng/go/src/runtime/sys_linux_amd64.s:307 #1 0x000000000042c4e0 in runtime.futexsleep (addr=0x11d3020 <runtime.sched+192>, val=0, ns=100000) at /home/xuegeng/go/src/runtime/os1_linux.go:57 #2 0x000000000041103b in runtime.notetsleep_internal (n=0x11d3020 <runtime.sched+192>, ns=100000, ~r2=false) at /home/xuegeng/go/src/runtime/lock_futex.go:174 #3 0x000000000041112b in runtime.notetsleep (n=0x11d3020 <runtime.sched+192>, ns=100000, ~r2=false) at /home/xuegeng/go/src/runtime/lock_futex.go:194 #4 0x00000000004334ad in runtime.stopTheWorldWithSema () at /home/xuegeng/go/src/runtime/proc.go:963 #5 0x000000000045f419 in runtime.systemstack () at /home/xuegeng/go/src/runtime/asm_amd64.s:291 #6 0x0000000000433870 in runtime.startTheWorldWithSema () at /home/xuegeng/go/src/runtime/proc.go:986 #7 0x000000c82001a000 in ?? () #8 0x0000000000000000 in ?? () ``` 然后strace 时 显示这样 目前GO 版本是1.6 ,debian ``` [pid 231942] futex(0x11d3020, FUTEX_WAIT, 0, {0, 100000}) = -1 ETIMEDOUT (Connection timed out) [pid 231942] futex(0x11d3020, FUTEX_WAIT, 0, {0, 100000}) = -1 ETIMEDOUT (Connection timed out) [pid 231942] futex(0x11d3020, FUTEX_WAIT, 0, {0, 100000}) = -1 ETIMEDOUT (Connection timed out) [pid 231942] futex(0x11d3020, FUTEX_WAIT, 0, {0, 100000}) = -1 ETIMEDOUT (Connection timed out) [pid 231942] futex(0x11d3020, FUTEX_WAIT, 0, {0, 100000}) = -1 ETIMEDOUT (Connection timed out) [pid 231942] futex(0x11d3020, FUTEX_WAIT, 0, {0, 100000}) = -1 ETIMEDOUT (Connection timed out) [pid 231942] futex(0x11d3020, FUTEX_WAIT, 0, {0, 100000}) = -1 ETIMEDOUT (Connection timed out) [pid 231942] futex(0x11d3020, FUTEX_WAIT, 0, {0, 100000}) = -1 ETIMEDOUT (Connection timed out) [pid 231942] futex(0x11d3020, FUTEX_WAIT, 0, {0, 100000}) = -1 ETIMEDOUT (Connection timed out) [pid 231942] futex(0x11d3020, FUTEX_WAIT, 0, {0, 100000}) = -1 ETIMEDOUT (Connection timed out) [pid 231942] futex(0x11d3020, FUTEX_WAIT, 0, {0, 100000}) = -1 ETIMEDOUT (Connection timed out) [pid 231942] futex(0x11d3020, FUTEX_WAIT, 0, {0, 100000}) = -1 ETIMEDOUT (Connection timed out) ``` 我试试gops ,感觉是不行的。。
2017-01-13 16:46:19
评论了
博文
Go调试利器
很奇怪的啊 加pprof不是可以直接搞吗 需要这么麻烦
最新主题
|
最新资源
|
最新评论
C#+WPF+Opencv模块化开发视觉对位运动控制系统
Go 代码阅读不再难,goanalysis 工具帮你忙
go-carbon v2.6.1 RC2版发布,轻量级、语义化、对开发者友好的 golang 时间处理库
给 Thorium 浏览器写了个用来升级的工具 被作者留意到了
【2025新品】java-antd-web3全栈dapp开发课程
【2025新品】java-antd-web3全栈dapp开发教程
一个 aliyun oss 的 sdk
go-carbon v2.6.1 RC1版发布,轻量级、语义化、对开发者友好的 golang 时间处理库
基于vite6+deepseek-v3搭建网页版个人AI流式聊天助手
多智能体开发框架之LangGraph全面剖析实战教程
ansi、unicode、UCS、UTF等概念(转)
一图弄懂ASCII、GB2312、GBK、GB18030编码
如何在 Go 中使用 C++?
golang标准库中文版
Go modules:版本是如何选择的?
niuhe - IDL 生成代码,前端协议, 页面和文档插件
Vite5+Electron聊天室|electron31跨平台仿微信EXE客户端|vue3聊天程序
Tauri2.0-Vue3OS桌面端os平台|tauri2+vite6+arco电脑版OS管理系统
flutter3-dymall仿抖音直播商城|Flutter3.27短视频+直播+聊天App实例
结构体的切片(slice of struct)不等于它实现的接口的切片(slice of interface)?
brothersam
4天之前
在
Go每日一题(38)
中评论
有可能 wg.Add(1) 还没有执行,wg.Wait()就滑过去了。
news01
4天之前
在
一个 aliyun oss 的 sdk
中评论
翻红墙,看禁闻 https://github.com/truth5/5#readme
jslgo
6天之前
在
[内推]北京五道口顶级游戏公司中台部门招go开发
中评论
新增大量岗位, 一直在找招开发
xiaoyan2015
8天之前
在
基于vite6+deepseek-v3搭建网页版个人AI流式聊天助手
中评论
 vue3.5+deepseek实战大模型AI聊天对话小助手 [https://studygolang.com/topics/17821](https://studygolang.com/topics/17821)
xiaoyan2015
8天之前
在
vue3.5+deepseek实战大模型AI聊天对话小助手
中评论
 vite6+arco+deepseek-v3网页版ai流式多轮对话助手。 [https://segmentfault.com/a/1190000046393396](https://segmentfault.com/a/1190000046393396)
WangWangZhou
11天之前
在
Go每日一题(31)
中评论
mark
wangzhongyang007
12天之前
在
来看看现在go开发岗10k的面试强度
中评论
你觉得这个难度怎么样?
wangzhongyang007
13天之前
在
金三银四真实面经分享
中评论
也欢迎大家向我投稿最近的面经,有偿~
brothersam
16天之前
在
Go每日一题(26)
中评论
o
wangzhongyang007
17天之前
在
2024年最受欢迎的5个Go框架
中评论
@pangqr
是的,gin更加轻量级,GoFrame适合稍微大型一点的项目
X
登录和大家一起探讨吧
用户名
密码
记住登录状态
登录
GitHub 登录
忘记密码?
还不是会员
现在注册
最近的评论