小鸡跑bench测速脚本,总出报错是怎么回事
022.gif别的小鸡都正常,就这只有问题,换了系统还是老样子
会弹出类似python相关的报错,这是哪里问题呢?
好多脚本都因此卡住,跑不下去了
[*]uhehaote : 254.85 msUrumqi : 281.48 msHangzhou : 282.12 ms
[*]Xi an : 309.81 msNingbo : 306.99 msTaiyuan : Fail
[*]Suzhou : 315.64 msChangsha : 305.88 msHarbin : 308.97 ms
[*]Beijing : 243.03 msChengdu : 330.62 msJinan : 301.08 ms
[*]Nanjing : 307.95 msNingxia : 296.83 msFuzhou : 285.56 ms
[*]--------------------------------------------------------------------------
[*]Traceback (most recent call last):
[*]File "Generate.py", line 624, in
[*] shm = traceroute_to_dict("/tmp/shm.txt")
[*]File "Generate.py", line 29, in traceroute_to_dict
[*] res_data = urllib2.urlopen(req)
[*]File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
[*] return opener.open(url, data, timeout)
[*]File "/usr/lib64/python2.7/urllib2.py", line 431, in open
[*] response = self._open(req, data)
[*]File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
[*] '_open', req)
[*]File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
[*] result = func(*args)
[*]File "/usr/lib64/python2.7/urllib2.py", line 1244, in http_open
[*] return self.do_open(httplib.HTTPConnection, req)
[*]File "/usr/lib64/python2.7/urllib2.py", line 1214, in do_open
[*] raise URLError(err)
[*]urllib2.URLError:
[*]cat: /tmp/shm.txt_table: No such file or directory
[*]cat: /tmp/sht.txt_table: No such file or directory
[*]cat: /tmp/shu.txt_table: No such file or directory
[*]cat: /tmp/gdm.txt_table: No such file or directory
[*]cat: /tmp/gdt.txt_table: No such file or directory
[*]cat: /tmp/gdu.txt_table: No such file or directory
[*]curl: (6) Could not resolve host: api.zbench.kirito.moe; Unknown error
[*]Result Address:https://zbench.kirito.moe/record.php?IKEY=
[*]Your bench data is saved to /root/report.html
[*]
[*]Do you want to check your Test Report? : ^C
[*]复制代码 换个脚本试试
奔跑吧蜗牛c 发表于 2019-1-19 21:30
换个脚本试试
试了几个,都有或多或少报错,好奇怪
这些脚本我以前用都没问题的,刚刚试了别的小鸡也正常
h5i 发表于 2019-1-19 21:33
网络问题?
好像不是,比如这个脚本,刚跑到测IO的部分,就一直报错
好迷啊,跟小鸡是OVZ有关吗
[*]wget -qO- git.io/superbench.sh | bash复制代码 母鸡做了限制了 可能系统有限制io如果占用过高直接结束进程
奔跑吧蜗牛c 发表于 2019-1-19 21:46
可能系统有限制io如果占用过高直接结束进程
022.gif
dalao这个说法有可能,这家确实是OVZ,限制这个的可能很大
页:
[1]