[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5844) bdb backend hangs



Am Mittwoch, 3. Dezember 2008 02:39:58 schrieb Quanah Gibson-Mount:
> What version of BDB?

db-4.7.25

I ran 'make test' under strace, here's what I got. Seems to be some kind of deadlock.

[pid 14035] pwrite(6, "\261\244\0\0O\20\0\0003\237E\251\221\0\0\0\10\0\0\200\1"..., 8453, 42224) = 8453
[pid 14035] fdatasync(6)                = 0
[pid 14035] rename("/home/thomas/build/openldap-2.4.13/tests/testrun/db.1.a/__db.80000007.336a56f4", "/home/thomas/build/openldap-2.4.13/tests/testrun/db.1.a/objectClass.bdb") = 0
[pid 14035] stat("/home/thomas/build/openldap-2.4.13/tests/testrun/db.1.a/objectClass.bdb", {st_mode=S_IFREG|0600, st_size=8192, ...}) = 0
[pid 14035] open("/home/thomas/build/openldap-2.4.13/tests/testrun/db.1.a/objectClass.bdb", O_RDWR|O_CREAT, 0) = 10
[pid 14035] fcntl(10, F_GETFD)          = 0
[pid 14035] fcntl(10, F_SETFD, FD_CLOEXEC) = 0
[pid 14035] fstat(10, {st_mode=S_IFREG|0600, st_size=8192, ...}) = 0
[pid 14035] pread(10, "\0\0\0\0\1\0\0\0\0\0\0\0b1\5\0\t\0\0\0\0\20\0\0\0\t\0\0"..., 4096, 0) = 4096
[pid 14035] pwrite(6, "\216\305\0\0(\0\0\0\311\30\225\0\f\0\0\0\7\0\0\200\0\0"..., 176, 50677) = 176
[pid 14035] fdatasync(6)                = 0
[pid 14035] pread(10, "\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\1\5\0"..., 4096, 4096) = 4096
[pid 14035] pwrite(6, "y\306\0\0D\0\0\0\0028\257o)\0\0\0\6\0\0\200\1\0\0\0i\244"..., 1682, 50853) = 1682
[pid 14035] fdatasync(6)                = 0
[pid 14035] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0
[pid 14035] pwrite(6, "\v\315\0\0]\0\0\0F\205\277r)\0\0\0\t\0\0\200\0\0\0\0\0"..., 1633, 52535) = 1633
[pid 14035] fdatasync(6)                = 0
[pid 14035] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0
[pid 14035] pwrite(6, "l\323\0\0]\0\0\0\222\264S5)\0\0\0\n\0\0\200\0\0\0\0\0\0"..., 1404, 54168) = 1404
[pid 14035] fdatasync(6)                = 0
[pid 14035] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0
[pid 14035] sched_yield()               = 0
[pid 14035] futex(0x2aaf71fe7924, FUTEX_WAIT, 1, NULL
*** hangs ***

tk