You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by su...@softcell.in on 2009/11/17 11:36:44 UTC

Traffic Server: Inspecting the Cache

Dear  ,

We are facing issue while inspecting the cache  of the Traffic Server.

We have enabled http ui in file records.config using below steps

1. Added below parameter to records.config file
CONFIG proxy.config.http_ui_enabled INT 1 

2. Configured remap.config 

map http://yourhost.com/myCI http://{cache} @action=allow @src_ip=corp_internal_address

Replaced yourhost.com with our traffic server IPAddress and corp_internal_address with local M/c Ipaddress using which we wish to access and manage the cache .

3. Restarted the traffic server .

4. Now on accessing the URL from browser we see the web interface displaying below options

- Lookup URL
- Delete URL
- Regex lookup
- regex delete
- Regex invalidate

On clicking any of the above hyperlinks  . Traffic server stops and on the server console we observe below error

=============================
[Nov 17 10:00:36.389] {3086837472} STATUS: opened /usr/local/var/log/trafficserver/diags.log
*** glibc detected *** ./traffic_server: double free or corruption (out): 0x0a3676c8 ***
======= Backtrace: =========
/lib/libc.so.6[0xae0b16]
/lib/libc.so.6(cfree+0x90)[0xae4070]
./traffic_server(_ZN12IOBufferData4freeEv+0x128)[0x80b6b78]
./traffic_server(_ZN13IOBufferBlock4freeEv+0x95)[0x80b6785]
./traffic_server(_ZN13IOBufferBlock4freeEv+0x43)[0x80b6733]
./traffic_server(_ZN3PtrI13IOBufferBlockEaSEPS0_+0x49)[0x8125629]
./traffic_server(_ZN10HttpTunnel18deallocate_buffersEv+0x10e)[0x81ab94e]
./traffic_server(_ZN6HttpSM9kill_thisEv+0x2c6)[0x8168cb6]
./traffic_server(_ZN6HttpSM12main_handlerEiPv+0x1f4)[0x8169454]
./traffic_server(_ZN10HttpTunnel12main_handlerEiPv+0xdb)[0x81acd5b]
./traffic_server(_Z15write_to_net_ioP10NetHandlerP18UnixNetVConnectionP7EThread+0xc45)[0x82e23f5]
./traffic_server(_ZN10NetHandler12mainNetEventEiP5Event+0x434)[0x82d9084]
./traffic_server(_ZN7EThread13process_eventEP5Eventi+0x247)[0x82fd547]
./traffic_server(_ZN7EThread7executeEv+0x502)[0x82fde12]
./traffic_server[0x82fc9ec]
/lib/libpthread.so.0[0x53d46b]
/lib/libc.so.6(clone+0x5e)[0xb48dbe]
======= Memory map: ========
00110000-00204000 r-xp 00000000 fd:00 1149249    /lib/libdb-4.3.so
00204000-00207000 rwxp 000f3000 fd:00 1149249    /lib/libdb-4.3.so
00207000-00248000 r-xp 00000000 fd:00 1149248    /lib/libssl.so.0.9.8b
00248000-0024c000 rwxp 00040000 fd:00 1149248    /lib/libssl.so.0.9.8b
0024c000-00306000 r-xp 00000000 fd:00 1778547    /usr/lib/libtcl8.4.so
00306000-0030c000 rwxp 000ba000 fd:00 1778547    /usr/lib/libtcl8.4.so
0030c000-00339000 r-xp 00000000 fd:00 1789016    /usr/lib/libgssapi_krb5.so.2.2
00339000-0033a000 rwxp 0002d000 fd:00 1789016    /usr/lib/libgssapi_krb5.so.2.2
0033a000-0035f000 r-xp 00000000 fd:00 1786996    /usr/lib/libk5crypto.so.3.1
0035f000-00360000 rwxp 00025000 fd:00 1786996    /usr/lib/libk5crypto.so.3.1
00360000-00368000 r-xp 00000000 fd:00 1781026    /usr/lib/libkrb5support.so.0.1
00368000-00369000 rwxp 00007000 fd:00 1781026    /usr/lib/libkrb5support.so.0.1
003a1000-003bb000 r-xp 00000000 fd:00 1149231    /lib/ld-2.5.so
003bb000-003bc000 r-xp 00019000 fd:00 1149231    /lib/ld-2.5.so
003bc000-003bd000 rwxp 0001a000 fd:00 1149231    /lib/ld-2.5.so
0044f000-00450000 r-xp 0044f000 00:00 0          [vdso]
00450000-004e0000 r-xp 00000000 fd:00 1787056    /usr/lib/libkrb5.so.3.3
004e0000-004e3000 rwxp 0008f000 fd:00 1787056    /usr/lib/libkrb5.so.3.3
00509000-0050b000 r-xp 00000000 fd:00 1149233    /lib/libdl-2.5.so
0050b000-0050c000 r-xp 00001000 fd:00 1149233    /lib/libdl-2.5.so
0050c000-0050d000 rwxp 00002000 fd:00 1149233    /lib/libdl-2.5.so
0050f000-00534000 r-xp 00000000 fd:00 1149235    /lib/libm-2.5.so
00534000-00535000 r-xp 00024000 fd:00 1149235    /lib/libm-2.5.so
00535000-00536000 rwxp 00025000 fd:00 1149235    /lib/libm-2.5.so
00538000-0054b000 r-xp 00000000 fd:00 1149236    /lib/libpthread-2.5.so
0054b000-0054c000 r-xp 00012000 fd:00 1149236    /lib/libpthread-2.5.so
0054c000-0054d000 rwxp 00013000 fd:00 1149236    /lib/libpthread-2.5.so
0054d000-0054f000 rwxp 0054d000 00:00 0 
00551000-00563000 r-xp 00000000 fd:00 1776145    /usr/lib/libz.so.1.2.3
00563000-00564000 rwxp 00011000 fd:00 1776145    /usr/lib/libz.so.1.2.3
00566000-0057c000 r-xp 00000000 fd:00 1149238    /lib/libselinux.so.1
0057c000-0057e000 rwxp 00015000 fd:00 1149238    /lib/libselinux.so.1
00580000-005bb000 r-xp 00000000 fd:00 1146882    /lib/libsepol.so.1
005bb000-005bc000 rwxp 0003a000 fd:00 1146882    /lib/libsepol.so.1
005bc000-005c6000 rwxp 005bc000 00:00 0 
005c8000-005cf000 r-xp 00000000 fd:00 1149237    /lib/librt-2.5.so
005cf000-005d0000 r-xp 00006000 fd:00 1149237    /lib/librt-2.5.so
005d0000-005d1000 rwxp 00007000 fd:00 1149237    /lib/librt-2.5.so
00673000-0067e000 r-xp 00000000 fd:00 1146933    /lib/libgcc_s-4.1.2-20080102.so.1
0067e000-0067f000 rwxp 0000a000 fd:00 1146933    /lib/libgcc_s-4.1.2-20080102.so.1
006c2000-007a2000 r-xp 00000000 fd:00 1782910    /usr/lib/libstdc++.so.6.0.8
007a2000-007a6000 r-xp 000df000 fd:00 1782910    /usr/lib/libstdc++.so.6.0.8
007a6000-007a7000 rwxp 000e3000 fd:00 1782910    /usr/lib/libstdc++.so.6.0.8
007a700Aborted

Pls guide

-- 
Thank You and Regards,
_________________________________________________________________________
Gill Sukhvir Singh

SOFTCeLL Technologies Ltd. | Network Service Provider
Phone: +91-22-6600 6700 extn 6819 | FAX: +91-22-6600 6701
@ E-Mail: sukhvir@softcell.in

Re: Traffic Server: Inspecting the Cache

Posted by Leif Hedstrom <zw...@apache.org>.
On 11/17/2009 03:36 AM, sukhvir@softcell.in wrote:
> Dear  ,
>
> We are facing issue while inspecting the cache  of the Traffic Server.

Good bug :). Can you please file a ticket, and include all this detailed 
stuff in the bug?

-- leif