Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 17289 invoked from network); 24 Jul 2009 16:45:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jul 2009 16:45:25 -0000 Received: (qmail 25558 invoked by uid 500); 24 Jul 2009 16:46:29 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 25502 invoked by uid 500); 24 Jul 2009 16:46:29 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 25494 invoked by uid 99); 24 Jul 2009 16:46:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2009 16:46:29 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=FS_REPLICA,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.18.43.25] (HELO sca-ea-mail-2.sun.com) (192.18.43.25) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2009 16:46:17 +0000 Received: from dm-uk-02.uk.sun.com ([129.156.101.196]) by sca-ea-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n6OGjtcu006740 for ; Fri, 24 Jul 2009 16:45:55 GMT Received: from barman.uk.sun.com (barman.UK.Sun.COM [129.156.132.12]) by dm-uk-02.uk.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n6OGjtHT025056 for ; Fri, 24 Jul 2009 17:45:55 +0100 (BST) Received: from vpn-129-150-121-18.uk.sun.com ([129.150.121.18]) by barman.uk.sun.com with esmtp (Exim 4.42) id 1MUO2l-0001tm-3P for derby-user@db.apache.org; Fri, 24 Jul 2009 17:54:51 +0100 Message-ID: <4A69E542.3050804@sun.com> Date: Fri, 24 Jul 2009 17:45:54 +0100 From: Alan Burlison User-Agent: Thunderbird 2.0.0.21 (X11/20090608) MIME-Version: 1.0 To: Derby Discussion Subject: Re: Derby replication failed under heavy load References: <4A68D775.6020203@sun.com> <882C3355DFF9D3468379DD1E8C115FC73986BC3747@EVS-RED.coloflorida.com> In-Reply-To: <882C3355DFF9D3468379DD1E8C115FC73986BC3747@EVS-RED.coloflorida.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Andrew Lawrenson wrote: > I'm not sure if it's the exact same issue, but I have observed the > replication failing under heavy load where the replication buffers > would fill faster than the logs can be shipped to the slave (even > with fast servers & fast network). I've previously tweaked a copy of > derby to allow up to 100 buffers (rather than the current max of 10), > and optimized the various thresholds, but still observed over 80 > buffers being used under high load (this was with 10.4.2.0 on > Solaris). I think it is the same issue - I saw an errors in the master log that mentioned something about the buffers filling up. The thing that seems to trigger it is doing a number of whole-table deletes, presumably because while that's being processed on the slave the master is still chugging along writing more log records. What I don't understand is why the master isn't being throttled if the slave can't keep up. -- Alan Burlison --