转载请注明出处:
log_statsd_host = localhost log_statsd_port = 8125 log_statsd_default_sample_rate = 1.0 log_statsd_sample_rate_factor = 1.0 log_statsd_metric_prefix =详细错误log信息大概例如以下: object-server ERROR __call__ error with PUT /sdc/2468/AUTH_8f9dbbadd64a43a0abb5e832c6ea766a/000008/013781 : #012Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 938, in __call__#012 res = method(req)#012 File "/usr/lib/python2.6/site-packages/swift/common/utils.py", line 1558, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.6/site-packages/swift/common/utils.py", line 520, in _timing_stats#012 resp = func(ctrl, *args, **kwargs)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 712, in PUT#012 file.put(fd, metadata)#012 File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012 hrow(type, value, traceback)#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 286, in mkstemp#012 yield fd#012 File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 680, in PUT#012 'PUT.' + device + '.timing', elapsed_time, upload_size)#012 File "/usr/lib/python2.6/site-packages/swift/common/utils.py", line 654, in wrapped#012 return func(self.logger.statsd_client, *a, **kw)#012 File "/usr/lib/python2.6/site-packages/swift/common/utils.py", line 506, in transfer_rate#012 sample_rate)#012 File "/usr/lib/python2.6/site-packages/swift/common/utils.py", line 496, in timing#012 return self._send(metric, timing_ms, 'ms', sample_rate)#012 File "/usr/lib/python2.6/site-packages/swift/common/utils.py", line 481, in _send#012 return sock.sendto('|'.join(parts), self._target)#012 File "/usr/lib/python2.6/site-packages/eventlet/greenio.py", line 371, in sendto#012 return self.fd.sendto(*args)#012error: [Errno 1] Operation not permitted (txn: tx8d76698250304466817aa99061637421)
proxy-access Error sending UDP message to ('127.0.0.1', 8125): [Errno 1] Operation not permitted proxy-access Error sending UDP message to ('127.0.0.1', 8125): [Errno 1] Operation not permitted kernel: __ratelimit: 89 callbacks suppressed kernel: nf_conntrack: table full, dropping packet. kernel: nf_conntrack: table full, dropping packet. kernel: nf_conntrack: table full, dropping packet.解决的方法: 依据上面的信息。得知8125port是StatsD服务port,因此是StatsD的client出了问题。
同一时候内核报出了丢包错误。主要是因为server防火墙开启了过滤机制导致的(net.ipv4filter.ip_conntrack_max太小)。在此将防火墙关闭就可以(service iptables stop)
版权声明:本文博主原创文章。博客,未经同意不得转载。
转载于:.html
本文发布于:2024-01-30 02:03:01,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170655138518454.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |