You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Zhao Yongming (JIRA)" <ji...@apache.org> on 2012/10/09 08:16:03 UTC

[jira] [Commented] (TS-1223) Crash report: http_ui show network connections

    [ https://issues.apache.org/jira/browse/TS-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472170#comment-13472170 ] 

Zhao Yongming commented on TS-1223:
-----------------------------------

this issue still there, I use jtest, with command as "jtest -S ts.cn"
with remap as:
{code}
map http://ts.cn:9080/ http://127.0.0.1:9080/
map http://localhost:8080/cache-internal/ http://{cache-internal}
map http://localhost:8080/cache/ http://{cache}
map http://localhost:8080/stat/ http://{stat}
map http://localhost:8080/test/ http://{test}
map http://localhost:8080/hostdb/ http://{hostdb}
map http://localhost:8080/net/ http://{net}
map http://localhost:8080/http/ http://{http}
map http://localhost:8080/migrate/ http://{migrate}
{code}

with records added:
{code}
CONFIG proxy.config.http_ui_enabled INT 3
CONFIG proxy.config.http.enable_http_info INT 1
{code}
with the following pressure:
{code}
 con  new    ops 1byte   lat   bytes/per     svrs  new  ops    total   time  err
 100 1510 7552.7     6    11 60412560/604125  4948 4948 4947  12598912 7320.2    0
 100 1464 7325.6     5    11 68647396/686473  4796 4796 4798  43929748 7321.2    0
 100 1442 7214.6     6    12 73122118/731221  4707 4707 4707  66453089 7322.2    0
 100 1345 6729.5     7    13 73608798/736087  4390 4390 4391  78253318 7323.2    0
 100 1439 7201.4     6    12 83992987/839929  4689 4689 4689  104566824 7324.2    0
 100 1493 7472.7     6    11 92883798/928837  4875 4875 4876  125529102 7325.2    0
 100 1391 6962.4     8    12 89189715/891897  4540 4540 4537  -47095581 7326.2    0
 100 1362 6810.3     8    12 90601877/906018  4447 4447 4449  -5791260 7327.2    0
 100 1388 6942.4     8    12 93482021/934820  4538 4538 4537  31716441 7328.2    0
{code}

server will crash in less than 10 request
{code}
Program terminated with signal 11, Segmentation fault.
#0  0x00002b4e21a0eaf0 in vfprintf () from /lib64/libc.so.6
(gdb) bt
#0  0x00002b4e21a0eaf0 in vfprintf () from /lib64/libc.so.6
#1  0x00002b4e21ac2550 in __vsnprintf_chk () from /lib64/libc.so.6
#2  0x00000000005e419a in vsnprintf (__ap=0x2b4e29f1db50,
    __fmt=0x6ffe90 "<tr><td>%d</td><td>%s</td><td>%d</td><td>%d</td><td>%s</td><td>%d secs ago</td><td>%d</td><td>%d</td><td>%ld</td><td>%ld</td><td>%d</td><td>%ld</td><td>%ld</td><td>%d secs</td><td>%d secs</td><td>%d</"..., __n=32508, __s=<optimized out>)
    at /usr/include/bits/stdio2.h:79
#3  ShowCont::show (this=0x2b4e900038d0,
    s=0x6ffe90 "<tr><td>%d</td><td>%s</td><td>%d</td><td>%d</td><td>%s</td><td>%d secs ago</td><td>%d</td><td>%d</td><td>%ld</td><td>%ld</td><td>%d</td><td>%ld</td><td>%ld</td><td>%d secs</td><td>%d secs</td><td>%d</"...) at ../../proxy/Show.h:62
#4  0x0000000000697e61 in ShowNet::showConnectionsOnThread (this=0x2b4e900038d0, event=1, e=0x2b4e9800fa70) at UnixNetPages.cc:80
#5  0x00000000006a7550 in handleEvent (data=0x2b4e9800fa70, event=1, this=<optimized out>) at I_Continuation.h:146
#6  EThread::process_event (this=0x2b4e28707010, e=0x2b4e9800fa70, calling_code=1) at UnixEThread.cc:142
#7  0x00000000006a820b in EThread::execute (this=0x2b4e28707010) at UnixEThread.cc:193
#8  0x00000000006a6362 in spawn_thread_internal (a=0x104e150) at Thread.cc:88
#9  0x00002b4e1f98bec6 in start_thread () from /lib64/libpthread.so.0
#10 0x00002b4e21aaf98d in clone () from /lib64/libc.so.6
(gdb) 
{code}
                
> Crash report: http_ui show network connections
> ----------------------------------------------
>
>                 Key: TS-1223
>                 URL: https://issues.apache.org/jira/browse/TS-1223
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP, Management, Network
>    Affects Versions: 3.1.3
>         Environment: git master with http_ui enabled
>            Reporter: Zhao Yongming
>             Fix For: 3.3.1
>
>
> {code}
> (gdb) bt
> #0  0x00000032ee248097 in vfprintf () from /lib64/libc.so.6
> #1  0x00000032ee26f052 in vsnprintf () from /lib64/libc.so.6
> #2  0x00000000005ef411 in ShowCont::show(char const*, ...) ()
> #3  0x0000000000699d67 in ShowNet::showConnectionsOnThread(int, Event*) ()
> #4  0x00000000006a8104 in handleEvent (this=0x2abe3bafb010, e=0x2abee001cb70, calling_code=1) at I_Continuation.h:146
> #5  EThread::process_event (this=0x2abe3bafb010, e=0x2abee001cb70, calling_code=1) at UnixEThread.cc:142
> #6  0x00000000006a8b7b in EThread::execute (this=0x2abe3bafb010) at UnixEThread.cc:191
> #7  0x00000000006a7042 in spawn_thread_internal (a=0x188e600) at Thread.cc:88
> #8  0x00000032eea077e1 in start_thread () from /lib64/libpthread.so.0
> #9  0x00000032ee2e68ed in clone () from /lib64/libc.so.6
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira