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 828BB10F99 for ; Fri, 13 Feb 2015 23:35:27 +0000 (UTC) Received: (qmail 77194 invoked by uid 500); 13 Feb 2015 23:35:21 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 77136 invoked by uid 500); 13 Feb 2015 23:35:21 -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 77126 invoked by uid 99); 13 Feb 2015 23:35:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 23:35:21 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [209.65.160.94] (HELO nbfkord-smmo06.seg.att.com) (209.65.160.94) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 23:34:54 +0000 Received: from unknown [144.160.229.24] (EHLO alpi155.enaf.aldc.att.com) by nbfkord-smmo06.seg.att.com(mxl_mta-7.2.4-2) over TLS secured channel with ESMTP id 11a8ed45.0.3156169.00-2359.8680788.nbfkord-smmo06.seg.att.com (envelope-from ); Fri, 13 Feb 2015 23:34:53 +0000 (UTC) X-MXL-Hash: 54de8a1d71f0ffe8-8b2b6c29072ff4d6723ea0408eb10aee70a03072 Received: from enaf.aldc.att.com (localhost [127.0.0.1]) by alpi155.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id t1DNYfN4020722 for ; Fri, 13 Feb 2015 18:34:41 -0500 Received: from mlpi409.sfdc.sbc.com (mlpi409.sfdc.sbc.com [130.9.128.241]) by alpi155.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id t1DNYXUL020685 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 13 Feb 2015 18:34:33 -0500 Received: from MISOUT7MSGHUBAF.ITServices.sbc.com (MISOUT7MSGHUBAF.itservices.sbc.com [130.9.129.150]) by mlpi409.sfdc.sbc.com (RSA Interceptor) for ; Fri, 13 Feb 2015 23:34:15 GMT Received: from MISOUT7MSGUSRCF.ITServices.sbc.com ([169.254.6.203]) by MISOUT7MSGHUBAF.ITServices.sbc.com ([130.9.129.150]) with mapi id 14.03.0195.001; Fri, 13 Feb 2015 18:34:15 -0500 From: "LIN, SHU-CHIH" To: "'users@trafficserver.apache.org'" Subject: =?Windows-1252?Q?=93CACHE=5FEVENT=5FOPEN=5FREAD=5FFAILED=94_error_when_si?= =?Windows-1252?Q?multaneous_requests_needed_revalidation=3F?= Thread-Topic: =?Windows-1252?Q?=93CACHE=5FEVENT=5FOPEN=5FREAD=5FFAILED=94_error_when_si?= =?Windows-1252?Q?multaneous_requests_needed_revalidation=3F?= Thread-Index: AdBH5dsdL78SKUQ+QICXKmS4XDX6Lw== Date: Fri, 13 Feb 2015 23:34:14 +0000 Message-ID: <30778D2546DCBC44875BF75DC7C72778153F5B42@MISOUT7MSGUSRCF.ITServices.sbc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [135.91.196.225] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-RSA-Inspected: yes X-RSA-Classifications: public X-AnalysisOut: [v=2.0 cv=ApVZKpBP c=1 sm=1 a=dhB6nF3YHL5t/Ixux6cINA==:17 a] X-AnalysisOut: [=jPJDawAOAc8A:10 a=_CxH9Qj_VhMA:10 a=BLceEmwcHowA:10 a=N65] X-AnalysisOut: [9UExz7-8A:10 a=zQP7CpKOAAAA:8 a=XIqpo32RAAAA:8 a=0HtSIViG9] X-AnalysisOut: [nkA:10 a=A1X0JdhQAAAA:8 a=-WjKj-FnKykVWhN8GCoA:9 a=pILNOxq] X-AnalysisOut: [GKmIA:10 a=4rq7TwIXcRUA:10 a=GMqT6vWqar9JDPTw:21 a=zDcz9le] X-AnalysisOut: [3GoNvJqpk:21] X-Spam: [F=0.2000000000; CM=0.500; S=0.200(2014051901)] X-MAIL-FROM: X-SOURCE-IP: [144.160.229.24] X-Virus-Checked: Checked by ClamAV on apache.org Hi this is Shu-Chih Lin from ATT again. We are testing ATS 5.1.2 on VM for = a new use case and noticed the following =93issue=94.....any help/insight y= ou can share is much appreciated. Thanks in advance for your help. Shu-Chih =3D=3D=3D Problem statement: - When multiple requests arrived at the same time for the same object (in h= ttps and it=92s > 2, in http it=92s > 10) and all had to revalidate,=20 =A0=A0=A0from time to time one/few request would suffered =93CACHE_EVENT_OP= EN_READ_FAILED=94 error (when debug was on, per code such error=20 =A0=A0=A0meant =93The cache is hosed or full or something=94) which resulte= d in ATS issuing HTTP GET to origin for the entire object (instead of just =A0=A0=A0sending IMS/INM as expected)=20 =A0 We tried the following changes yet the issue persisted: 1. =A0Increased #VM CPU (thus increased #ATS threads under auto-config) 2. Varying object sizes (from 200KB to 300MB) 3. Requests from same vs. different client IPs =A0 We were able to reproduce the problem with debug on. Sample excerpts from t= raffic.out when one such issue was observed: - looked to us ATS was to revalidate yet before it opened up connection to = Origin, the validation to the cached object failed to result in full GET (i= nstead of IMS/INM) =A0 .=20 . +++++++++ Proxy's Request +++++++++ -- State Machine Id: 7950 GET /html/image1 HTTP/1.1 User-Agent: curl-996019351 Host: example.com Accept: */* Client-ip: 135.182.135.34 X-Forwarded-For: 135.182.135.34 Via: https/1.1 server1[87B68722] (ApacheTrafficServer/5.1.2) =A0 [Feb 12 15:30:39.798] Server {0x2b4f08d10700} DEBUG: (http_seq) [HttpTransact::issue_revalidate] cache actio= n: UPDATE +++++++++ Proxy's Request (Conditionalized) +++++++++ -- State Machine Id: 7950 GET /html/image1 HTTP/1.1 User-Agent: curl-996019351 Host: example.com Accept: */* Client-ip: 135.182.135.34 X-Forwarded-For: 135.182.135.34 Via: https/1.1 server1[87B68722] (ApacheTrafficServer/5.1.2) If-Modified-Since: Tue, 10 Feb 2015 23:43:37 GMT =A0 +++++++++ Proxy's Request (Conditionalized) +++++++++ -- State Machine Id: 7950 GET /html/image1 HTTP/1.1 User-Agent: curl-996019351 Host: example.com Accept: */* Client-ip: 135.182.135.34 X-Forwarded-For: 135.182.135.34 Via: https/1.1 server1[87B68722] (ApacheTrafficServer/5.1.2) If-Modified-Since: Tue, 10 Feb 2015 23:43:37 GMT If-None-Match: "42009d-13cb7350-50ec474b547a4" . . [Feb 12 15:30:39.798] Server {0x2b4f08d10700} DEBUG: (http) [7950] State Transition: SM_ACTION_API= _OS_DNS -> SM_ACTION_CACHE_ISSUE_WRITE [Feb 12 15:30:39.798] Server {0x2b4f08d10700} DEBUG: (http_cache_write) [7950] writing to cache with URL ht= tp://example.com/html/image1 [Feb 12 15:30:39.798] Server {0x2b4f08d10700} DEBUG: (cache_new) new 0x2aace805dfa0 [Feb 12 15:30:39.798] Server {0x2b4f08d10700} DEBUG: (cache_hosting) Generic volume: 10000b78d for host: example.com [Feb 12 15:30:39.798] Server {0x2b4f08d10700} DEBUG: (http_cache) [7950] [&HttpCacheSM::state_cache_open= _write, CACHE_EVENT_OPEN_WRITE_FAILED] [Feb 12 15:30:39.798] Server {0x2b4f08d10700} DEBUG: (http) [7950] [HttpSM::main_handler, CACHE_EVENT_OPEN_WRITE_FAILE= D] [Feb 12 15:30:39.798] Server {0x2b4f08d10700} DEBUG: (http) [7950] [&HttpSM:state_cache_open_write, CACHE_EV= ENT_OPEN_WRITE_FAILED] [Feb 12 15:30:39.798] Server {0x2b4f08d10700} DEBUG: (http_trans) Next action next; __null . . [Feb 12 15:30:39.799] Server {0x2b4efd51d700} DEBUG: (http_ss) [7747] session born, netvc 0x2aacdc058ad0 +++++++++ Proxy's Request after hooks +++++++++ -- State Machine Id: 7950 GET /html/image1 HTTP/1.1 User-Agent: curl-996019351 Host: example.com Accept: */* Client-ip: 135.182.135.34 X-Forwarded-For: 135.182.135.34 Via: https/1.1 server1[87B68722] (ApacheTrafficServer/5.1.2) =A0 [Feb 12 15:30:39.799] Server {0x2b4efd51d700} DEBUG: (http) [7950] [HttpSM::main_handler, VC_EVENT_WRITE_COMPLETE] [Feb 12 15:30:39.799] Server {0x2b4efd51d700} DEBUG: (http) [7950] [&HttpSM::state_send_server_req= uest_header, VC_EVENT_WRITE_COMPLETE] . .