Return-Path: X-Original-To: apmail-jmeter-dev-archive@minotaur.apache.org Delivered-To: apmail-jmeter-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 23AE410C46 for ; Tue, 2 Jul 2013 21:47:49 +0000 (UTC) Received: (qmail 9180 invoked by uid 500); 2 Jul 2013 21:47:49 -0000 Delivered-To: apmail-jmeter-dev-archive@jmeter.apache.org Received: (qmail 9162 invoked by uid 500); 2 Jul 2013 21:47:49 -0000 Mailing-List: contact dev-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jmeter.apache.org Delivered-To: mailing list dev@jmeter.apache.org Received: (qmail 9154 invoked by uid 99); 2 Jul 2013 21:47:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jul 2013 21:47:49 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of philippe.mouawad@gmail.com designates 209.85.223.175 as permitted sender) Received: from [209.85.223.175] (HELO mail-ie0-f175.google.com) (209.85.223.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jul 2013 21:47:43 +0000 Received: by mail-ie0-f175.google.com with SMTP id a13so12511580iee.6 for ; Tue, 02 Jul 2013 14:47:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qbr1q1/KJBOqEOVQn4PxjsDFmOf1dITHAek3MczAm0Y=; b=suhMk5Xau40IhuPEhA1H4A6Zej6DPg8+YKb4Ot6EA8ToX8D9EdMkewuykSH2pwB9Fn N9O9xlPK1YLjyt3mj/yv43ubwN1WOX6BouZMac839wjOoNSkDyZ4bfoQoIJ9eBvQF85/ vI/cAdyQKux9Vt0Tggry/JJBNoSw7eKp3KeyiXTravl/6b+Ub13W/kXHx+iXBU5O5wXW 3yST0Z++wXFpm6graN1HBm7IT9nqH4K82NtvDBUObgHGsa4J1xm7KKL587q3gLCinQNv wxP+sKbr9RBRiBFhl8Y8jqZVVKX+dRb6sho7XtLH+YDmdIIfx17MO1BbFcHNM8E48pxY Neug== MIME-Version: 1.0 X-Received: by 10.43.12.198 with SMTP id pj6mr466407icb.68.1372801642178; Tue, 02 Jul 2013 14:47:22 -0700 (PDT) Received: by 10.42.88.194 with HTTP; Tue, 2 Jul 2013 14:47:22 -0700 (PDT) In-Reply-To: References: <1371629068.93986.YahooMailNeo@web172204.mail.ir2.yahoo.com> <1371669014.91065.YahooMailNeo@web172202.mail.ir2.yahoo.com> <1371704370.82214.YahooMailNeo@web172206.mail.ir2.yahoo.com> <1371711492.55923.YahooMailNeo@web172202.mail.ir2.yahoo.com> Date: Tue, 2 Jul 2013 23:47:22 +0200 Message-ID: Subject: Re: AccessLogSampler & Bug 53748 From: Philippe Mouawad To: "dev@jmeter.apache.org" , Enric Jaen Content-Type: multipart/alternative; boundary=bcaec518701c3ab28104e08e4a3e X-Virus-Checked: Checked by ClamAV on apache.org --bcaec518701c3ab28104e08e4a3e Content-Type: text/plain; charset=ISO-8859-1 hello, I suppose it's lazy consensus so without -1 I will be comitting it by end of week Regards Philippe On Saturday, June 29, 2013, Philippe Mouawad wrote: > Hello, > Regarding this issue, I propose to commit it as is for now as it brings > interesting enhancements and it does not degrade the existing feature. > > We can improve it in the future. > > What's your opinion ? sebb, Milamber , Rainer ? > > Thanks > Regards > Philippe > > > On Thu, Jun 20, 2013 at 8:58 AM, Enric Jaen > > wrote: > >> However, http sessions must be considered, so a kind of preprocessing is >> still needed to know in advance when the thread can be closed. >> /Enric >> >> >> >> ________________________________ >> De: Enric Jaen > 'enricjaen@yahoo.es');>> >> Para: "dev@jmeter.apache.org > 'dev@jmeter.apache.org');>" > 'cvml', 'dev@jmeter.apache.org');>> >> Enviado: Jueves 20 de junio de 2013 6:59 >> Asunto: Re: Rv: AccessLogSampler & Bug 53748 >> >> >> >> >> I see. Right, I didn't realize of the file handler problem. So yes, an >> approach like the one you proposed is needed. An approach where and entity >> reads the log file an creates the threads at the corresponding log rate. >> >> >> >> ________________________________ >> De: sebb > 'sebbaz@gmail.com');>> >> Para: dev@jmeter.apache.org > 'dev@jmeter.apache.org');>; Enric Jaen >> > >> Enviado: Jueves 20 de junio de 2013 0:14 >> Asunto: Re: Rv: AccessLogSampler & Bug 53748 >> >> >> On 19 June 2013 20:10, Enric Jaen > 'cvml', 'enricjaen@yahoo.es');>> wrote: >> > >> > >> > (sorry if you receive this mail duplicated, I am having problems >> sending in this mailing list) >> > >> > Hello, >> > >> > >> > >> > I see some confusion. With respect the concern that the OS can run out >> of file handles, let me clarify that this sampler doesn't need a different >> file per thread: The generator reads the access log and creates one new >> access log file. This new file is ordered by IP, and each thread knows its >> correspoding OFFSET inside the file. >> > >> >> Sorry, I realise that "file handle" was ambiguous. >> >> I did not mean entries in the the file system table on disk or in >> memory, I meant the handle to the file used by Java. >> It will still use the same number of open file handles (e,g, >> FileInputStream plus supporting FD etc.) within the JVM. >> Though perhaps some resources can be shared by the JVM if all the >> files are the same, so it might be slightly cheaper than individual >> files. > > > > > -- > Cordialement. > Philippe Mouawad. > > > -- Cordialement. Philippe Mouawad. --bcaec518701c3ab28104e08e4a3e--