xierui54 发表于 2011-12-19 15:00

本帖最后由 xierui54 于 2011-12-19 15:01 编辑

在3.0.2版的etc配置文件中没有找到TrafficServer管理员指南中提到的“filter.config”这个文件,请问这个文件中需要添加的一些选项应该在哪里添加

yunfeichen119 发表于 2011-12-20 10:10

我测试Prefetch模块,发现Prefetch模块会发生段错误,
ab -n 1 -c 1 -X 192.168.16.198:8080 -d http://club.baobao.sohu.com/r-mmbb-3954004-0-29-900.html
访问上面的页面,每次都会发生。在traffic server官网,没有查到这个问题
配置方面:在records.config中使能Prefetch,在Prefetch.config中配置child,


#00x08124f17 in VIO::reenable (this=0x0) at ../iocore/eventsystem/P_VIO.h:123
#10x08147fe3 in KeepAliveConn::append (this=0xab9aef20, rdr=0x9c91b794) at Prefetch.cc:1984
#20x08145fd7 in KeepAliveConnTable::append (this=0xb2393608, ip=16777343, buf=0x9c91b780, reader=0x9c91b794) at Prefetch.cc:2039
#30x0814679b in KeepAliveLockHandler::handleEvent (this=0xb23e0b30, event=2, data=0x8ab2f60) at Prefetch.cc:2168
#40x08104ba5 in Continuation::handleEvent (this=0xb23e0b30, event=2, data=0x8ab2f60)
    at ../iocore/eventsystem/I_Continuation.h:146
#50x0830a9f5 in EThread::process_event (this=0xb7396008, e=0x8ab2f60, calling_code=2) at UnixEThread.cc:140
#60x0830add5 in EThread::execute (this=0xb7396008) at UnixEThread.cc:217
#70x0830900e in spawn_thread_internal (a=0x895eed8) at Thread.cc:88
#80x00165cc9 in start_thread (arg=0xb6f91b70) at pthread_create.c:304
#90x0066f69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

#00x08124f17 in VIO::reenable (this=0x0) at ../iocore/eventsystem/P_VIO.h:123
#10x08147fe3 in KeepAliveConn::append (this=0xa5736888, rdr=0x8d0b2f4) at Prefetch.cc:1984
#20x08145fd7 in KeepAliveConnTable::append (this=0xb2393608, ip=16777343, buf=0x8d0b2e0, reader=0x8d0b2f4) at Prefetch.cc:2039
#30x08141db3 in PrefetchUrlBlaster::udpUrlBlaster (this=0x8abd3e0, event=3300, data=0x0) at Prefetch.cc:885
#40x0813e4ea in PrefetchUrlBlaster::init (this=0x8abd3e0, list_head=0xabc59ac0, u_proto=TCP_BLAST) at Prefetch.h:280
#50x08147806 in BlasterUrlList::invokeUrlBlaster (this=0xa7c22260) at Prefetch.h:287
#60x08141ac8 in BlasterUrlList::handleEvent (this=0xa7c22260, event=3302, data=0xabc59ac0) at Prefetch.cc:803
#70x08143c89 in PrefetchBlaster::handleEvent (this=0xa5739920, event=2, data=0x0) at Prefetch.cc:1420
#80x08144f42 in PrefetchBlaster::invokeBlaster (this=0xa5739920) at Prefetch.cc:1769
#90x08143e22 in PrefetchBlaster::handleEvent (this=0xa5739920, event=1102, data=0xb23cdca0) at Prefetch.cc:1448
#10 0x08104ba5 in Continuation::handleEvent (this=0xa5739920, event=1102, data=0xb23cdca0)
    at ../iocore/eventsystem/I_Continuation.h:146
#11 0x082c1abf in CacheVC::callcont (this=0xb23cdca0, event=1102) at P_CacheInternal.h:629
#12 0x082c1487 in CacheVC::openReadStartHead (this=0xb23cdca0, event=3900, e=0x0) at CacheRead.cc:1115
#13 0x08104ba5 in Continuation::handleEvent (this=0xb23cdca0, event=3900, data=0x0) at ../iocore/eventsystem/I_Continuation.h:146
#14 0x082c1431 in CacheVC::openReadStartHead (this=0xb23cdca0, event=2, e=0x8ab48a0) at CacheRead.cc:1112
#15 0x08104ba5 in Continuation::handleEvent (this=0xb23cdca0, event=2, data=0x8ab48a0)
    at ../iocore/eventsystem/I_Continuation.h:146
#16 0x0830a9f5 in EThread::process_event (this=0xb7295008, e=0x8ab48a0, calling_code=2) at UnixEThread.cc:140
#17 0x0830add5 in EThread::execute (this=0xb7295008) at UnixEThread.cc:217
#18 0x0830900e in spawn_thread_internal (a=0x895dd00) at Thread.cc:88
#19 0x00165cc9 in start_thread (arg=0xb6e90b70) at pthread_create.c:304
#20 0x0066f69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130


yunfeichen119 发表于 2011-12-20 13:49

本帖最后由 yunfeichen119 于 2011-12-21 11:46 编辑

可以回复了。。

Mysql2009 发表于 2011-12-20 23:35

不能回复么?

R0mmel 发表于 2011-12-21 11:01

不能回复么?

aaaaaa 发表于 2011-12-21 15:43

是用的trunk吗?我印象中trunk做了很多server session管理方面的改进,包括进程间fd io方面的改进。
TS-924
TS-857 TS-934 TS-1031

你的问题可能比较纠结

xierui54 发表于 2011-12-21 16:06

我在traffic_shell中运行时,出现如下提示
% show:cache-stats

ERROR: Invalid parameter specified.
       Check parameters for correct syntax and type.


Bytes Used --- 0 GB
Cache Size --- 10 GB
--RAM Cache--
Total Bytes -- 13934592
Bytes Used --- 135168

请问ERROR: Invalid parameter specified.
       Check parameters for correct syntax and type.
是什么错误

LnBSD 发表于 2011-12-21 18:42

本帖最后由 LnBSD 于 2011-12-21 18:42 编辑

楼上滴 这个问题 159楼不是回复过了么 。。

xierui54 发表于 2011-12-22 09:59

谢谢

yunfeichen119 发表于 2011-12-22 17:03

本帖最后由 yunfeichen119 于 2011-12-23 13:36 编辑

3.0.1和3.0.2都有这个问题,配置会影响到这个问题

CONFIG proxy.config.prefetch.default_url_proto STRING tcp
CONFIG proxy.config.prefetch.default_data_proto STRING tcp
按照上面的配置,会出现上面的段错误


CONFIG proxy.config.prefetch.default_url_proto STRING udp
CONFIG proxy.config.prefetch.default_data_proto STRING udp
按照这个配置,不会出现段错误


使用上面的任何一个配置,都会出现另外一个问题:内存占用迅速增加
使用udp时,资源会被迅速耗尽,最终会因内存被耗尽崩溃

traffic server有没有检查资源使用情况的方法呀?如何追踪内存使用呀?
使用valgrind之类的工具误报很严重呀
页: 8 9 10 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24 25 26 27
查看完整版本: Apache Traffic Server 3.2.0 正式版,附srpm包