Message from discussion
error Lock expired
Received: by 10.236.177.4 with SMTP id c4mr18107340yhm.7.1326101419967;
Mon, 09 Jan 2012 01:30:19 -0800 (PST)
X-BeenThere: project-voldemort@googlegroups.com
Received: by 10.101.184.32 with SMTP id l32ls57549509anp.6.gmail; Mon, 09 Jan
2012 01:30:19 -0800 (PST)
Received: by 10.100.236.40 with SMTP id j40mr6070479anh.13.1326101419079;
Mon, 09 Jan 2012 01:30:19 -0800 (PST)
Received: by 10.100.236.40 with SMTP id j40mr6070478anh.13.1326101419065;
Mon, 09 Jan 2012 01:30:19 -0800 (PST)
Return-Path: <feinb...@gmail.com>
Received: from mail-iy0-f173.google.com (mail-iy0-f173.google.com [209.85.210.173])
by gmr-mx.google.com with ESMTPS id 30si45710947anz.1.2012.01.09.01.30.18
(version=TLSv1/SSLv3 cipher=OTHER);
Mon, 09 Jan 2012 01:30:19 -0800 (PST)
Received-SPF: pass (google.com: domain of feinb...@gmail.com designates 209.85.210.173 as permitted sender) client-ip=209.85.210.173;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of feinb...@gmail.com designates 209.85.210.173 as permitted sender) smtp.mail=feinb...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by iagj37 with SMTP id j37so7602770iag.18
for <project-voldemort@googlegroups.com>; Mon, 09 Jan 2012 01:30:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type:content-transfer-encoding;
bh=HOoYZPmlNuNx3Xc0E6BRNeY6yyjov/EE/ylwgJFnf0g=;
b=DE1ALDL+X/VrUP5Mf9dvgVx5Cw7CluBzj7RixPNy2o4hmLGcf54Yvu7ZhKfhtpkgiA
gTQpW77zA0ah3AFGxIyZyyRQ4cF9jiduu3BJePvRZsbcSKMibfOSbmdzWOmyrL0164Rd
lXcTXVvTMaPoxNlkApMYFsJHWHOx9Syn/Kvjg=
MIME-Version: 1.0
Received: by 10.42.131.136 with SMTP id z8mr15644764ics.5.1326101418297; Mon,
09 Jan 2012 01:30:18 -0800 (PST)
Received: by 10.231.101.69 with HTTP; Mon, 9 Jan 2012 01:30:18 -0800 (PST)
In-Reply-To: <CA+XHHHqe1Xm27oxOz67RHtViuy7siYDwWxFcHkwmqP+KORHJzQ@mail.gmail.com>
References: <361411325857...@web61.yandex.ru>
<CA+XHHHqe1Xm27oxOz67RHtViuy7siYDwWxFcHkwmqP+KORH...@mail.gmail.com>
Date: Mon, 9 Jan 2012 01:30:18 -0800
Message-ID: <CAKYjr2BtJvGYNdcs9D9ZtAaMQEpyc5xHH3nUqm7jXZobMOe...@mail.gmail.com>
Subject: Re: [project-voldemort] error Lock expired
From: Alex Feinberg <feinb...@gmail.com>
To: project-voldemort@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Some lock contention errors are normal.
It should be a number that is price, but less than the number of
threads that is accessing bdb at the same time.
Are you using the blocking I/O or the NIO connector?
- af
On Fri, Jan 6, 2012 at 9:26 AM, Greg Moulliet <gr...@conducivetech.com> wro=
te:
> You want to increase bdb.lock.nLockTables in server.properties.
> The default value is 1, which you can find in VoldemortConfig.
> Ours is set to 31. =A0I found a reference saying this should value in
> bdb should be a prime, though I'm not finding that page at the moment.
>
> On Fri, Jan 6, 2012 at 5:46 AM, Denis Zinevich <l...@ngc.net.ua> wrote:
>> Hi all,
>>
>> I'm constantly getting such errors:
>>
>> 13:42:54,277 ERROR BdbStorageEngine:323 - com.sleepycat.je.LockTimeoutEx=
ception: (JE 4.0.92) Lock expired. Locker 695683322 141326253_voldemort-ser=
ver-305_Txn: waited for lock on database=3Dserved-counts-data LockAddr:1911=
923530 node=3D142549379 type=3DWRITE grant=3DWAIT_NEW timeoutMillis=3D500 s=
tartTime=3D1325857373753 endTime=3D1325857374255
>> Owners: [<LockInfo locker=3D"1429195566 141326256_voldemort-server-106_T=
xn" type=3D"WRITE"/>]
>> Waiters: [<LockInfo locker=3D"1448618586 141326254_voldemort-server-230_=
Txn" type=3D"WRITE"/>]
>>
>> 13:42:54,277 ERROR BdbStorageEngine:323 - com.sleepycat.je.LockTimeoutEx=
ception: (JE 4.0.92) Lock expired. Locker 1255157229 141326252_voldemort-se=
rver-195_Txn: waited for lock on database=3Dserved-counts-data LockAddr:191=
1923530 node=3D142549379 type=3DWRITE grant=3DWAIT_NEW timeoutMillis=3D500 =
startTime=3D1325857373753 endTime=3D1325857374255
>> Owners: [<LockInfo locker=3D"1429195566 141326256_voldemort-server-106_T=
xn" type=3D"WRITE"/>]
>> Waiters: []
>>
>>
>> Does anyone have an idea how to diagnose/fix ?
>>
>> Thanks.
>>
>> --
>> Denis
>>
>> --
>> You received this message because you are subscribed to the Google Group=
s "project-voldemort" group.
>> To post to this group, send email to project-voldemort@googlegroups.com.
>> To unsubscribe from this group, send email to project-voldemort+unsubscr=
ibe@googlegroups.com.
>> For more options, visit this group at http://groups.google.com/group/pro=
ject-voldemort?hl=3Den.
>>
>
> --
> You received this message because you are subscribed to the Google Groups=
"project-voldemort" group.
> To post to this group, send email to project-voldemort@googlegroups.com.
> To unsubscribe from this group, send email to project-voldemort+unsubscri=
be@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/proj=
ect-voldemort?hl=3Den.
>