我使用yandex坦克在24小时内每10秒产生一个负载1柱。但是yandex坦克在运行了大约16个小时后失败了,因为tank.log占用了所有可用的免费空间。在我的例子中,它增加到37 In。
我的load.ini:
[phantom]
address=192.168.254.201 ;Target's address
port=12224 ;target's port
rps_schedule=const(0.1, 24h) ;load scheme
connection_test=0
ssl=0我的ammo.txt包含10个类似的帖子请求:
300
POST /api/< maybe confidential data>dimension1,dimension2,channel HTTP/1.1
Host: <confidential data>:12224
Content-Type: application/json
Content-Length: 103
Connection: keep-alive
{ "dimension1":"dimension1_1", "dimension2":"dimension2_not_used", "channel":"channel_1", "value": 91}命令行:
yandex-tank ammo.txt似乎重复记录"Stats缓存时间戳“占用的空间如下所示
2016-12-28 04:52:21,033 [DEBUG] yandextank.plugins.Aggregator.plugin plugin.py:101 Stats cache timestamps:
[1482836903, 1482836904, ....]在文件的开头,这个记录由一个时间戳组成。但是最后一个可用的“统计缓存时间戳:”包含54212个时间戳!文件中总共有超过30亿张时间戳!
是否有抑制/关闭此日志记录的方法?
发布于 2016-12-28 15:29:40
是个窃听器。我在删除上发了这些信息。
https://stackoverflow.com/questions/41360364
复制相似问题