首页 > 其他, 分享, 常用功能 > a��a?�a?�c�?a?????a?�e��e?? a�?e�� bug patch ?��???c��c��c��

a��a?�a?�c�?a?????a?�e��e?? a�?e�� bug patch ?��???c��c��c��

2013年9月26日     浏览数:180 发表评论 阅读评论

ATSc�?a??cs�a?�e�?a�?a???�?a?????a�?e��a��a�?a?�a?�e?�aS?cs�???a?�c?�c�Yc��???cs�a��???a??e?�a??c�?a??cs�a?�a�?i??e�?a?scs�a��a�za??c��a?�i??a��???e�?e�Ya��a��a?�?�?a��e?�a??c�?a??a?s?�?e?Za��a?�a??a�?a��a?�e��e�?a?�a?Za?�?�?i?sc�???�a�??��e?�a�?c?�a??a�?a?�a?�a�?c?�a??a�?a��c�Ya��a��a��c�se�?c�za?�a???��a��Apachea??a??a?�a??e?za??a��a?Zc�?c?�e�s?�Ya?�???c�?a??cs�c��c��i??a��?��a?�e??a�Ya??e??a?�?�?cs�e??c��a��a?�a??a�?e��c�?a??a�s?�?e??a?�e�?a�?a?�a?ZATSe??c��i?s

  • a�??�??��e��?�????a?�a??i?s
    a�??�??��e��a?�e?�???e�se?�e��a��a?�e??a�?a?Sc?�c��a�?blogc��??�e?�a?�e�?a�????i?s

    e��e?�a?�e????�e�?e�??��e��i?shttp://trafficserver.apache.org/

    blogi?shttps://blogs.apache.org/trafficserver/

  • e��a��a?�e??i??e�?e�?a?�a?�e��e??i?s

    e��a��a?�e??????�?i?s

    • a??e�?a?�e��a��i??a??e�?a?�html?�?a??e��a��i??a��?z?e?�e�?a�?c��a�?cs�i??a??a�?c�?pastebinc��az�cs�???aS?i??a�?e?ze?�aZ�
    • a�?e�?a�?e��?��a?�i??a��?z?a�za??es???zi??a?�a?�?��??�a��a?Ya??a�?a?�a?�c?�e?�
    • a??e�?a??a?�a?�c��e��?�Za??c�?i??a??c�???�c��a?????a?????bugc��
    • ???e��a�?c?�a??a�?c�?c?�e?�?��???i??c?�e?�googlei???Y?e?�e��a��a?�e??aZ�a??e��a��
    • be nice, be patient
  • jira?S?buga�?e?�?��i?s

    jira???apachec?�c��a?S?S?a�Sbuga�?e?�?��cs�e�?e�?a??a?�i??c��a??bugzillac��c?�c�Yi??a?�?�????a�?i??c�???�a??a?�c?�c�Yc��c��e??e??a��

    https://issues.apache.org/jira/browse/TS ???ATScs�e��e?�

    a��a????�a��a?�e?�e�????a?�jirai?s

    • bugi?sa��a?�a?Z??Y??�a??c��cs�e??cZ�i??e?????bug
    • a��a?�??�a��a?�???aS?a�?crash?Z�e?????a??e�?bug
    • e?�e�?a??a?�a�?a?za??a�????e�?a�??��a��c��cs�???a?�enhancement
    • e?�e�?a?zaS�?��aSYe??cs�i??a?� new feature

    a��a?�???a?�a?�a????�a��a�?cs�jirai?Y
    https://cwiki.apache.org/confluence/display/TS/Filing+useful+bug+reports

    a��a?�e��???a?�cs�a??????�???�aS�a?Za��a��a?�?z?e��e??i?YATS???a?�a??a?Sa��a�???�cs�c?�c�Yi??a�???�a?�e?za?�a??a???��e??a�Y??za�s?��??�e��e??i??a��?��a��?z?a?�c?�a?�a��a?�e��e??i??e?�a�????a?�a?�c�?a??i??a???��e?�a?�?�?e�Ye??e��e??i??c�?a?�?�?a?�e��e??cs�?�????a?�e�?a�?a��??Ye�?a??e??a?s??�a??e?�a?�e��e????�e????�??scs�a??e?�e?�a�?a�?cs�a?�a?�i??a��a?�?�?e??e��e?�a?�c?za��c?�e??a?Za?�a�?i????�a��e???????�a?�a?�a??cs�a�?e��cs�i?s

    • e��a�?e�???Zc?�e��e??i??a?�a�?c�?a�?a�?e��e???Y?e?�jirac?�c�Y

    ???a?�a?�a???��issuei??a?�e?�e�???�c��??Zcs�?��e??i??a��i?sTS-306 enable log rotation for diags.log

    • ??�??scs�e????Za?�c�Ye��e??cs�cZ?a??i??e��a?�???a��

    cZ?a??e�?a��a?�a?�i?sTSc�???�i???�?a??c?�c�Yc�???�a�?a??a?�i??ATScs�a�?c?�???a??…

    • ??�stack tracei??GDBa?????c��
    • ATSa??crashcs�?��a��i??a??Linuxa??a?�a?�i??a?s?��a?�a�?stack tracea�?a?�a?Za?Zc��cs�e��e???Z�?Y?i??e?�a??aSYe??e�?e��???a?�a??cs�i??a?sa??ts??�?Z�cs�?��a��?��a?�a�?e�?a��cs�e�?c�???�a��a?�traffic.outa?�a��a??e�?cs�stack tracec��?z?a��a?�i?s
      FATAL: UnixNetVConnection.cc:799: failed assert `vio->mutex->thread_holding == this_ethread() && thread`
      /usr/bin/traffic_server - STACK TRACE:
      /usr/lib64/trafficserver/libtsutil.so.3(+0x13d77)[0x2aaaaaabfd77]
      /usr/lib64/trafficserver/libtsutil.so.3(+0x130ff)[0x2aaaaaabf0ff]
      /usr/bin/traffic_server(_ZN18UnixNetVConnection11set_enabledEP3VIO+0x45)[0x657c25]
      /usr/bin/traffic_server(_ZN18UnixNetVConnection8reenableEP3VIO+0x48)[0x65b0f8]
      /usr/bin/traffic_server(_ZN18UnixNetVConnection10do_io_readEP12ContinuationlP9MIOBuffer+0xa6)[0x6561d6]
      /usr/bin/traffic_server(_ZN21SSLNextProtocolAccept9mainEventEiPv+0x1fd)[0x64af1d]
      /usr/bin/traffic_server(_ZN18UnixNetVConnection11acceptEventEiP5Event+0x535)[0x659725]
      /usr/bin/traffic_server(_ZN7EThread13process_eventEP5Eventi+0xe7)[0x679aa7]
      /usr/bin/traffic_server(_ZN7EThread7executeEv+0xe1)[0x67a2d1]
      /usr/bin/traffic_server[0x678ad2]
      /lib64/libpthread.so.0[0x36ff607d15]
      /lib64/libc.so.6(clone+0x6d)[0x36ff2f248d]
      

      e?�a??a???????�a??c�?c++filte?�a?�a??i?s

      FATAL: UnixNetVConnection.cc:799: failed assert `vio->mutex->thread_holding == this_ethread() && thread`
      /usr/bin/traffic_server - STACK TRACE:
      /usr/lib64/trafficserver/libtsutil.so.3(+0x13d77)[0x2aaaaaabfd77]
      /usr/lib64/trafficserver/libtsutil.so.3(+0x130ff)[0x2aaaaaabf0ff]
      /usr/bin/traffic_server(UnixNetVConnection::set_enabled(VIO*)+0x45)[0x657c25]
      /usr/bin/traffic_server(UnixNetVConnection::reenable(VIO*)+0x48)[0x65b0f8]
      /usr/bin/traffic_server(UnixNetVConnection::do_io_read(Continuation*, long, MIOBuffer*)+0xa6)[0x6561d6]
      /usr/bin/traffic_server(SSLNextProtocolAccept::mainEvent(int, void*)+0x1fd)[0x64af1d]
      /usr/bin/traffic_server(UnixNetVConnection::acceptEvent(int, Event*)+0x535)[0x659725]
      /usr/bin/traffic_server(EThread::process_event(Event*, int)+0xe7)[0x679aa7]
      /usr/bin/traffic_server(EThread::execute()+0xe1)[0x67a2d1]
      /usr/bin/traffic_server[0x678ad2]
      /lib64/libpthread.so.0[0x36ff607d15]
      /lib64/libc.so.6(clone+0x6d)[0x36ff2f248d]
      
    • a?�c��i??e?�a?�c��a?�cs�stack tracec��?z????a??a�Ycs�i??e?�a?�e�?a?Se??a??c�?corecs�?�???�i???S�a?�core?��a��a?Za�?e?�a?�?�?gdbe�Ye??i??a?�???a?�c�?a?�cs�?�?e?�c��a?????
    • a��?z???�?��e?�c�?a?�i??e�?a��?�?a??a?�

    ??�a��a�?c�???�a?�a??e?za????�cs�a?�???aSYe???��e?�??�?z�i??https://github.com/ZongYi-Ali/Macaroon

    • es??��e??a��a��a��a??e?�e�?a?�???a?�cs�a?????

    a?�a?�e?�c?�a?�i???�?e??a��a?�?�?a�sa?????

    a?�a?�a?Ya?sa??c�?cwiki???c??a?�a?�a?�FAQi??a�?a?Se??c��?��e??cs�a?�e�??��???
    https://cwiki.apache.org/confluence/display/TS/Apache+Traffic+Server

    a��i?shttps://cwiki.apache.org/confluence/display/TS/Projects c??a?�a?�?��??�?�?a??a?scs�a��???a?�e��e??a�?e�?a?�a�?e?�a��??�a��c��a��
    https://cwiki.apache.org/confluence/display/TS/Releases c??a?�a?�a?Zc��c�???�cs�roadmape��a?�c��

  • ircc�??Z??�?a??i?s
    aZ� #traffic-server on irc.freenode.net.

  • ??�a?�c�?a�?i?s

  • a?�a?�c�?a�?i?s

    a?�a?�a??a�?a?�a�se�?c�Y?��a?�a?�a??e??i?s

    a��a?�???a?�a?�a??patchi?Y

    • c?�a??e�?a��a�?c�?pulla?�a�??�???�?��mastera?�?�?a�?c�?

    git repo??�a??a�si?s

    • a�??�?committerc�?i??a??a�????a?�cs�i?shttps://git-wip-us.apache.org/repos/asf/trafficserver.git e?�a??a?Ya??a�?a???��c�?a??a��c�?cs�a��
    • a��a?�c�?cs�i??a??a??a�?pullcs�i?s
      • http://git-wip-us.apache.org/repos/asf/trafficserver.git
      • git://git.apache.org/trafficserver.git
      • github
        a?�a?�i?shttp://github.com/apache/trafficserver
        e?�e�?a?????a?�a��a??repoa?�a?�i??e?�github???apachecs�a?�a??e�?a??c�?i??a??a??a?????a?�c�?

    ?��clonea??a�?c�?: git clone https://git-wip-us.apache.org/repos/asf/trafficserver.git

    https://git-wip-us.apache.org/repos/asf/trafficserver.git

    • a?�?�?a�?c�?i??a?�???a?�
    • c�?a��a?�a?�e?�e�?cs�?�???�a?�?�?a?�???a?�a�?c�?
      • e�?e?�a�?ATScs�a�?c�?e?Z?�?a�S https://cwiki.apache.org/confluence/display/TS/Coding+Style e?�a??e?Z?�?c��a??gnucs�a��
      • a�?e�?a???�?a?�e�?cs�?�?aS?i??a??e�?aS?aZY???cs�c?�e?�a�Sa�?c�??�?a�Sa�??�?a��e��e??a�Sa�?cs�i??e�?a?�a?�a??a�?a?�c��???a?�patch?????z
    • a?�a��a?�a??e?za????�??scs�a?�e??e????Z

      e?�a??a?�e??cs�e????Zi??a�?TS-xxx:a?�a�?i??e??a�Y??�??s???e?�patcha?scs�a�?a??i??a?�a??e�?a�?e�?i??a��a??e�?e��e?�80a��c��

      a?�a��i?sTS-2187: use nonblock eventfd in EventNotify

    • a�?a?Se?�c��cs�a�se??e????Z

      a?�a??e?�c��cs�e????Zi??c?�a?�a??a�?e�?a??a�si??a?�a�se�???�e�?c?�cs�a?�a�?c�?a�?cs�a??a?�cs�aZYa��a?Zc��cs�i??a�?a?Sc��?��a?�a�?cs�e�?c?�a�??Z?a??a??a?�i??a???��a?�a�?a?�e�?cs�c�?a?�a��

    • a?�e�?a?�e??cs�a?�a??e?za??a??commita?�a�?i?s

      commit 9a6fc2ab6b3147e82dfc229a7158083371d5545e
      Author: Yunkai Zhang <qiushu .zyk@taobao.com>
      Date:   Sun Sep 8 23:35:39 2013 +0800
      
          TS-2187: use nonblock eventfd in EventNotify
      
          1) Use nonblock eventfd, so that we can tolerate write() failed with
              errno EAGANIN a�� which is acceptable as the signal receiver will be
              notified eventually in this case.
      
          2) After using nonblock eventfd, read() will not block in wait(). So
              I use epoll_wait() to implement block behavior, just like timedwait().
      
          3) nonblock eventfd can fix a potential problem: if receiver didn't
              read() data immediately, senders might block in write().
      
          Signed-off-by: Yunkai Zhang </qiushu><qiushu .zyk@taobao.com>
      

    • ??�?Y?e�?a��cs�e��c��c��a????????a?�e�?c?�?�?c?�

    a�?c�?a?�a???�?a??a??c�?gitcs�c�???�i??e�?a�se??a�?c�?e�?c?�a??a?�a??a��a�?e��c��i????�a��a�?e��a��a��???a?�patchcs�?��a��a�s??�?Y?a?�a?�i??a?�e�?a?Se??cs�a?�a�?e�?i?sAuthor: Yunkai Zhang i????�a?�a??a?�e�?cs�a??a��a??a?Zc��a��a��e��e?�a?�e?za??e�?e�?i????�a?�a??a?�cZ�a��a??cs�e��c��i??a??a�?a��a?�cs�e??e?�a???��a?�aSYa?Za?�a?Za?�cs�e��a?�i??a?�???c�?a????�a��e??a�Ya�ze�?cs�a��???e?�a?�credita��i??

    • ???c�?a�?patch

    ??�a��cs�a�?c�?a�?c�?commita?�e�?a��??�a?�repoa?Zi??a??a�?c�? git format-patcha�?a��c�Y???

    zymMBPr:traffic.git zym$ git status
    # a??a?Za?�?�? master
    # ?�?cs�a?�?�?e?�a�? 'apache/master' a�� 1 a?????a?�a��
    #   i??a??c�? "git push" ???a?�a???�?cs�??�a?�???a?�i?�
    #
    # ???e�Ye??cs�?��a��:
    #   i??a??c�? "git add <file>..." a�?a?�a?�e�????a?�cs�a��a�?i?�
    #
    #   test/
    #   tmp/
    ???a?�a??c�?i??a?�???a�?a??a�s???e�Ye??cs�?��a��i??a??c�? "git add" a�?c��e�Ye??i?�
    zymMBPr:traffic.git zym$ git show
    commit 4db9faf3975891cc3df7fc42d8dd9072af22c4ed
    Author: Zhao Yongming <ming .zym@gmail.com>
    Date:   Tue Aug 20 18:24:31 2013 +0800
    
        doc: update cluster howto to for connections
    
    diff --git a/doc/admin/cluster-howto.en.rst b/doc/admin/cluster-howto.en.rst
    index 612db32..3b01019 100644
    --- a/doc/admin/cluster-howto.en.rst
    +++ b/doc/admin/cluster-howto.en.rst
    @@ -135,8 +135,8 @@ Performance tweak for busy Cluster
     ==================================
    
     Starting from v3.2.0, Apache Traffic Server can handle multiple internal
    -cluster connections, and we can tweak for the Cluster threads and
    -connections:
    +cluster connections, and we can tweak for the Cluster threads and each of
    +the thread will keep one connection to all of the cluster machines:
    
     -  Increasing Cluster threads:
    
    @@ -147,13 +147,8 @@ connections:
    
     .. XXX::  ET_NET and ET_CLUSTER should be documented some place. Right now, this means nothing to me.
    
    --  Setup the Cluster connections:
    -
    -   In the Cluster, the internal connections is TCP and limited by
    -   ET_CLUSTER threads and network performance, we can increase the
    -   connections to archive better performance.::
    -
    -       traffic_line -s proxy.config.cluster.num_of_cluster_connections -v 10
    +   ::
    +       traffic_line -s proxy.config.cluster.threads -v 10
    
     with these tweaks, we can archive about 10gbps traffic for the internal
     cluster transfer speed.
    zymMBPr:traffic.git zym$ git log | head
    commit 4db9faf3975891cc3df7fc42d8dd9072af22c4ed
    Author: Zhao Yongming </ming><ming .zym@gmail.com>
    Date:   Tue Aug 20 18:24:31 2013 +0800
    
        doc: update cluster howto to for connections
    
    commit 1ec3990bf7c30b8a50764dce16d819ba76180a0d
    Author: Yu Qing <zhuangyuan @taobao.com>
    Date:   Mon Sep 16 10:26:27 2013 +0800
    
    zymMBPr:traffic.git zym$ git format-patch 1ec3990bf7c30b8a50764dce16d819ba76180a0d
    0001-doc-update-cluster-howto-to-for-connections.patch
    zymMBPr:traffic.git zym$ cat 0001-doc-update-cluster-howto-to-for-connections.patch
    From 4db9faf3975891cc3df7fc42d8dd9072af22c4ed Mon Sep 17 00:00:00 2001
    From: Zhao Yongming <ming .zym@gmail.com>
    Date: Tue, 20 Aug 2013 18:24:31 +0800
    Subject: [PATCH] doc: update cluster howto to for connections
    
    ---
     doc/admin/cluster-howto.en.rst | 13 ++++---------
     1 file changed, 4 insertions(+), 9 deletions(-)
    
    diff --git a/doc/admin/cluster-howto.en.rst b/doc/admin/cluster-howto.en.rst
    index 612db32..3b01019 100644
    --- a/doc/admin/cluster-howto.en.rst
    +++ b/doc/admin/cluster-howto.en.rst
    @@ -135,8 +135,8 @@ Performance tweak for busy Cluster
     ==================================
    
     Starting from v3.2.0, Apache Traffic Server can handle multiple internal
    -cluster connections, and we can tweak for the Cluster threads and
    -connections:
    +cluster connections, and we can tweak for the Cluster threads and each of
    +the thread will keep one connection to all of the cluster machines:
    
     -  Increasing Cluster threads:
    
    @@ -147,13 +147,8 @@ connections:
    
     .. XXX::  ET_NET and ET_CLUSTER should be documented some place. Right now, this means nothing to me.
    
    --  Setup the Cluster connections:
    -
    -   In the Cluster, the internal connections is TCP and limited by
    -   ET_CLUSTER threads and network performance, we can increase the
    -   connections to archive better performance.::
    -
    -       traffic_line -s proxy.config.cluster.num_of_cluster_connections -v 10
    +   ::
    +       traffic_line -s proxy.config.cluster.threads -v 10
    
     with these tweaks, we can archive about 10gbps traffic for the internal
     cluster transfer speed.
    --
    1.8.4
    
    zymMBPr:traffic.git zym$
    

    e?�e�?cs� 0001-doc-update-cluster-howto-to-for-connections.patch a��?????�a��a??a�????a?�a?�jirae�?cs�patcha��c�?a??cs�a�s?��a??e??e��a??i?s

    • a?�?�??��???a?�a??a�spatch???a??a??cs�i??reviewcs�aZ�aS�a??a��
    • a?�a??patch?�?a??a�s?�?e??cs�a??e?????a??a??cs�i??a�???�a�?e��i??a?�?????�a???�??�?reviewa��patch
    • a??c�?a�sa??a�?cs�patche????�a?�a??a��e�?c?�cs�patche�?nicecs�a�s
    • c��a??a??e�??�?a??a�?c?�e?�a?�?�?c��i??e?�e�??�?a??a��c�???�a?�a??a�?a?Z??zi??a?�e�Ya��a��a��e�?a?�a?�
      • ???a?�a?�c�?a?�cs�jira issuee�?
    • a?�e�?cs�e??i??a??jirae�?a�?e?�c��e????Zi????�a��a???��c?�i??a��?��c?�a????Zc�?
      • ?SSissuee�?c?�a??patch avalible
    • e?�?��a��a?s??�a??c��a?�reviewa��
    • ???a?�a?S???cs�patcha��a��a?sreviewa?�c��a�?a??e�?i??a��?z?a????�patche??a??c�?a???Z?a?�i??a?�e?�e�???�a?�a??e�sa??a?�?�?cs�a???�??Z?a?�a��a��cs�e?�a��a�???�c?�?��c?�e�??��i??e??a�Y?Z?a?�a?�?�?e?�???c�?a??a??a??cs�aY?c?�a��
    • a��a??aSYaS?a?�a?Za??e��i??a�s?��a?�a?�reviewa�?a?�a?�???a?�a�?c�?cs�committere??a??a?sa?�a?�?�?a�?c�?i??a??a?sc��a?�a�?e��i??a�s?��??�a��a��a��e????�e??nicei???SSa???�?cs�a�?e��a?�???musti??a��?z?a??es?e?????e�?a��a�?a??i??a��a?�a�?c�?a?�cs�aZYa��a��
    • c?�e�Se?�e�S??Zi??a??e�??��a??a�?i??a??e�??��a?�a??c?�c?�a��committera?�e�?a?�?z�cs�?��a��??�c��?��a??reviewe?�a��e�?a��cs�a�sa��
    • ?�???�reviewercs�a�?e��?�?e?�i?????c�?a??e?�a��a??a??a?�a??e�?e�??�?e??:D

  • c�???�????��i?s

    a�??�?cs�?��???i??a?�e?�c?�a?�i?shttp://trafficserver.apache.org/docs/
    a�??�?cs�wikii??a?Ya?�?�??�?i??a��a��???FAQi?shttps://cwiki.apache.org/confluence/display/TS

Apachecs�c�?a??i??a?sc�?a??e??a�?e?�a?�a??a��a????�a�?a�?a?�?SS???i??a��?��a??c�?a??e�?cs�a?�c�??S�c??a?�a?�e?za???��e??i??ATSa?Y???a???�?e?�a�?c�?a�?cs�bylawsi??https://www.apache.org/foundation/bylaws.html ?�?e?Za�?a��a?�e?�a�?a?�a?ZATSe??c��cs�?�?a??a�?a??a?�???i???�?cs�?�?e�?e??a?se?�a??e�?a??a?�cs�a��

分类: 其他, 分享, 常用功能 标签:
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.