I'm constantly getting such errors:
13:42:54,277 ERROR BdbStorageEngine:323 - com.sleepycat.je.LockTimeoutException: (JE 4.0.92) Lock expired. Locker 695683322 141326253_voldemort-server-305_Txn: waited for lock on database=served-counts-data LockAddr:1911923530 node=142549379 type=WRITE grant=WAIT_NEW timeoutMillis=500 startTime=1325857373753 endTime=1325857374255
Owners: [<LockInfo locker="1429195566 141326256_voldemort-server-106_Txn" type="WRITE"/>]
Waiters: [<LockInfo locker="1448618586 141326254_voldemort-server-230_Txn" type="WRITE"/>]
13:42:54,277 ERROR BdbStorageEngine:323 - com.sleepycat.je.LockTimeoutException: (JE 4.0.92) Lock expired. Locker 1255157229 141326252_voldemort-server-195_Txn: waited for lock on database=served-counts-data LockAddr:1911923530 node=142549379 type=WRITE grant=WAIT_NEW timeoutMillis=500 startTime=1325857373753 endTime=1325857374255
Owners: [<LockInfo locker="1429195566 141326256_voldemort-server-106_Txn" type="WRITE"/>]
Waiters: []
Does anyone have an idea how to diagnose/fix ?
Thanks.
--
Denis
> --
> You received this message because you are subscribed to the Google Groups "project-voldemort" group.
> To post to this group, send email to project-...@googlegroups.com.
> To unsubscribe from this group, send email to project-voldem...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/project-voldemort?hl=en.
>
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
Thanks for replies.
I can't get answer from developers for the moment about blocking vs NIO.
Is there any way to determine from sysadmin side what they have used ?
Regarding bdb.lock.nLockTables and other options:
Is there any manual about tuning ? Now we are using almost all default
values, I believe there should be some
rules how to calculate proper values depending on load and hw available.
Now i have
max.threads=700
bdb.lock.nLockTables=31 ( tried 5 and 19 )
bdb.cache.size=200M
bdb.write.transactions=false
bdb.flush.transactions=false
bdb.lock.read_uncommitted=false
Is it reasonable ? How should be balanced max.threads vs
bdb.lock.nLockTables ?
> Some lock contention errors are normal.
>
>
> 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> wrote:
>> 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. I found a reference saying this should value in
>> bdb should be a prime, though I'm not finding that page at the moment.
>>
>>
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:
> 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. I found a reference saying this should value in
> bdb should be a prime, though I'm not finding that page at the moment.
>
> To post to this group, send email to project-voldemort@googlegroups.com.
> To unsubscribe from this group, send email to
> project-voldemort+unsubscribe@googlegroups.com.