Bug #1102
closed
Sqlite hangs on fsync on Hammer partition
Added by mneumann over 16 years ago.
Updated about 16 years ago.
Description
Hi,
I've a little program that uses the Sqlite database. After it calls
seven times fsync (sometimes only twice), the whole process blocks. The
process cannot be killed (-9) anymore, and when I change into the
directory where I executed the program and do a "ls", I'm blocked as
well.
When I execute the same program on a UFS partition, it doesn't hang. So
it seems to be a Hammer-related issue.
According to ktrace/kdump, it hangs on fsync.
I'm now creating a core-dump and uploading it.
Regards,
Michael
On Fri, 01 Aug 2008 23:08:38 +0200
Michael Neumann <mneumann@ntecs.de> wrote:
That's kinda the same error I get with mtn (it also uses SQLite). Any
firefox3 hangs?
firefox uses sqlite internally, and firefox 3 moved more things into sqlite.
Kyle
Indeed, I get some rare firefox3 hangs. But it's not something easily
reproducable (it takes a few hours).
Regards,
Michael
Michael, that vmcore.4 on leaf is not a patched kernel. I disassembled
one of the routines that was patched and it didn't have the extra flag
I had added.
In anycase, I am MFCing all the HAMMER work to 2.0 today.
-Matt
Matthew Dillon
<dillon@backplane.com>
: Michael, that vmcore.4 on leaf is not a patched kernel. I disassembled
: one of the routines that was patched and it didn't have the extra flag
: I had added.
:
: In anycase, I am MFCing all the HAMMER work to 2.0 today.
Wait, I take it back. I was looking at the wrong bit of code.
It does have the patch.
Ok, I'm looking at the core!
-Matt
Matthew Dillon
<dillon@backplane.com>
On Sat, 2 Aug 2008 08:19:18 -0700 (PDT)
Matthew Dillon <dillon@apollo.backplane.com> wrote:
It does not help here. However, I'm able to create dumps again (thanks
to you), so I'll make a dump available soon.
On Sat, 2 Aug 2008 10:27:04 -0700 (PDT)
Matthew Dillon <dillon@apollo.backplane.com> wrote:
OK, it seems to work now, at least I could not make it hang with the
above command, even though I am creating hundreds of databases
sequentially. I have even tried in two separate volumes.
Thanks for the fix!
Also available in: Atom
PDF