碳继电器消耗CPU-EAGAIN(资源暂时不可用)? Python 2.7.3 [twisted,13.1.0版] 森多姆
顶部显示,碳继电器正在消耗80,90%的USRCPU。从远处看: 奇怪的是:即使重新启动服务,每次运行strace时它似乎都卡在FD7上。这是否意味着此fd未正确清理 我增加了打开文件的数量: /proc/2891/限制 然后下降到约50% 我的问题看起来与此类似,但由于我们有几个处于TIME_WAIT状态的套接字,我认为启用tw_循环没有帮助。关于tcp_syncookies,我在系统日志中没有看到任何相关消息 这是我在调试模式下尝试启动碳继电器时得到的结果:碳继电器消耗CPU-EAGAIN(资源暂时不可用)? Python 2.7.3 [twisted,13.1.0版] 森多姆,python,networking,ubuntu-12.04,twisted,graphite,Python,Networking,Ubuntu 12.04,Twisted,Graphite,顶部显示,碳继电器正在消耗80,90%的USRCPU。从远处看: 奇怪的是:即使重新启动服务,每次运行strace时它似乎都卡在FD7上。这是否意味着此fd未正确清理 我增加了打开文件的数量: /proc/2891/限制 然后下降到约50% 我的问题看起来与此类似,但由于我们有几个处于TIME_WAIT状态的套接字,我认为启用tw_循环没有帮助。关于tcp_syncookies,我在系统日志中没有看到任何相关消息 这是我在调试模式下尝试启动碳继电器时得到的结果: 26/11/2013 02:22
26/11/2013 02:22:14 :: [listener] MetricPickleReceiver connection with 50.56.249.127:48772 lost: Connection to the other side was lost in a non-clean fashion: Connection lost.
26/11/2013 02:22:14 :: [listener] MetricPickleReceiver connection with 198.101.241.101:50672 lost: Connection to the other side was lost in a non-clean fashion: Connection lost.
26/11/2013 02:22:14 :: [listener] MetricPickleReceiver connection with 166.78.2.167:43346 lost: Connection to the other side was lost in a non-clean fashion: Connection lost.
这是来自twisted:
类ConnectionLostConnectionClosed:
与另一侧的连接以不干净的方式丢失
定义自身:
s=self.\uuuuu doc.\uuuuuu.strip.splitlines[0]
如果self.args:
s='%s:%s'%s',.joinself.args
s='%s.%s
返回s
我也尝试过,但pystack没有返回任何结果
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
Max stack size 8388608 unlimited bytes
Max core file size 0 unlimited bytes
Max resident set unlimited unlimited bytes
Max processes 15834 15834 processes
Max open files 16384 16384 files
Max locked memory 65536 65536 bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 15834 15834 signals
Max msgqueue size 819200 819200 bytes
Max nice priority 0 0
Max realtime priority 0 0
Max realtime timeout unlimited unlimited us
26/11/2013 02:22:14 :: [listener] MetricPickleReceiver connection with 50.56.249.127:48772 lost: Connection to the other side was lost in a non-clean fashion: Connection lost.
26/11/2013 02:22:14 :: [listener] MetricPickleReceiver connection with 198.101.241.101:50672 lost: Connection to the other side was lost in a non-clean fashion: Connection lost.
26/11/2013 02:22:14 :: [listener] MetricPickleReceiver connection with 166.78.2.167:43346 lost: Connection to the other side was lost in a non-clean fashion: Connection lost.