全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 975|回复: 7

[Windows VPS] 小鸡跑bench测速脚本,总出报错是怎么回事

[复制链接]
发表于 2019-1-19 21:28:08 | 显示全部楼层 |阅读模式
别的小鸡都正常,就这只有问题,换了系统还是老样子

会弹出类似python相关的报错,这是哪里问题呢?

好多脚本都因此卡住,跑不下去了
  1. uhehaote   : 254.85 ms  Urumqi      : 281.48 ms  Hangzhou    : 282.12 ms  
  2. Xi an       : 309.81 ms  Ningbo      : 306.99 ms  Taiyuan     : Fail      
  3. Suzhou      : 315.64 ms  Changsha    : 305.88 ms  Harbin      : 308.97 ms  
  4. Beijing     : 243.03 ms  Chengdu     : 330.62 ms  Jinan       : 301.08 ms  
  5. Nanjing     : 307.95 ms  Ningxia     : 296.83 ms  Fuzhou      : 285.56 ms  
  6. --------------------------------------------------------------------------
  7. Traceback (most recent call last):
  8.   File "Generate.py", line 624, in <module>
  9.     shm = traceroute_to_dict("/tmp/shm.txt")
  10.   File "Generate.py", line 29, in traceroute_to_dict
  11.     res_data = urllib2.urlopen(req)
  12.   File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
  13.     return opener.open(url, data, timeout)
  14.   File "/usr/lib64/python2.7/urllib2.py", line 431, in open
  15.     response = self._open(req, data)
  16.   File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
  17.     '_open', req)
  18.   File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
  19.     result = func(*args)
  20.   File "/usr/lib64/python2.7/urllib2.py", line 1244, in http_open
  21.     return self.do_open(httplib.HTTPConnection, req)
  22.   File "/usr/lib64/python2.7/urllib2.py", line 1214, in do_open
  23.     raise URLError(err)
  24. urllib2.URLError: <urlopen error [Errno 110] Connection timed out>
  25. cat: /tmp/shm.txt_table: No such file or directory
  26. cat: /tmp/sht.txt_table: No such file or directory
  27. cat: /tmp/shu.txt_table: No such file or directory
  28. cat: /tmp/gdm.txt_table: No such file or directory
  29. cat: /tmp/gdt.txt_table: No such file or directory
  30. cat: /tmp/gdu.txt_table: No such file or directory
  31. curl: (6) Could not resolve host: api.zbench.kirito.moe; Unknown error
  32. Result Address:https://zbench.kirito.moe/record.php?IKEY=
  33. Your bench data is saved to /root/report.html

  34. Do you want to check your Test Report? [y/n]: ^C
复制代码
发表于 2019-1-19 21:30:41 来自手机 | 显示全部楼层
换个脚本试试
 楼主| 发表于 2019-1-19 21:32:27 | 显示全部楼层

试了几个,都有或多或少报错,好奇怪

这些脚本我以前用都没问题的,刚刚试了别的小鸡也正常
 楼主| 发表于 2019-1-19 21:37:16 | 显示全部楼层

好像不是,比如这个脚本,刚跑到测IO的部分,就一直报错

好迷啊,跟小鸡是OVZ有关吗
  1. wget -qO- git.io/superbench.sh | bash
复制代码
发表于 2019-1-19 21:37:34 | 显示全部楼层
母鸡做了限制了
发表于 2019-1-19 21:46:03 来自手机 | 显示全部楼层
可能系统有限制io如果占用过高直接结束进程
 楼主| 发表于 2019-1-19 21:49:41 | 显示全部楼层
奔跑吧蜗牛c 发表于 2019-1-19 21:46
可能系统有限制io如果占用过高直接结束进程

dalao这个说法有可能,这家确实是OVZ,限制这个的可能很大
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-11-28 12:34 , Processed in 0.096470 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表