Return-Path: X-Original-To: apmail-trafficserver-users-archive@www.apache.org Delivered-To: apmail-trafficserver-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 02A0718356 for ; Fri, 11 Mar 2016 09:50:35 +0000 (UTC) Received: (qmail 92370 invoked by uid 500); 11 Mar 2016 09:50:34 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 92300 invoked by uid 500); 11 Mar 2016 09:50:34 -0000 Mailing-List: contact users-help@trafficserver.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@trafficserver.apache.org Delivered-To: mailing list users@trafficserver.apache.org Received: (qmail 92290 invoked by uid 99); 11 Mar 2016 09:50:34 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2016 09:50:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4A148180528 for ; Fri, 11 Mar 2016 09:50:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 804baSs0Wipd for ; Fri, 11 Mar 2016 09:50:32 +0000 (UTC) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 5DC165F19D for ; Fri, 11 Mar 2016 09:50:32 +0000 (UTC) Received: by mail-wm0-f52.google.com with SMTP id n186so10729575wmn.1 for ; Fri, 11 Mar 2016 01:50:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=dUZNBuvgNv+K22alMXzt/6Sa/5Sx9qDCH6LIvbzFQVg=; b=GHWXGrxJ2JzjJ69Z7s0Mfny7Lkf8PKyYDQjAMHqAjqWCs9YJecsPl29e0CVYO3KSv4 8ITICB0hoUuyEISJ6xNu6BouucdX78yrUC+i3W3hPyxM6aU329+SgEs0RZ8KiVvbyYPe ZJb3jAtaq8f2v6Wu1CmJJh49mmvWM6rKzuMvq279Wt/K8uhxLSWE+ZjuH+DNRBKMi2OU /3titGyg1ZSMGpyuo+E6DOPObuHoHd/JPRr1JKE6IX3R6EGbkB2D+plwnl8p9sNVaaX8 9zcDR8ESG0mi/w2Nh35PORl8YKVvsmutJ4pQAItrDvApy2vkIF3PTdY2P4xM8BH7PMKa c0Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=dUZNBuvgNv+K22alMXzt/6Sa/5Sx9qDCH6LIvbzFQVg=; b=It6hZ07t9m5bz6C/EmtjLkryBKvpqiib7Y1/w1EiAnk9X8JPKxVM34nfR/yAbh3wUn CIho02ZvVz0i9m4gu2FUZzMcNM84xzHdG1KzsYLHjiWONK42V0SpjMQ0cYFY3sN8aT/0 8VaURS3JBHyYdbVedk/luB8UHRVeL4fGrXQvh4WKQVFllX3Ae0KEPqLOfdYtbVuS0VVk 0G5fwQqsPqj2S/p26bMmgwc2Y3Lptp5i7zB3BkQh4IRqTwNQZu3D8qSFbCLi4JOg5JcC AUZ4Jh8zv2BrwAokXtFWgJzqD/uqzItxE6o3DTfqS6tTzlxW6vHdgBy0AUdI2Li6o5Up pj6Q== X-Gm-Message-State: AD7BkJIMKQIEfeTDJmgzyb9E3cOGPzwM0P02snPcG9rqHrTbmH4954XO9ubgfKmnczX1stBI4vReMKA6CYuRIQ== MIME-Version: 1.0 X-Received: by 10.194.134.134 with SMTP id pk6mr8803245wjb.176.1457689826384; Fri, 11 Mar 2016 01:50:26 -0800 (PST) Received: by 10.28.215.204 with HTTP; Fri, 11 Mar 2016 01:50:26 -0800 (PST) Date: Fri, 11 Mar 2016 17:50:26 +0800 Message-ID: Subject: traffic server no response while reading body. From: feng D To: users@trafficserver.apache.org Content-Type: multipart/alternative; boundary=089e0112ca664b60f8052dc2dc39 --089e0112ca664b60f8052dc2dc39 Content-Type: text/plain; charset=UTF-8 I found that traffic server just output about half of the body to client, then no response. And left the tcp connect alive. And I found that just happens when the number of the connection is up to 8000. like this: ********************************************************* # ss -n sport = :80 |wc -l 7822 ********************************************************* curl download is like: ********************************************************************************* # curl http://domain.com/upload/plug-ins/mb20160308.apk -x 192.168.250.5:80 -o /dev/null -v * Hostname was NOT found in DNS cache * Trying 192.168.250.5... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to 192.168.250.5 (192.168.250.5) port 80 (#0) > GET http://domain.com/upload/plug-ins/mb20160308.apk HTTP/1.1 > User-Agent: curl/7.35.0 > Host: domain.com > Accept: */* > Proxy-Connection: Keep-Alive > < HTTP/1.1 200 OK * Server ATS/4.2.2 is not blacklisted < Server: ATS/4.2.2 < Date: Tue, 08 Mar 2016 11:40:34 GMT < Content-Type: application/vnd.android.package-archive < Content-Length: 838197 < Last-Modified: Tue, 08 Mar 2016 11:40:31 GMT < Accept-Ranges: bytes < ETag: W/"838197-1457437231000" < Expires: Wed, 16 Mar 2016 02:06:49 GMT < Cache-Control: max-age=656775 < Age: 248321 < Via: http/1.1 ats (ApacheTrafficServer/4.2.2 [cHs f ]) < Proxy-Connection: keep-alive < { [data not shown] 43 818k 43 352k 0 0 1200 0 0:11:38 0:05:00 0:06:38 0* transfer closed with 477366 bytes remaining to read 43 818k 43 352k 0 0 1200 0 0:11:38 0:05:00 0:06:38 0 * Closing connection 0 curl: (18) transfer closed with 477366 bytes remaining to read [root@CTN-HI-HAK-005 trafficserver_ ********************************************************************************* I use the traffic server 4.2.2 on centos 6. Who can help me? Thanks!!! --089e0112ca664b60f8052dc2dc39 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I found that traffic serv= er just output about half of the body to client, then no response. And left= the tcp connect alive.

And I found that just happens when the number = of the connection is up to 8000.

<= /div>
like this:
*********************************************************
# ss -n sport =3D :80 |wc -l
7= 822
****************************= *****************************

curl download is like:
********************************************************= *************************
* Hostname was NOT found in DNS cache
* =C2=A0 Trying 192.168.250.5...
=C2=A0 % Total =C2=A0 = =C2=A0% Received % Xferd =C2=A0Average Speed =C2=A0 Time =C2=A0 =C2=A0Time = =C2=A0 =C2=A0 Time =C2=A0Current
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0Dload =C2=A0Upload =C2=A0 Total =C2=A0 Spent =C2=A0 =C2=A0Left= =C2=A0Speed
=C2=A0 0 =C2=A0 =C2=A0 0 =C2=A0 =C2=A00 =C2=A0 =C2= =A0 0 =C2=A0 =C2=A00 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 =C2=A00 =C2=A0 =C2=A0 = =C2=A00 --:--:-- --:--:-- --:--:-- =C2=A0 =C2=A0 0* Connected to 192.168.25= 0.5 (192.168.250.5) port 80 (#0)
> User-Ag= ent: curl/7.35.0
> Host:=C2=A0domain.com
> Accept: */*
> P= roxy-Connection: Keep-Alive
>
< HTTP/1.1 200 = OK
* Server ATS/4.2.2 is not blacklisted
< Server: A= TS/4.2.2
< Date: Tue, 08 Mar 2016 11:40:34 GMT
< = Content-Type: application/vnd.android.package-archive
< Conten= t-Length: 838197
< Last-Modified: Tue, 08 Mar 2016 11:40:31 GM= T
< Accept-Ranges: bytes
< ETag: W/"8381= 97-1457437231000"
< Expires: Wed, 16 Mar 2016 02:06:49 GM= T
< Cache-Control: max-age=3D656775
< Age: 248321=
< Via: http/1.1 ats (ApacheTrafficServer/4.2.2 [cHs f ])
< Proxy-Connection: keep-alive
<
{ [dat= a not shown]
=C2=A043 =C2=A0818k =C2=A0 43 =C2=A0352k =C2=A0 =C2= =A00 =C2=A0 =C2=A0 0 =C2=A0 1200 =C2=A0 =C2=A0 =C2=A00 =C2=A00:11:38 =C2=A0= 0:05:00 =C2=A00:06:38 =C2=A0 =C2=A0 0* transfer closed with 477366 bytes re= maining to read
=C2=A043 =C2=A0818k =C2=A0 43 =C2=A0352k =C2=A0 = =C2=A00 =C2=A0 =C2=A0 0 =C2=A0 1200 =C2=A0 =C2=A0 =C2=A00 =C2=A00:11:38 =C2= =A00:05:00 =C2=A00:06:38 =C2=A0 =C2=A0 0
* Closing connection 0
curl: (18) transfer closed with 477366 bytes remaining to read
[root@CTN-HI-HAK-005 trafficserver_
****************************************************************= *****************

I use the traffic server 4.2.2 on centos 6.

Who c= an help me?

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0Thanks!!!
--089e0112ca664b60f8052dc2dc39--