You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Dag H. Wanvik" <Da...@Sun.COM> on 2009/01/05 14:58:49 UTC
Re: Question on resolved issue DERBY-2861...are the lock timeouts
expected
Jeff Clary <jc...@actuate.com> writes:
> However, now when I run my test with 100 threads I am still seeing an
> "ERROR 40XL1: A lock could not be obtained within the time requested."
> See the stack trace below. In the comments to DERBY-2861, I see that
> others sometimes get a similar result.
You are using the same test as attached to the issue DERBY-2861? It
may not be an error, if many threads are competing for locks to
dictionary to compile some could end up waiting too long; what is your
lock waitTimeout? You could try to tweak it to see if it changes
things.
http://db.apache.org/derby/docs/10.4/tuning/rtunproper46141.html#rtunproper46141
Dag