[Buildbot-devel] Database is locked exceptions in 0.8.5

Thomas Middeldorp thomas at ranzer.geek.nz
Fri Oct 7 00:13:24 UTC 2011


Well, we're just running 0.8.5 with the default sqlite options which I 
believe enables WAL - and I'm seeing this line in twistd.log when 
buildbot starts:

2011-10-05 12:43:26+1300 [-] setting database journal mode to 'wal'

So hopefully that confirms it's working.

Is there anything else I should check, or other configuration needed?

Thanks,
Thomas


On 6/10/2011 5:19 p.m., Dustin J. Mitchell wrote:
> On Wed, Oct 5, 2011 at 10:14 PM, Thomas Middeldorp
> <thomas at ranzer.geek.nz>  wrote:
>> I saw a note in the buildbot manual about adding serialize_access=1 to
>> the sqlite DB URL, but we tend to have a lot of builders running at once
>> so would prefer not to lose all concurrency if there is another possible
>> fix for this. Also, before trying to add that parameter is there any
>> useful information we can try to provide for a bug report?
> Can you confirm that the sqlite database is using WAL logging?
>
> http://www.sqlite.org/draft/wal.html
>
> Dustin





More information about the devel mailing list