openstack swift container server的进程经常莫名其妙进入 D Ds等状态

记录一下这个时候 storage.error的log 便于分析

一种情形是下面这种log

Jun  3 16:46:03 host207 container-server: ERROR __call__ error with PUT /sda5/100256/AUTH_3ed1d3f47b4e4794a59b7217bf136eee/atest1/data4M : #012Traceback (most recent call last):#012  File "/usr/lib/python2.7/site-packages/swift/container/server.py", line 498, in __call__#012    res = method(req)#012  File "/usr/lib/python2.7/site-packages/swift/common/utils.py", line 2217, in wrapped#012    return func(*a, **kw)#012  File "/usr/lib/python2.7/site-packages/swift/common/utils.py", line 837, in _timing_stats#012    resp = func(ctrl, *args, **kwargs)#012  File "/usr/lib/python2.7/site-packages/swift/container/server.py", line 271, in PUT#012    broker.put_object(obj, timestamp, int(req.headers['x-size']),#012  File "/usr/lib/python2.7/site-packages/swift/common/swob.py", line 219, in __getitem__#012    return self.environ[self._normalize(key)]#012KeyError: 'HTTP_X_SIZE' (txn: tx1b48300503fc454d82e07-0055498a24)
Jun 3 16:51:03 host207 container-server: ERROR __call__ error with PUT /sda5/100256/AUTH_3ed1d3f47b4e4794a59b7217bf136eee/atest1/data4M : #012Traceback (most recent call last):#012 File "/usr/lib/python2.7/site-packages/swift/container/server.py", line 498, in __call__#012 res = method(req)#012 File "/usr/lib/python2.7/site-packages/swift/common/utils.py", line 2217, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.7/site-packages/swift/common/utils.py", line 837, in _timing_stats#012 resp = func(ctrl, *args, **kwargs)#012 File "/usr/lib/python2.7/site-packages/swift/container/server.py", line 271, in PUT#012 broker.put_object(obj, timestamp, int(req.headers['x-size']),#012 File "/usr/lib/python2.7/site-packages/swift/common/swob.py", line 219, in __getitem__#012 return self.environ[self._normalize(key)]#012KeyError: 'HTTP_X_SIZE' (txn: tx1b48300503fc454d82e07-0055498a24)
Jun 3 16:56:03 host207 container-server: ERROR __call__ error with PUT /sda5/100256/AUTH_3ed1d3f47b4e4794a59b7217bf136eee/atest1/data4M : #012Traceback (most recent call last):#012 File "/usr/lib/python2.7/site-packages/swift/container/server.py", line 498, in __call__#012 res = method(req)#012 File "/usr/lib/python2.7/site-packages/swift/common/utils.py", line 2217, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.7/site-packages/swift/common/utils.py", line 837, in _timing_stats#012 resp = func(ctrl, *args, **kwargs)#012 File "/usr/lib/python2.7/site-packages/swift/container/server.py", line 271, in PUT#012 broker.put_object(obj, timestamp, int(req.headers['x-size']),#012 File "/usr/lib/python2.7/site-packages/swift/common/swob.py", line 219, in __getitem__#012 return self.environ[self._normalize(key)]#012KeyError: 'HTTP_X_SIZE' (txn: tx1b48300503fc454d82e07-0055498a24)
Jun 3 17:01:03 host207 container-server: ERROR __call__ error with PUT /sda5/100256/AUTH_3ed1d3f47b4e4794a59b7217bf136eee/atest1/data4M : #012Traceback (most recent call last):#012 File "/usr/lib/python2.7/site-packages/swift/container/server.py", line 498, in __call__#012 res = method(req)#012 File "/usr/lib/python2.7/site-packages/swift/common/utils.py", line 2217, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.7/site-packages/swift/common/utils.py", line 837, in _timing_stats#012 resp = func(ctrl, *args, **kwargs)#012 File "/usr/lib/python2.7/site-packages/swift/container/server.py", line 271, in PUT#012 broker.put_object(obj, timestamp, int(req.headers['x-size']),#012 File "/usr/lib/python2.7/site-packages/swift/common/swob.py", line 219, in __getitem__#012 return self.environ[self._normalize(key)]#012KeyError: 'HTTP_X_SIZE' (txn: tx1b48300503fc454d82e07-0055498a24)
Jun 3 17:59:27 host207 object-replicator: Lockup detected.. killing live coros.
Jun 3 18:23:19 host207 container-server: SIGTERM received
Jun 3 18:23:19 host207 account-server: SIGTERM received
Jun 3 18:23:19 host207 object-server: SIGTERM received

swift container server 莫名stuck的更多相关文章

  1. Project Perfect让Swift在server端跑起来-引言(一)

    编者语:今天是大年初一.先和大家简单说一句猴年快乐! watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/ ...

  2. Project Perfect让Swift在server端跑起来-Perfect in Visual Studio Code (四)

    编者语 : 本系列文章已经被Perfect官方引用了,这样的感觉非常好.感恩!Thx all ! Visual Studio Code是一个轻量级的编辑器,但也功能丰富,通过插件你能够完毕如Cordo ...

  3. Swift安装

    Server1 .Update sudo apt-get update sudo apt-get upgrade . sudo apt-get install bridge-utils .IP 3.1 ...

  4. 理解 OpenStack Swift (2):架构、原理及功能 [Architecture, Implementation and Features]

    本系列文章着重学习和研究OpenStack Swift,包括环境搭建.原理.架构.监控和性能等. (1)OpenStack + 三节点Swift 集群+ HAProxy + UCARP 安装和配置 ( ...

  5. 理解 OpenStack Swift (1):OpenStack + 三节点Swift 集群+ HAProxy + UCARP 安装和配置

    本系列文章着重学习和研究OpenStack Swift,包括环境搭建.原理.架构.监控和性能等. (1)OpenStack + 三节点Swift 集群+ HAProxy + UCARP 安装和配置 ( ...

  6. OpenStack Swift集群部署流程与简单使用

    之前介绍了<OpenStack Swift All In One安装部署流程与简单使用>,那么接下来就说一说Swift集群部署吧. 1. 简介 本文档详细描述了使用两台PC部署一个小型Sw ...

  7. [转载] 对象存储(2):OpenStack Swift——概念、架构与规模部署

    原文: http://www.testlab.com.cn/Index/article/id/1085.html#rd?sukey=fc78a68049a14bb228cb2742bdec2b9498 ...

  8. openstack(liberty):部署实验平台(三,简单版本软件安装 之cinder,swift)

    今天这里追加存储相关的部署,主要是Block和Object,为了看到效果,简单的部署在单节点上,即Block一个节点,Object对应一个节点. 读者可能会觉得我这个图和之前的两个post有点点不同, ...

  9. OpenStack对象存储——Swift

    OpenStack Object Storage(Swift)是OpenStack开源云计算项目的子项目之一,被称为对象存储,提供了强大的扩展性.冗余和持久性.本文将从架构.原理 和实践等几方面讲述S ...

随机推荐

  1. node.js入门之二

    NPM 1.NPM是随同NodeJS一起安装的包管理工具,能解决NodeJS代码部署上的很多问题,常见的使用场景有以下几种: 允许用户从NPM服务器下载别人编写的第三方包到本地使用. 允许用户从NPM ...

  2. java web 学习笔记 - servlet01

    ---恢复内容开始--- 1.Servlet介绍 Servlet 是用java语言编写的服务器端小程序,属于一个CGI程序,但与传统的CGI不同的是,它是多线程实现的,并且可以多平台移植. 用户自定义 ...

  3. docker使用registry搭建本地私有仓库

    参考链接来自:http://blog.csdn.net/wangtaoking1/article/details/44180901/ 和Mavan的管理一样,Dockers不仅提供了一个中央仓库,同时 ...

  4. 机器学习_决策树Python代码详解

    决策树优点:计算复杂度不高,输出结果易于理解,对中间值的缺失不敏感,可以处理不相关特征数据: 决策树缺点:可能会产生过度匹配问题. 决策树的一般步骤: (1)代码中def 1,计算给定数据集的香农熵: ...

  5. webstorm下开发微信小程序

  6. oracle char 多位,引发的问题

    我在表字有一字段type 类型为char(1),一开始用的还好,后来,char(1)不够用了,于是将char(1),变为char(2). 我做了一个字典表,来对应type,可是,总是查不到数据,最后, ...

  7. mysql图形化工具获取表的源码

    打开数据库,选择要查看的表,点击右键>对象信息>DDL:

  8. python beautifulsoup获取特定html源码

    beautifulsoup 获取特定html源码(无需登录页面) import refrom bs4 import BeautifulSoupimport urllib2 url = 'http:// ...

  9. 使用TensorRT加速yolo3

    一.TensorRT支持的模型: TensorRT 直接支持的model有ONNX.Caffe.TensorFlow,其他常见model建议先转化成ONNX.总结如下: 1 ONNX(.onnx) 2 ...

  10. Bash的循环结构(for和while)

    在bash有三中类型的循环结构表达方法:for,while,until.这里介绍常用的两种:for和while. for bash的for循环表达式和python的for循环表达式风格很像: for ...