Open GoogleCodeExporter opened 9 years ago
We are also seeing several users hit this:
Thread 30 (Thread 0x7fcebf8a3700 (LWP 6035)):
#0 0x00007fcec3e09d84 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00000000006efffd in leveldb::port::CondVar::Wait() ()
#2 0x00000000006d9a98 in leveldb::DBImpl::TEST_CompactMemTable() ()
#3 0x00000000006d9b3c in leveldb::DBImpl::CompactRange(leveldb::Slice const*,
leveldb::Slice const*) ()
#4 0x0000000000490f41 in compact_prefix (prefix=..., this=<optimized out>) at
./os/LevelDBStore.h:49
Original comment by sagew...@gmail.com
on 2 May 2013 at 10:56
i have two backtraces of the hang(s) which both show the background thread is
not running...
http://pastebin.com/raw.php?i=uii6XxBJ
http://tracker.ceph.com/attachments/download/814/bt.txt
Original comment by sagew...@gmail.com
on 2 May 2013 at 11:12
mystery solved: leveldb is keeping a static pointer for the posix environment
(bad shared library etiquette!!) and we were using the db both before and after
a fork(). there was no way to create a new PosixEnv either, so we kludged
around it by reordering our forking.
Original comment by s...@inktank.com
on 3 May 2013 at 7:28
Original issue reported on code.google.com by
uKer...@gmail.com
on 2 May 2013 at 3:04