Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer > One reason why ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 914 of 1040
Post > Topic >>

One reason why Sqlite hangs. (For your consideration.)

by SM Ryan <wyrmwif@[EMAIL PROTECTED] > Dec 28, 2006 at 12:07 PM

Posted so anyone else Googling "sqlite hang" can find this.

We sometimes get persistent Sqlite database busy errors with
no apparent cause (all processes killed, etc) and no help from
the do***entation. I found one cause:

We open the sqlite database, some/path, with different uids.
Blown transactions can leave a some/path-journal file which
is mode 600 to the opener uid only; other uids cannot read the
journal and clear out the deceased transaction.

I dewedged sqlite by deleting the journal file. I didn't think
of trying chmod a+rw until later, so I don't know if that will
also work with less risk of damage.

--
SM Ryan http://www.rawbw.com/~wyrmwif/
Leave it to the Catholics to destroy existence.
 




 3 Posts in Topic:
One reason why Sqlite hangs. (For your consideration.)
SM Ryan <wyrmwif@[EMAI  2006-12-28 12:07:31 
Re: One reason why Sqlite hangs. (For your consideration.)
Steven Fisher <sdfishe  2006-12-30 07:05:59 
Re: One reason why Sqlite hangs. (For your consideration.)
SM Ryan <wyrmwif@[EMAI  2006-12-30 09:20:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 1:15:28 CST 2008.